Skip to content

fix: Prevent spans being swallowed by infinite startup span#1246

Open
DiamondJoseph wants to merge 3 commits into
mainfrom
prevent-infinte-trace
Open

fix: Prevent spans being swallowed by infinite startup span#1246
DiamondJoseph wants to merge 3 commits into
mainfrom
prevent-infinte-trace

Conversation

@DiamondJoseph

Copy link
Copy Markdown
Contributor

Fixes #1243

Removes the spans for two methods that start either start subprocesses or loop infinitely, meaning the methods that they call can be displayed as unique traces rather than being swallowed into a single trace.

@DiamondJoseph DiamondJoseph requested a review from a team as a code owner October 20, 2025 16:36
@codecov

codecov Bot commented Oct 20, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.71%. Comparing base (707abfb) to head (3eeb231).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1246      +/-   ##
==========================================
- Coverage   95.71%   95.71%   -0.01%     
==========================================
  Files          43       43              
  Lines        3224     3221       -3     
==========================================
- Hits         3086     3083       -3     
  Misses        138      138              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw tpoliaw force-pushed the prevent-infinte-trace branch from ddd3d5f to e40f61d Compare June 24, 2026 13:14
@DiamondJoseph

Copy link
Copy Markdown
Contributor Author

Note: from deploying this to a test environment it did not previously work to stop the span being constantly appended to @tpoliaw

@tpoliaw tpoliaw requested a review from abbiemery June 24, 2026 13:37
@tpoliaw

tpoliaw commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Any idea why not and/or how to set up a dev environment to test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trace for Health monitoring is captured inside startup trace, meaning the former is not exposed and the latter is infinitely long

3 participants