Repository navigation
chore(ci): run the PR gate through pnpm pipeline task cache - #255
Merged
Merged
Conversation
Contributor
🤖 MERGED
GitHub merged this pull request.
182330b4-13c1-4d02-a9d7-e71ee65b7675 |
Collaborator
Author
|
Checked by hand, since CI cannot show it (the pool has no cache volume until the new supervisor is installed):
First CI run caught the artifact-signer suite failing for want of root |
24 suites import scripts/ or checks/, so a scripts-only push replayed a stale green test result. vue-tsc does not reach scripts/ today, but the generated tsconfig that decides its reach can drift, so typecheck hashes the same trees.
Collaborator
Author
|
Checked by hand for the review findings, since CI cannot show either:
|
harlan-nuxt#159 merged as 75ff091, so the reusable gate carries task-cache mode on main. The feature-branch pin was temporary, to prove the gate change end to end before it landed.
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.
🔗 Linked issue
❓ Type of change
📚 Description
Every push of a PR re-runs lint, typecheck, and test in a fresh container, even when a push touches one markdown file. The pool is getting a shared cache volume (hogwild-gh-runner#10) and
pnpm pipelinecan use it: an unchanged task restores its outputs and replays its log instead of re-running.The gate now runs with
task-cache: true. harlan-nuxt#159 merged as75ff091, so the pin is back on@main; the feature-branch pin existed only to prove this gate change end to end before it landed. The graph lives in pnpm-workspace.yaml:dev:preparedeclares.nuxt/**outputs with config-only inputs, so the 30-90s Nuxt prepare restores on every push that does not move the app tree, and vitest keeps its.nuxt/tsconfig.jsonwithout the oldprepare-commandstep.pnpm moves to 12.4.2, the first line that accepts task settings. The lockfile gains the pnpm self-dependency block and nothing else moves. Lint task carries no
inputson purpose:eslint .reads the whole repository, so narrowing its key would replay a pass over files lint never saw.Ran the
testpipeline locally before pushing: 272 files, 1947 tests passed cold, then the second run restoreddev:prepareandtestfrom cache and replayed. The cache hits only start counting once the new supervisor is installed on Hogwild and the desktop; until then this runs as a normal cold gate.