Skip to content

cleanup: remove TEMP stderr diagnostics from rc3-rc5#81

Merged
Alezander9 merged 1 commit into
mainfrom
alex/v4-cleanup-diagnostics
May 17, 2026
Merged

cleanup: remove TEMP stderr diagnostics from rc3-rc5#81
Alezander9 merged 1 commit into
mainfrom
alex/v4-cleanup-diagnostics

Conversation

@Alezander9
Copy link
Copy Markdown
Member

@Alezander9 Alezander9 commented May 17, 2026

Remove the temp [bcode]/[bcode-laminar] stderr lines that helped localize the headless V4 shutdown hook bugs. The actual fixes stay: async shutdown hook, pendingFlushes tracking, drop of sdk.shutdown bus race, drop of broken trace.getTracerProvider().forceFlush fallback.Verified rc6 on V4 staging: turn span lands, all child spans correctly parented. Trace shapes attached in EXCEPTIONS.md update.Net diff: -76 lines.


Summary by cubic

Removed temporary stderr diagnostics from bcode-laminar and the opencode shutdown path, keeping the real fixes (async shutdown hook with pending flush tracking, removal of the sdk.shutdown race, and dropping the broken trace.getTracerProvider().forceFlush fallback). This cleans up logs without changing behavior; OTel draining remains intact and verified on rc6 staging.

Written for commit 99bcd24. Summary will update on new commits. Review in cubic

Remove the [bcode]/[bcode-laminar] stderr lines that helped localize the headless V4 shutdown hook bugs. The actual fixes (async shutdown hook, pending-flush tracking, drop of sdk.shutdown bus race, drop of broken trace.getTracerProvider().forceFlush fallback) stay.

Verified rc6 on V4 staging: trace b2837d1e-... has the bcode-laminar turn span landed with all session.llm/ai.streamText.doStream/bash spans correctly parented. Multi-turn trace 4f53f62c-... (10 LLM rounds) also clean. Only remaining orphan is the v4.run cloud-control-plane span (separate known bug -- CP emits to wrong Laminar project).
@Alezander9 Alezander9 merged commit 24558c3 into main May 17, 2026
@Alezander9 Alezander9 deleted the alex/v4-cleanup-diagnostics branch May 17, 2026 18:49
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