Repository navigation
perf(verify): scaffold the module once per run with context.prepared - #34
Merged
Merged
Conversation
Upd4ting
force-pushed
the
build/tooling-configs-0.3.5
branch
from
November 7, 2026 16:07
294bbf7 to
6338de3
Compare
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.
Why
Goal: make the CI and the verify-template for this template as fast as is reasonable, without losing a check. Done means every fix is measured and in its own PR against main with before and after numbers, the checks are green, and the review gate has passed.
Every journey scaffolded the module on its own. Each one ran
ajs module initwith its install, thenpnpm install. tooling-configs 0.3.5 addscontext.prepared. It builds a folder once per run and gives each journey its own copy. This PR takes 0.3.5 and usescontext.preparedfor that scaffold.What changed
@antelopejs/tooling-configsgoes from^0.3.4to^0.3.5, andantelopejs-syncrewrote the syncedSKILL.md.scaffolded()inverify.config.tsnow wraps the offline manifest step,ajs module initandpnpm installincontext.prepared("my-module", ...). Every journey gets a fresh copy of the installed module.Scope
scaffold-shapeandscaffold-docsnow read a module thatpnpm installhas also run in. They check only files and scripts, so the extra install makes no difference to them.Blast Radius
Only agents that verify this template are affected. If the first journey's build fails its checks, the run does not keep it, and the next journey builds again.
Verification
new --allwith every feature), 5 interleaved rounds per side. Median CPU (user plus sys) went from 136.9 s on main (0.3.3) to 88.2 s, a 36% drop. With 0.3.5 and sync only it was 127.1 s. Median wall time went from 91.5 s to 61.9 s, and the ranges do not overlap. Every run passed.pnpm run checkspasses 8 of 8, andmappasses.