Repository navigation
[action-failure-repair] Raise timeout for extracted markdown sample typecheck test - #978
Draft
github-actions[bot] wants to merge 1 commit into
Draft
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
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.
Failed run
push, attempt 1, headf541997e121c4cf19489ffd686dc5c6022ce782e, 2026-11-27T15:18:49Z)build-test→ "Typecheck extracted markdown rig samples" (npm run sample -- --testNamePattern="skill markdown samples typecheck")main, so the failure is not superseded.Diagnosis
The test runs
npx tscover ~666 extracted samples but relies on vitest's default 5s test timeout. As the sample catalog grows, runtime sits right at the limit (4.1s → >5s), so it fails on a slower runner. Nothing in the source is wrong; the test's time budget is too tight.Change
scripts/run-sample.test.ts: give that single test an explicit 120s timeout (TYPECHECK_TIMEOUT_MS, matching the 120s convention inscripts/haiku.integration.test.ts). No assertions, samples, or CI steps changed.Prior repair feedback
Recent repair PRs #935 and #938 (both merged) were unrelated (lint, model name); nothing rejected to avoid repeating.
Validation
npm cifailed in the checkout (self-signed certificate against the repo-configured registry), so validation ran in a scratch copy of HEAD with this change, installed without the repo.npmrc/lockfile (dependency versions may differ slightly from the lockfile):npm run sample -- --testNamePattern="skill markdown samples typecheck"→ pass (3.0s)npm run typecheck→ passnpm run lint→ passnpm run sample:check→ pass (724 samples)npm testnot run (change only touches the sample test file; npm test coverssrc/only).The 5s failure itself could not be reproduced locally (runs in ~3s here), consistent with a runner-speed flake near the limit. No
.lock.ymlfiles touched; no maintainer action needed.