Repository navigation
Report native plugin child progress when its integration test fails - #7204
Merged
Merged
Conversation
This was referenced Nov 17, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The Windows native-plugin external-resolution case intermittently exceeds its existing 15-second Vitest deadline. The real Node child imports a large service graph, but the parent only reads its result after exit, so the timeout currently tells us nothing about which phase stalled. Controlled probes have not reproduced the natural failure; this change gathers evidence rather than claiming to fix it.
What changed
Test-only failure diagnostics for that case: collect timestamped child progress after imports, database creation, service creation, reload, and shutdown. On failure, print the captured progress with elapsed time, PID, and exit state. Successful tests stay quiet. Native imports, real SQLite, all assertions, the 15-second test deadline, and the 2-second plugin-load budget remain unchanged. No production changes.
How you verified
All three native-plugin cases pass locally through Turbo; server typecheck and focused lint pass.
Temporary 20-second pre-import stall still fails at 15 seconds and reports an active child with no phase markers.
Temporary 20-second post-reload stall still fails at 15 seconds and reports imports/database/service/reload complete, with no shutdown marker. Both injected stalls were restored byte-for-byte.
Focused Windows validation: https://github.com/get-bb/bb/actions/runs/42308550152 .
Normal final-head CI is green at
9cb76edee0. The Windows server shard freshly executed all three native cases (file 9.82s); all selected Linux and Windows checks passed.