Repository navigation
fix(ci): remove exports orphaned by checkpoint carries - #702
Merged
Merged
Conversation
Carry-Group: upstream-bugfixes Carry-Observation: LocalDeviceHost uses installedAgentDevice to retire recorded daemon versions; the earlier entry-only lookup has no callers.
Carry-Group: incubator Carry-Observation: The carried composer shortcuts no longer call selectionInOneCodeBlock, leaving its upstream export unused.
lastobelus
marked this pull request as ready for review
November 14, 2026 00:01
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. |
lastobelus
added a commit
that referenced
this pull request
Nov 15, 2026
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
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.
Checkpoint carries replaced the callers of two upstream helpers but left their exports behind. Knip reports both as unused, which blocks CI on
lastcode/mainand PR #700.Remove
installedAgentDeviceEntryandselectionInOneCodeBlock. The repair changes no active caller and keeps each deletion in its owning carry group.Proof: reproduced both knip failures on main; the changed-file checks and Quick CI pass on this repair, including 32 tests and the React compiler check. Same-base carry compilation reproduces the exact repair tree.
Local review: 1 round with gpt-6.1-terra (xhigh), approved.
Implemented with GPT-6.1 Sol through the Codex harness in T3 Code.