Skip to content

lloydmeta/quarkus-mdc-bug

Repository files navigation

quarkus-mdc-bug

Build and Test

Repro for new MDC (?) behaviour under 3.30.5

  • Bonus: Removing WithSpan in SleepAuthMechanism#authenticate will also make the test pass.

Repro

  1. Clone this repo
  2. Run ./gradlew test 💥
  3. Update gradle.properties to have quarkusPlatformVersion=3.30.4 instead
  4. Run ./gradlew test again to see it pass 🎉

Bug

MDC data set in Request filters are lost after @WithSpan-annotated methods (e.g. normal methods and/or on HttpAuthenticationMechanism(s)) are run

Expected behaviour

MDC data set in Request filters are retained after @WithSpan-annotated methods (e.g. normal methods and/or on HttpAuthenticationMechanism(s)) are run.

Affected versions

Quarkus 3.30.5

Works under

Quarkus =< 3.30.4

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages