Skip to content

ci: split the lifecycle-model job into 8 shares that start all their runs at once - #328

Merged
ThomasK33 merged 3 commits into
mainfrom
ci/lifecycle-model-timeout
Nov 4, 2026
Merged

ThomasK33 merged 3 commits into
mainfrom
ci/lifecycle-model-timeout

Conversation

@ThomasK33

@ThomasK33 ThomasK33 commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Why

#324 roughly doubles the lifecycle model (summed over all runs, about 2.1 times the states of main's). On #324's head 60006876, the four lifecycle-model shares took 48, 40, 38 and 46 min (shares 1 to 4). The merge queue waits at most 60 min for checks, so those shares plus the install sit at its edge.

Raising the timeout alone does not help: check.sh starts CHECK_JOBS runs at a time and waits for all of them before it starts the next ones, so a share took about the sum of the longest runs of its batches.

What changed

.github/workflows/ci.yml, job lifecycle-model:

  • 8 shares instead of 4 (CHECK_SHARD: <i>/8). check.sh already takes any <i>/<n>.
  • CHECK_JOBS: '12', so each share starts all its runs at once. With the model of fix: on Windows, stop a late host after a failed create in more cases, and name the session in text mode #324, a share has 10 to 12 runs, and at most 2 of them are long, so they share the runner's 4 vCPUs. A share then takes about as long as its longest run.
  • timeout-minutes: 55 instead of 50. The longest share holds only the longest run, mutant-ReconcileSkipsTerminal (88.7 million distinct states), which TLC checks with 1 worker. That share took 43 min, so no split of the runs makes it shorter. A follow-up PR after fix: on Windows, stop a late host after a failed create in more cases, and name the session in text mode #324 will give the long runs more TLC workers to lower that floor.
  • The comment gives the measured times and the reason.
  • quality-gates still needs lifecycle-model, which waits for every share. The required checks are quality-gates, quality-gates-macos and pr-title, so the new share names change no required check.

SKILL.md of the lifecycle skill still says that CI runs the check "in four shares". #324 edits that same line, so the follow-up PR after #324 updates it.

Behavior changes

None for CLI or JSON users. This PR does not change coverage.json, so its own CI skips the TLC runs.

Validation

Refs #324, #302


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh

The model of #324 has about twice the states of main's. On its head the
four shares took 38, 40, 46 and 48 min of the 50 min timeout, and a share
cannot be shorter than its longest run.
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 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-04T14:31:12.186493Z 64ead8d Manual request
🔒 Security Review ✅ Completed 2026-11-04T14:31:55.330009Z 64ead8d 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. Keep them coming!

Reviewed commit: 968edc5a77

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

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 968edc5a77

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

…runs at once

A timeout raise alone leaves #324's 48 min share at the merge queue's
60 min limit. check.sh waits for each batch of CHECK_JOBS runs, so a
share took the sum of its longest runs. With 8 shares and CHECK_JOBS 12,
every share starts all its runs at once and takes about as long as its
longest run. The job timeout goes to 45 min.
@ThomasK33 ThomasK33 changed the title ci: give the lifecycle-model shares 90 minutes ci: split the lifecycle-model job into 8 shares that start all their runs at once Nov 4, 2026
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: a3e6590ff4

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

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: a3e6590ff4

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

…share times

On the model of #324 the 8 shares took 15 to 43 min. The 43 min share
holds only the longest run, which TLC checks with 1 worker, so no share
split makes it shorter, and 45 min left too little room.
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 64ead8d4bf

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

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 64ead8d4bf

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ThomasK33
ThomasK33 added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit ef3cb01 Nov 4, 2026
26 checks passed
@ThomasK33
ThomasK33 deleted the ci/lifecycle-model-timeout branch November 4, 2026 15:06
@github-actions github-actions Bot mentioned this pull request Nov 4, 2026
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