Skip to content

Fix telemetry lifecycle and stability issues#176

Merged
andrewh merged 1 commit into
mainfrom
codex/fix-telemetry-lifecycle-stability
Jun 13, 2026
Merged

Fix telemetry lifecycle and stability issues#176
andrewh merged 1 commit into
mainfrom
codex/fix-telemetry-lifecycle-stability

Conversation

@andrewh

@andrewh andrewh commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rework pprof startup to bind before launching the server, surface listener errors, and shut the server down on exit.
  • Validate tracer providers up front and add a defensive no-op tracer fallback for unexpected service names.
  • Make zero-rate waits context-aware while preserving realtime stats merging before finalization.
  • Stabilize the metric time-offset end-to-end test with deterministic manual collection.
  • Harden the dgg2motel corpus test script cleanup and per-run exit-code handling.

Impact

This removes lifecycle and stability edge cases in trace generation, realtime shutdown, metric testing, and corpus replay tooling. Failures that previously could panic or surface late now return clearer errors.

Validation

  • make test
  • make lint
  • make build

@andrewh
andrewh merged commit dac3239 into main Jun 13, 2026
2 checks passed
@andrewh
andrewh deleted the codex/fix-telemetry-lifecycle-stability branch June 13, 2026 10:24
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.

1 participant