Skip to content

fix(ci): keep PR wording edits from cancelling running CI - #686

Merged
lastobelus merged 2 commits into
lastcode/mainfrom
lastcode/ci-metadata-edits
Nov 10, 2026
Merged

lastobelus merged 2 commits into
lastcode/mainfrom
lastcode/ci-metadata-edits

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

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 fix(lastcode): support sequential stacked PR babysitting #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 (apps/web: pinned tiptap task packages drift from ranged extension-list on fresh resolution #677) is out of scope; check:changed skipped that check because no dependency files changed.

Live check: source CI run 42730063283 was observed in_progress on head 8f87dc6 immediately before this description edit. Metadata run 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. 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.

@lastobelus lastobelus changed the title fix(ci): preserve source CI during PR wording edits fix(ci): keep PR wording edits from cancelling running CI Nov 10, 2026
@lastobelus
lastobelus marked this pull request as ready for review November 10, 2026 00:42
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 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-10T00:44:31.384397Z 8f87dc6 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 8f87dc6c14

ℹ️ 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 1d940d2 into lastcode/main Nov 10, 2026
56 of 71 checks passed
@lastobelus
lastobelus deleted the lastcode/ci-metadata-edits branch November 10, 2026 00:59
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