Repository navigation
test(mcpx): give bin-args plugin tests a 30s spawn timeout (#17221 slice 1) - #17229
Merged
developing-today-fleet[bot] merged 1 commit intoNov 30, 2026
Merged
Conversation
The nightly stress run 46433738642 failed on macos-latest: TestPluginBinArgsPrependsTheConfiguredArgumentsFromTheEnvironment — the first bun case (unset) timed out at bun's 5s default (5000.01ms) while its siblings completed in ~5ms. Every case spawns the real executable through runBin; the first spawn pays the cold start, which the 5s default does not cover under the stress suite's parallel load. Apply the ops.test.ts remedy: explicit 30_000 timeout on all four cases.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
xaltha/0900n-17221-binargs-timeout
branch
November 30, 2026 15:09
This was referenced Nov 30, 2026
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
All four cases spawn the real configured executable through runBin and carried no explicit timeout, so each was bounded by bun's 5s default — the same exposure that timed out bin-args.test.ts's first case at 5000.01ms under nightly stress load (#17221, fixed there by PR #17229). Mirror that remedy here: 30_000 on every case (the plugin/core/ops.test.ts precedent) with the reason recorded at the describe. Closes #17230
This was referenced Nov 30, 2026
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.
What
Slice 1 of #17221 (the bin-args leg): give all four cases in
pkgs/mcpx/plugin/opencode/v2/bin-args.test.tsan explicit30_000timeout, following the existingplugin/core/ops.test.tsprecedent, with the reason recorded in a comment at thedescribe.Root cause
Nightly stress run 46433738642 (macos-latest) failed
TestPluginBinArgsPrependsTheConfiguredArgumentsFromTheEnvironment: the first bun case ("unset") timed out at exactly 5000.01ms — bun's default test timeout — while its siblings completed in 3–6ms. Every case spawns the real executable throughrunBin; the first spawn in the file pays the cold start, which the 5s default does not cover under the stress suite's parallel load.Verification
Remote dispatch on this branch's head (fleet run 46445335912, succeeded):
bun test plugin/opencode/v2/bin-args.test.ts— 4 pass, run twice.go test ./internal/e2e/ -run TestPluginBinArgsPrependsTheConfiguredArgumentsFromTheEnvironment -count=3 -race— PASS ×3.Scope
Refs #17221 — the issue stays open: its other two flakes are filed separately as #17226 (era probe/restart race) and #17227 (replay transport deadline hang).
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T15:09:30Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "4f844671e00e490b2263ad8a52eaebe03a623cdb" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.