Repository navigation
fix(scripts): PR gate and merge run without installed dependencies - #630
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
34b0d5f to
dd78c22
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
dd78c22 to
6f6c353
Compare
|
@codex review |
6f6c353 to
7c2618a
Compare
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
7c2618a to
9e74808
Compare
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
9e74808 to
50a3916
Compare
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
50a3916 to
26b2d3e
Compare
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
26b2d3e to
9123064
Compare
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
lastcode:pr-gates and lastcode:merge imported effect and @t3tools/contracts through shared helpers, so every gate check and merge needed a checkout with node_modules (3.2 GB), and pnpm installed them before running the script. Move the Git helpers the merge uses into the dependency-free scripts/lib/lastcode-git.ts, split the PR-watch quiet-minute constants into an import-free contracts module, and validate the setting without Schema. The CLI tests now run both scripts under a hook that rejects any installed-dependency import. Agent docs, skills and the checkpoint recovery prompt run both commands with --config.verify-deps-before-run=false so pnpm skips its pre-run install. Carry-Group: incubator Carry-Observation: Tooling conflicts at its replay position; the PR-watch settings, carry CI and agent docs it edits come from later incubator PRs. Co-Authored-By: Claude <[email protected]>
Carry-Group: incubator Co-Authored-By: Claude <[email protected]>
|
@codex review |
9123064 to
6f3a629
Compare
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Follow-ups from this PR's final report:
|
pnpm lastcode:pr-gatesandpnpm lastcode:mergeloadedeffectand@t3tools/contractsthrough shared helpers. Plainnodefailed withERR_MODULE_NOT_FOUND, and pnpm 12 installsnode_modules(3.2 GB) before any script. So every gate check and merge needed a full dependency install, even for a docs-only PR.Fix
runGit,assertCleanWorktree,cleanGitEnvironment, the Node version guard, …) move fromlastcode-local-ci.tsandlastcode-nightly.tsinto the dependency-freescripts/lib/lastcode-git.ts. Both old modules re-export them, so their callers don't change.pnpm --config.verify-deps-before-run=false lastcode:…. The flag skips pnpm's pre-run install and keeps the mise Node pin. A repo-wideverifyDepsBeforeRunchange was rejected because otherpnpm lastcode:*host scripts may rely on the auto-install.scripts/tsconfig.jsonandapps/desktop/tsconfig.jsonlist the new contracts module next to the settings file they already named.--checkpointmerges still start the checkpoint service, which needs dependencies; thelastcode-prskill now says so.Proof
node_modules, both scripts failed withERR_MODULE_NOT_FOUNDbefore the change. After it,node scripts/lastcode-pr-gates.ts --pr 613reads GitHub and reports, and bothpnpm --config.verify-deps-before-run=falsecommands run without installing anything.Imports an installed dependency: effect/Schema/@t3tools/contracts/settings.Local review: 3 rounds with gpt-6.1-terra (xhigh), approved.
🤖 Generated with Claude Code (Opus 5.5, T3 Code)