Skip to content

Report native plugin child progress when its integration test fails - #7204

Merged
ymichael merged 6 commits into
mainfrom
ci/nov6-native-import-reuse
Nov 6, 2026
Merged

ymichael merged 6 commits into
mainfrom
ci/nov6-native-import-reuse

Conversation

@ymichael

@ymichael ymichael commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

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.

AGENT GENERATED

@ymichael
ymichael merged commit 80d030f into main Nov 6, 2026
29 checks passed
@ymichael
ymichael deleted the ci/nov6-native-import-reuse branch November 6, 2026 23:10
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