Skip to content

Live-check: correctly handle --no-stats in report mode.#1142

Merged
jsuereth merged 2 commits intoopen-telemetry:mainfrom
jerbly:fix-no-stats-report-mode
Jan 20, 2026
Merged

Live-check: correctly handle --no-stats in report mode.#1142
jsuereth merged 2 commits intoopen-telemetry:mainfrom
jerbly:fix-no-stats-report-mode

Conversation

@jerbly
Copy link
Contributor

@jerbly jerbly commented Jan 19, 2026

Fix #1133 - this was not any kind of race hazard or anything specifically to do with json output. I had not correctly handled the combination of --no-stats when running in report mode (when the output is collected and reported at the end, typically to a file).

@jerbly jerbly requested a review from a team as a code owner January 19, 2026 02:39
@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.2%. Comparing base (e3cd8ae) to head (92bc4a4).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1142     +/-   ##
=======================================
- Coverage   80.3%   80.2%   -0.1%     
=======================================
  Files        106     106             
  Lines       8175    8175             
=======================================
- Hits        6566    6563      -3     
- Misses      1609    1612      +3     

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, works for me. Can this be easily tested?

@jerbly
Copy link
Contributor Author

jerbly commented Jan 20, 2026

Thanks, works for me. Can this be easily tested?

I'm reworking part of the test suite for #1132 - just wanted to get this PR out if we do a release before that new feature is ready.

@jsuereth jsuereth merged commit a82a6a1 into open-telemetry:main Jan 20, 2026
23 checks passed
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.

live check: json output is racy

3 participants