Skip to content

fix(tooling): start checkpoint Full CI before client QA - #649

Merged
lastobelus merged 14 commits into
lastcode/mainfrom
lastcode/checkpoint-recovery-faster-ci
Nov 8, 2026
Merged

lastobelus merged 14 commits into
lastcode/mainfrom
lastcode/checkpoint-recovery-faster-ci

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Problem

Repaired nightly checkpoints wait for three things before Full CI starts: broad focused validation, a second dependency-preparation round trip, and integrated client QA. Recovery already requires Full CI, so those waits delay validation we need anyway.

Change

  • New check:changed recovery mode. It runs format, lint, affected-package typechecks, and tests beside the recorded conflicted or repaired files.
  • New recovery order. Prepare dependencies once, run that gate, select the service pass, and start it immediately. Integrated client QA now runs alongside Full CI and is still required.
  • Guidance and alert. The agent guidance and supervisor alert now state this order.
  • Docs. They now cover stopping and reselecting a defective unpublished candidate through the existing service-manager path. The rerere documentation is corrected.
  • Full CI coverage: unchanged.
  • Commit partitioning: Build & CI, Tooling, and the existing Incubator-owned rerere documentation.

Scope and approval

Maintainer-requested checkpoint recovery improvement. Private playbook and deployment edits remain outside this PR.

Verification

  • Changed-file checks: format, lint, knip, affected-package typechecks, and 125 tests across the checker and supervisor suites all passed.
  • Recovery-gate regression: the new test failed before the implementation and passed after. A runtime run of the new gate passed with 125 tests and both affected-package typechecks.
  • CI cleanup: the existing CI controller-death cleanup test passed.
  • MCP tool-use eval (GPT-6.1 Sol):
    • Recovery-order case: 0/3 → 3/3.
    • Ordinary frontend QA control: stayed at 3/3.
  • Quick CI: passed for f15e9307a1e3a6f50dad7709ed919b7ab202dac0 against 935bfb2.
  • Carry compilation: the same-base carry compilation passed locally with PR fix(tooling): start checkpoint Full CI before client QA #649.

Not verified: no live checkpoint service was stopped or restarted. The roughly five-minute replay-to-Full-CI target still needs measurement on an actual recovery.

Implemented with GPT-6.1 Sol through the Codex harness.

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T22:04:44.951588Z 0ea6a64 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. Keep it up!

Reviewed commit: f15e9307a1

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

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus
lastobelus force-pushed the lastcode/checkpoint-recovery-faster-ci branch from f15e930 to 4b5ea80 Compare November 8, 2026 21:03
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 4b5ea80251

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

Run format, lint, affected-package typechecks and neighboring tests against recorded conflict and repair paths. Keep broader checks in Full CI and isolate the preflight cache from ordinary changed-file validation.

Carry-Group: build-ci
Prepare dependencies once and start the selected recovery service pass immediately after its focused gate. Run client QA alongside Full CI and document stopping and reselecting an unpublished defective candidate.

Carry-Group: tooling
Describe explicit staged resolutions because carry replay disables rerere and automatic index updates. This documentation correction follows the existing Incubator-owned text.

Carry-Group: incubator
Require the pre-replay baseline so scoped recovery checks accept only paths in the candidate tree or real deletions. Extend the existing cases for invalid paths, deletions and empty lists.

Carry-Group: build-ci
Use one separate gate and QA checkout refreshed from retained HEAD before each gate, and commit repairs only in the retained worktree. Let active passes finish, route published defects to revisions, and grade preparation, gate, selection and QA ordering.

Carry-Group: tooling
Keep explicit carry-mode rerere overrides on the manual continuation command in the Build & CI-owned recovery paragraph.

Carry-Group: build-ci
Preserve historical rerere reuse and document explicit disabled-rerere flags for every manual carry continue. Follow the existing Incubator ownership of this passage.

Carry-Group: incubator
Accept preparation once or repeats limited to manifest and lockfile changes while preserving preparation, gate, service and QA order. Reject unrelated checks-once wording and keep the QA-first controls.

Carry-Group: tooling
Validate deleted paths against both pre-replay and upstream trees, and discover surviving neighboring tests for deleted sources. Cover newly introduced upstream files and surviving tests in the existing case table.

Carry-Group: build-ci
Separate manual replay bookkeeping selection from final selection. Use the printed selected head and verify its tree matches the gated candidate before requesting the service. Cover managed and manual replay ordering in the model eval.

Carry-Group: tooling
Remove the later duplicate instruction now that the procedure begins with explicit bookkeeping selection after manual carry continuation. Preserve the existing Build & CI ownership of that paragraph.

Carry-Group: build-ci
Accept prepare dependencies again only when tied to manifest or lockfile changes in both recovery cases. Keep the order and selected-tree checks, and reject unrelated checks-again wording.

Carry-Group: tooling
@lastobelus
lastobelus force-pushed the lastcode/checkpoint-recovery-faster-ci branch from 4b5ea80 to a3b2ebe Compare November 8, 2026 21: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. Can't wait for the next one!

Reviewed commit: a3b2ebe57d

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

A successful --select-recovery told the agent to request a service run
right away, contradicting the recovery procedure: a plan-recording selection
needs no run, and the final selection must pass the tree comparison first.

Carry-Group: tooling
Co-Authored-By: Claude <[email protected]>
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 0ea6a64ad7

ℹ️ 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 82a0d94 into lastcode/main Nov 8, 2026
20 checks passed
@lastobelus
lastobelus deleted the lastcode/checkpoint-recovery-faster-ci branch November 8, 2026 22: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