Skip to content

Conversation

MadLittleMods
Copy link
Contributor

@MadLittleMods MadLittleMods commented Oct 1, 2025

Fix tracing scope being lost after it closes in our custom LogContextScopeManager

This test is originally from #18849 spawning from #18804 (comment)

Todo

  • Remove asdf debug logs
  • Figure out how best to clear the logcontext after the span is finished. Do we even care about that?

Pull Request Checklist

  • Pull request is based on the develop branch
  • Pull request includes a changelog file. The entry should:
    • Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from EventStore to EventWorkerStore.".
    • Use markdown where necessary, mostly for code blocks.
    • End with either a period (.) or an exclamation mark (!).
    • Start with a capital letter.
    • Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry.
  • Code style is correct (run the linters)

@MadLittleMods MadLittleMods changed the title Fix tracing scope being lost after it closes Fix tracing scope being lost after it closes (LogContextScopeManager) Oct 1, 2025
@MadLittleMods MadLittleMods added the A-Tracing OpenTracing (maybe OpenTelemetry in the future) label Oct 2, 2025
Base automatically changed from madlittlemods/revert-opentracing-context-vars-scope-manager to develop October 2, 2025 16:27
…_available`

This test is still expected to fail with our current `LogContextScopeManager`
implementation but there were some flaws in how we were handling
the logcontext before (like pumping the reactor in a non-sentinel logcontext)

This test is originally from
#18849
spawning from #18804 (comment)
@MadLittleMods MadLittleMods force-pushed the madlittlemods/log-context-tracing-scope-still-available-after-close branch from 658ca51 to 4e06a50 Compare October 2, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Tracing OpenTracing (maybe OpenTelemetry in the future)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant