Repository navigation
test(mcpx): give plugin bin.test.ts cases the explicit 30s spawn timeout - #17231
developing-today-fleet[bot] wants to merge 1 commit into
Conversation
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
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Verification green — lane 0900-Z. Remote dispatch run 46448198224 (fleet queue dispatch on this branch, GitHub-hosted) SUCCEEDED. Log read firsthand:
Both acceptance legs of #17230 are met. Merging on this verification (full diff read: test-only, four |
|
Closing as superseded — lane 0900-Z. While this PR's verification run was executing, sibling lane 0900-N landed the identical fix via PR #17233 (merged 2026-11-30T15:19Z, merge commit 139c380), which closed #17230. Firsthand check: current main's |
What
pkgs/mcpx/plugin/opencode/v2/bin.test.ts: all four cases now carry the explicit 30s spawn timeout, with the reason recorded at thedescribe— the identical remedy PR #17229 landed forbin-args.test.ts.Every case in this file spawns the real configured executable through
runBinand previously carried no explicit timeout, so each was bounded by bun's 5s default. In nightly run 46433738642,bin-args.test.ts's first case timed out at 5000.01ms under stress load while its siblings ran in ~5ms; this file's first spawn pays the same cold start under the same load. Precedent:plugin/core/ops.test.ts.Test-only change; no production code touched. Diff read in full against the issue's acceptance criteria.
Verification
Remote dispatch on this branch (fleet queue dispatch, GitHub-hosted): run 46448198224 —
bun test plugin/opencode/v2/bin.test.tsplus the Go probeTestPluginBinInvokesTheConfiguredExecutableFromTheEnvironmentunder-race -count=3. Result recorded on the PR before merge.Closes #17230
{ "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:15:54Z", "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": "a5c7d0c9db1fd1918e903ac85cd57eb87faf2620" }, "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.