Skip to content

fix(ci): check the complete integrated repair diff - #585

Merged
lastobelus merged 1 commit into
lastcode/mainfrom
t3/checkpoint-integrated-repair-preflight
Nov 2, 2026
Merged

lastobelus merged 1 commit into
lastcode/mainfrom
t3/checkpoint-integrated-repair-preflight

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Problem

After carry compilation, check:changed can miss earlier integrated repairs. The retained compilation can rewrite ancestry, so a merge-base comparison may pick the wrong boundary. A diff against the last child then covers only the last patch. Earlier fixes in the same repair batch never reach lint, format, or affected-package checks.

Fix

Add paired --baseline <commit> and --candidate <commit> options to the existing check:changed.

  • Diff: a direct tree diff between the two endpoints, using their resolved full commit identities. Ancestry is not consulted.
  • Candidate guard: the candidate must be the exact HEAD of a clean checkout with no pending Git operation. This is checked again after the checks finish, so a change mid-run fails.
  • Coverage: every integrated repair path goes to the existing format, lint, and affected-package checks.
  • Unchanged: ordinary positional-ref behavior, checkpoint fail-fast lint, final Full CI, exact candidate publication, and the separate advisory cache.

Tests

The regression builds an unrelated rewritten snapshot with sequential and merged delegated repairs.

  • It shows the last patch alone omits earlier paths.
  • All 3 repair paths then reach lint, format, and affected-package selection.
  • Also covered: invalid inputs, dirty, incomplete, or wrong candidate, and changes during the checks.

Validation

  • ✅ Regression failed before the implementation.
  • ✅ Focused tests: 27 in the helper, 6 in the command.
  • ✅ scripts typecheck, lint/format, knip, and check:changed.
  • ✅ Parent-owned Quick CI passed on pre-rebase head 76fec5ea8f6c970d7f308a66839fe4295c5442df against base 1efd2d45871f052ab791e4cd6f9d176533ef3b28. That receipt is historical; current-head GitHub validation is required.
  • ✅ Same-base carry compilation for PR fix(ci): check the complete integrated repair diff #585: Carry-Group assignments validated; compiled tree equals head 83adda023db533f6b3a1dd17f7de53e7a9eeabab on base e864910bae68e7e1c1b99091b9ccca09c29b9089.

Fresh changed-file checks and carry compilation passed after rebasing onto the #584 merge. Exact-head GitHub CI and Codex review are pending for 83adda023db533f6b3a1dd17f7de53e7a9eeabab.

Related: #577 (not closed by this PR).

Implemented with GPT-6.1 Sol (high) through the Codex harness.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T23:01:36.178359Z 83adda0 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 76fec5ea8f

ℹ️ 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".

Compare explicit baseline and candidate commits directly across rewritten carry history, and require the completed candidate checkout before and after checks.

Carry-Group: build-ci

Carry-Fix: #577
@lastobelus
lastobelus force-pushed the t3/checkpoint-integrated-repair-preflight branch from 76fec5e to 83adda0 Compare November 2, 2026 22:59
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 83adda023d

ℹ️ 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".

@lastobelus
lastobelus merged commit 3ea01e4 into lastcode/main Nov 2, 2026
32 of 38 checks passed
@lastobelus
lastobelus deleted the t3/checkpoint-integrated-repair-preflight branch November 2, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant