Skip to content

docs(ci): record PR control runner routing and queue recovery - #33503

Merged
XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
XuPeng-SH:ci/document-control-runner-recovery
Nov 30, 2026
Merged

XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
XuPeng-SH:ci/document-control-runner-recovery

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • Documentation
  • Test and CI

Which issue(s) this PR fixes:

Related to #30150 for the required check on cancelled producers. The rollout uses the control runner support from #28717 and addresses the queue observed on #33494 and #33501.

What this PR does / why we need it:

On #33501 the old required check waited 7m35s for a hosted runner and ran for four seconds. The replacement workflow was unable to start preflight during that wait. On #33494 the old required check and the cancellation controller also queued together. Required check from #33501 · Required check from #33494

The repository setting for preflight, the required check and the cancellation controller now selects the shared CS medium pool. This update records the operational setting and how to restore hosted execution and release a superseded run if a runner label stops serving work.

Two simultaneous jobs using the shared label started on MTY and RUH in 7 and 11 seconds. A hosted reference submitted with them waited 61 seconds. JED and MNL2 also ran the same checkout, PR metadata read and required-check verification. Shared-label comparison · JED and MNL2

In a branch-isolated handoff, cancellation made the old required check fail and the successor reached a runner 50 seconds after its workflow was created. A second exercise held the old required check on a nonexistent label, restored the hosted default for the successor, and used GitHub's force-cancel operation on the obsolete probe. The 65 existing scope and cancellation tests passed locally. Cancelled producer · Successful successor · Hosted recovery

After the repository setting changed on November 30 at 08:20 UTC, the production preflight picked up this main PR on RUH in 15 seconds and a 4.2-dev PR on MTY in 5 seconds. The cancellation controller for this PR picked up on RUH in 10 seconds. Main preflight · 4.2-dev preflight · Cancellation controller

On main PR #33502 the deployed controller picked up on RUH in 11 seconds, waited the existing grace period, and automatically force-cancelled the superseded run while its hosted required check was queued. The successor preflight picked up on MTY in 5 seconds. From the new workflow being created to preflight starting took 2m48s. This documentation PR's required check also passed on MTY after a 6-second queue. Automatic cancellation · Successor preflight · Passing required check

@XuPeng-SH
XuPeng-SH requested a review from fengttt as a code owner November 30, 2026 08:20
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify mergify Bot added kind/documentation Improvements or additions to documentation kind/test-ci labels Nov 30, 2026
@mergify

mergify Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Nov 30, 2026
@XuPeng-SH

XuPeng-SH commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · done

Commit: 48a0cf87ab284853df2989a507e8f15389b2fbbe

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 48a0cf87ab284853df2989a507e8f15389b2fbbe

Assessment: approve

The documentation matches the checked-in control-runner selection, hosted fallback, and manual cancellation workflow. The change introduces no runtime mechanism or actionable defect.

Model: gpt-6.1-terra / max

Session: 01a22b07-00b6-7e32-b0a1-3099d0b867c7 · slot 1 · generation 39

Validation:

  • The documentation diff whitespace check passed. Receipt: checks/1796027863302793062-3.json; log: diff-check.log.

  • Six selected runner-selection, required-gate, and cancellation contract tests passed; 59 other tests were intentionally unselected. Receipt: checks/1796027890184043623-3.json; log: focused-contract-tests.log.

Limitations:

  • The supplied evidence did not include the linked Actions logs or live runner inventory, so the current repository variable, pool membership, and reported queue timings were not independently verified.

  • The frozen CI snapshot showed preflight successful and the documentation whitespace job queued.

@XuPeng-SH
XuPeng-SH merged commit c22be42 into matrixorigin:main Nov 30, 2026
2 of 4 checks passed
@XuPeng-SH
XuPeng-SH deleted the ci/document-control-runner-recovery branch November 30, 2026 12:37

This branch was successfully deployed

No deployments
ci — a669d3d2 Deployed Nov 30, 2026 by XuPeng-SH via Matrixone Utils CI / pr-size-label #67067
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Improvements or additions to documentation kind/test-ci size/XS Denotes a PR that changes [1, 9] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants