Repository navigation
fix(lastcode): support sequential stacked PR babysitting - #222
Conversation
94bf8cd to
3f15022
Compare
7db8869 to
8b16e62
Compare
780bf95 to
b2188b6
Compare
Carry-Group: tooling Carry-Fix: #215
5958634 to
f239d8c
Compare
Codex Review SummaryThis 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f239d8c59f
ℹ️ 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".
Carry-Group: build-ci Carry-Fix: #215
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! 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". |
Editing a PR's title or description cancels its running CI, because the edit event shares the CI concurrency group. Anything that touches wording mid-run loses the run. **Fix** - **Isolated group:** metadata-only `edited` events get a unique concurrency group, so they can't cancel or replace source runs. - **Jobs skipped:** those events skip every job in CI and Mobile Fingerprint Check. Metadata checks use distinct `Check` and `CI Gate` names so they cannot mask required checks. - **Base retarget kept:** `edited` stays on for base changes (added in #222 for stacked PR retargets, source commit a8aa4a0), and those runs still execute. - **Distinct CI title:** metadata-only runs get their own CI run title, so `pr-gates` and merge's exact-head/base selector never pick them. The transfer report publisher excludes those runs before job concurrency applies. **Validation** - 21 focused workflow and GitHub CI selection tests pass. Final-head check:changed passed (format, lint, knip, affected typechecks and 23 tests). Quick CI deferred to required GitHub CI because local capacity was busy. - Local review: round 2/2; Terra xhigh and Opus 5.5 high both clean. - actionlint is unavailable. The known unrelated tiptap unused-patch failure (#677) is out of scope; check:changed skipped that check because no dependency files changed. **Live check:** source CI run [42730063283](https://github.com/lastobelus/lastCode/actions/runs/42730063283) was observed in_progress on head 8f87dc6 immediately before this description edit. Metadata run [42730216536](https://github.com/lastobelus/lastCode/actions/runs/42730216536) completed skipped while the same source run remained in_progress. Its jobs API contains neither an exact `Check` nor an exact `CI Gate` name; GitHub leaves the skipped dynamic names as expression text. Real runs retain the required names in the workflow definition. The pr-gates command selected source run 42730063283 despite the newer metadata run. Earlier-head source CI stayed running across two description edits; the subsequent source push superseded it normally. **Reference:** [GitHub concurrency docs](https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-workflow-concurrency). Queued runs replace pending work and can cancel running work before job execution. Carry-Group: build-ci Model: GPT-6.1 Sol. Harness: Codex in T3 Code. Carry-Source-Ref: refs/lastcode/carry-sources/pr-686/8f87dc6c144c9cc05260f449f8102d511d77a4df Carry-Source-Base: 5d364e9 Carry-Source-Head: 8f87dc6
Stacked LastCode PRs could not use Wait for PR because the script required a canonical base and selected only the current checkout; CI did not run against topic bases. This lets one thread validate and merge an authorized stack sequentially while keeping the existing main-only merge guard.
Wait for PR now supports a bounded explicit-target command that pins one PR and its same-repository parent chain in worktree-local Git metadata. The saved Action checks revision drift and exact CI, distinguishes parent-base validation from final readiness, and retains current-checkout behavior when no target is selected. CI runs for topic bases and retargets. The transfer report keeps a default-branch baseline for stacked children. The repository-owned babysit skill and its references describe ordered squash/restack delivery and pending Action continuations.
Validation on the rebased head: 50 focused wait/CI tests plus 8 transfer-report tests, scripts typecheck, focused lint, formatting, skill validation, three clean Astra-high review rounds, and resumable Quick CI passed for the current head/base. Multi-PR observation remains phase two.
Closes #215.
Model: GPT-6 Astra and GPT-6 Sol. Harness: Codex in T3 Code.