Skip to content

Let a test command raise its watchdog idle threshold - #442

Open
Maximo-Guk wants to merge 1 commit into
mainfrom
maximo/test-idle-timeout-override
Open

Let a test command raise its watchdog idle threshold#442
Maximo-Guk wants to merge 1 commit into
mainfrom
maximo/test-idle-timeout-override

Conversation

@Maximo-Guk

@Maximo-Guk Maximo-Guk commented Sep 4, 2026

Copy link
Copy Markdown
Member

gadgets-with-timeout --idle 60 has been observed reaping workshop-backend's unit suite under CI contention. Import dominates that suite's runtime and vitest's non-TTY reporter only prints on file completion

This PR widens the command the task builders take to TestCommand (string | { command, idleSeconds }), so one command can raise its own idle threshold.

`gadgets-with-timeout --idle 60` reaps `workshop-backend`'s unit suite
under CI contention. Import dominates that suite's runtime and vitest's
non-TTY reporter only prints on file completion, so a healthy run goes
quiet for long stretches -- no hang, just no output.

Widen the command the task builders take to `TestCommand`, so one
command can raise its own idle threshold without bumping the default
for the other ~25 suites (which would also bust every package's vp
cache). `withTestTimeout` stays unary, since
`vitestTaskWithExclusions` hands it to `Array.prototype.map`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the kernel Changes to the Workshop kernel label Sep 4, 2026
@ask-bonk

ask-bonk Bot commented Sep 4, 2026

Copy link
Copy Markdown

LGTM!

github run

@Maximo-Guk
Maximo-Guk marked this pull request as ready for review September 4, 2026 03:15

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Preview: pr442-maximo-test-i-76e4cd63

https://pr442-maximo-test-i-76e4cd63-router.cloudflare-os-previews.workers.dev

Dashboard · deleted when this PR closes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Changes to the Workshop kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant