Repository navigation
fix(tooling): follow the project's Node runtime - #708
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. |
|
@codex review |
|
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". |
a873c0e to
556f06d
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 556f06df79
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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 |
|
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". |
5981f9a to
ffa4028
Compare
Move package commands, installed launchers, CI, and setup examples to Node 26.12.1. Package builds resolve the selected tag's own CI runtime so existing installables remain buildable. Keep the pilot rejection assertion and isolate the merge-lock hook fixture from global Git settings. Carry-Group: build-ci Carry-Fix: #665 Carry-Upstream: https://redirect.github.com/pingdotgg/t3code/pull/23165 Carry-Observation: Runtime setup follows upstream Node alignment commit ed9b7ca; historical package tags retain their own CI runtime.
Keep Action reconciliation fixtures aligned with the downstream runtime declarations. Carry-Group: resumable-actions Carry-Fix: #665
Accept root engines.node exactly alongside temporary Node ^24.13.1 support, and align setup and Action declarations with Node 26.12.1. Carry-Group: incubator Carry-Fix: #665 Carry-Observation: These runtime and setup edits depend on definitions currently introduced or reconciled by the Incubator group, so they must replay after it. Independent packaging and CI edits remain in Build & CI, and Action reconciliation fixtures remain in Resumable Actions.
After dependency preparation, execute the target checkout's own lastcode:ci command with the requested mode. This preserves its Node pin when a shared Action targets an older checkout whose runtime guard still requires Node 24. Cover older target runtime selection for Quick and Full CI, nested Node processes, preparation failure and CI exit propagation. Carry-Group: incubator Carry-Fix: #708 (comment) Carry-Observation: The shared Action declaration is reconciled by Incubator; its runtime-selection repair and focused fixtures must replay together after that declaration.
39a2c19 to
be506d9
Compare
|
@codex review |
|
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". |
A later metadata-only CI check suite leaves GitHub expecting CI Gate despite successful exact-head CI and a successful gate rerun. Refresh the source check suite with an unchanged tree. Carry-Group: build-ci Carry-Observation: This empty commit refreshes GitHub required checks; it changes no source behavior.
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! 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". |
PRs give no signal when they grow LastCode's in-place edits to upstream files. That growth is what makes checkpoint rebases conflict, and right now nobody sees it until a rebase hurts. Part of #720. ## What changed A new reporting step in the Lint job prints an **Upstream-owned line changes** table to the log and the job summary: | Comparison | Measures | | --- | --- | | This PR | lines added/deleted from PR base to head | | Whole fork | lines added/deleted from the pinned upstream commit to head | - **Which files count:** only paths that exist at the pinned upstream commit, `merge-base(PR base, origin/main)`. Fork-only files never count. - **How:** endpoint comparisons with `git diff --numstat --no-renames`. Binary files are excluded. Moving an upstream file to a fork-only path counts as a deletion. - **Cost:** reuses Lint's existing full-history checkout, with no extra fetch. - **Never blocks:** no threshold or gate. The step runs with `continue-on-error`, and if the comparison can't be resolved it prints "unavailable" instead. ## Proof - Matches a direct path-restricted `git diff --numstat` on real PRs: - #708: This PR +26 / -28; whole fork +158,190 / -25,331 - #702: This PR +0 / -18; whole fork +153,798 / -24,594 - #700 (fork-only): +0 / -0 - A subdirectory invocation regression failed before `ls-tree --full-tree` and passes after the fix. - Real-Git tests cover replayed and merge ancestry, renames, deletions, binaries, unusual paths, reverts, and the non-blocking error path. - `check:changed` passed: format, lint, knip, 41 affected typechecks, tests. - Quick CI passed on final head `6059683f631877765e539d7db581babba9ef41cf` against base `217eac9e1863a9819e5d99efc97392c0c7b8d5c5`. Local review: 2 rounds with GPT-6.1 Terra (xhigh) and Claude Opus 5.5 (high), not clean: Terra approved the final diff; Opus completed round 1 but its round-2 recheck was unavailable due to weekly quota. Every accepted finding is fixed. The PR description received the Opus writing pass. Review decisions: keep the owner's literal base-to-head endpoint metric rather than substitute a synthetic merge result; the report prints its comparison SHAs. Rare invalid-UTF-8 path aliasing and fixture sensitivity to global Git signing settings remain optional follow-ups. Implemented by GPT-6.1 Sol (xhigh) in the Codex harness. Carry-Source-Ref: refs/lastcode/carry-sources/pr-724/6059683f631877765e539d7db581babba9ef41cf Carry-Source-Base: 217eac9 Carry-Source-Head: 6059683
## Problem The carry-set ELI5 still described the August proposal, not the carry replay that has been the production path since 2026-09-05. The glossary and nightly workflow kept rollout-era lines: carry tooling "does not yet replace the nightly replay", files shared by several groups go to Incubator, a post-publication carry check that in fact runs only after historical-mode publications, and retirement criteria for historical replay. Refs #720. ## Change - **ELI5** (`doc/design/2026-08-29__downstream-carry-set-eli5.html`): rewritten to describe carry replay as built. Each commit names its group with a `Carry-Group` trailer. A publication folds the PR squashes merged since the last one into six group commits on the old nightly, then replays only those six onto the new nightly with `rerere` off. It also covers the deferred-promotion exception to the tree check, conflict recovery, historical rollback, and what changed from the proposal. - **Glossary**: describes the current carry set; the group order now includes Build & CI; a fix that edits lines a later group changed must move to that group; carry replay has no path ownership; the ELI5 link no longer says "proposal". - **Nightly workflow**: the shadow check runs only after historical-mode publications; historical replay is an explicit rollback, not a pending retirement; `--reconstruct` only reproduces the bootstrap generation; the dashboard's replayed-commit count is normally 6. ## Scope Documentation only, no behaviour change. Tracks #720 without closing it. The smoke gate description in the nightly workflow is left to another PR. ## Verification - Checked each claim against `scripts/lastcode-carry-*.ts`, `scripts/lastcode-checkpoint.ts`, `scripts/lastcode-merge.ts`, the manifest and published tags. This covered contribution counts (2,256 in total, 1,015 in Incubator, 122 of 252 Upstream bugfixes without `Carry-Upstream`), `Fork-Commits-Rebased: 6` on every carry checkpoint tag, the first carry tag at 2026-09-05 18:23 PT, checkpoint 4449 folding #671–#688, checkpoint 3717's cross-base compile, and the trailers on #708 and #671. - Corrected three errors in the rewrite before review: PR #708's groups, a claim that Incubator work can be retagged out, and the "carry patch" wording. - `check:changed`: typecheck (41 packages) and the context-budget test pass, and formatting passes after `vp fmt`. The HTML tags are balanced. - Quick CI deferred to GitHub because local capacity was busy, so there is no local receipt. Local review: 3 rounds with GPT-6.1 Terra (xhigh) and Claude Opus 5.5 (xhigh), approved. Final-round nits were fixed afterwards. Written with Claude Opus 5.5 in the Claude Code harness. Reviewed with GPT-6.1 Terra in Codex and Claude Opus 5.5. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Carry-Source-Ref: refs/lastcode/carry-sources/pr-725/a1e38bf562fb6faa8738a13d219d20f9925c657b Carry-Source-Base: 99486a3 Carry-Source-Head: a1e38bf
LastCode's merge and local CI scripts rejected Node 26.12.1 even though root
engines.nodealready requires it. This also made the merge-lifecycle tests fail unless Node 24 came first on PATH. Fixes #665.The runtime guard now accepts the exact version in root
engines.node, with temporary support for^24.13.1while saved Project Actions migrate. Downstream package commands, Action declarations, installed launchers, setup examples, and pilot CI select Node 26.12.1; package tests no longer override the project runtime with Node 24. Existing Settings are unchanged. After preparation, the shared CI Action executes the target checkout's own CI command, preserving that checkout's runtime pin for both Quick and Full CI. Local package builds also select the target tag's CI runtime so older installable tags remain buildable.Upstream's Node alignment came from https://redirect.github.com/pingdotgg/t3code/pull/23165 at
ed9b7ca9c53843ea1e6b466bf7d52928d10e7db0.Validation:
Local review: 1 round with GPT-6.1 Sol (high) found the older-tag build regression, now fixed. Pre-push reviews with GPT-6.1 Terra (xhigh) approved the full diff, the Action runtime fix, and the final rebase onto the current checkpoint. Claude's writing pass was skipped because its quota was exhausted.
Implemented with Claude Opus 5.5 in the Claude Code harness and GPT-6.1 Sol in the Codex harness.