Repository navigation
ci: run ready checks on merge-group commits - #612
Conversation
Agent-assisted-by: Codex / unknown effort=unknown (implementer) Agent-assisted-by: Agent 橘 / unknown effort=unknown (draft author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for @zengchuang-hw.
初检:base 1607a88c2e1ae5ea811d59a3a283524ddf1b5645,head 59a77956f8923908b21adf7708f6deacee0bae40。#570 接受范围。工作流差异只增加 merge_group:checks_requested:仅 installed-package 与 full-check 运行,使用只读内容权限,不保留 checkout 凭据;并发键使用 merge-group ref,原 PR 仍用编号。浏览器、PR 引用和 advisory host 检查仍仅在 PR 事件运行;原矩阵及 build/test 命令未改变。
无代码检视阻塞项。仅静态核对 YAML、事件分支、权限和命令;未运行 actionlint,未查看 CI 或验证真实 merge-group 运行。批准仅覆盖该工作流差异,队列启用、required checks、knowledge-model-policy 的 merge-group 覆盖和停工移出流程仍是独立事项;不确认可合入。
|
Codex, acting for @Dong1017. @Bounty-hunter @amy-why-3459 @david6666666 PTAL Review contextThis adds merge-group support for the Ready CI full-test and installed-package jobs. Both Linux full-test jobs passed. If the repository already has a merge path that binds the checked |
|
@Dong1017 can you self-review? |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Self-review by Dong-bot (authorized delegate) on a PR authored by the posting account. This is a comment, not an independent approval, and it does not count toward the two approvals the ruleset requires. It also does not supply the high-risk approver vote.
Reviewed base 1607a88c2e1ae5ea811d59a3a283524ddf1b5645 and head 59a77956f8923908b21adf7708f6deacee0bae40 (.github/workflows/ci-ready.yml, 321 lines at head; diffComplete: true, full diff). No blocking findings in the diff.
Verified against accepted scope (#570, acceptance 7075667844)
- Narrowing holds: only
installed-package(:15) andfull-check(:44) run in a merge group;dashboard-browser(:67),pr-references(:101) andhost-compatibility(:117) are now gated togithub.event_name == 'pull_request'. That is required, not cosmetic —pr-referencesreadsgithub.event.pull_request.body(:113) anddashboard-browser's old!drafttest would evaluate a nullpull_requeston a merge group. merge_group: types: [checks_requested](:7-8) is added without abranchesfilter, which is correct for this event.- The two merge-group jobs reference no
pull_requestcontext anywhere in their steps (:15-64), so they can run on a merge-group commit without null dereferences. - Concurrency key
ready-${{ github.event.pull_request.number || github.ref }}(:11) keepsready-<number>for PR runs and falls back to the queue ref (refs/heads/gh-readonly-queue/…) for merge groups; the two forms cannot collide, andcancel-in-progress: truestays scoped to one queue entry. - The credential hardening dot asked for in #570 (7074850342) is present on both jobs:
permissions: contents: read(:16-17, :45-46) andpersist-credentials: false(:24-26, :53-55). Every job in the file now has an explicit read-only block, so the workflow carries no write token. - The PR lane is unchanged apart from those keys: matrices
["3.10","3.11"], install, ruff (ruff check src tests tools) andpytest -rscommands are byte-identical to base. Checkout on a merge-group run resolves to the queue merge commit, so the two jobs test the merged result — the purpose of the slice.
Not verified here
- Static read only. I did not run actionlint; the body's 1.7.12 pass is not reproduced in this review.
- No merge-group execution is possible while the queue is disabled, so the merge-group behavior is unexercised, as the body says.
- No cross-workflow check of
knowledge-model-policy.
Still open, not diff defects (merge gates)
- Queue activation and making
full-check/installed-packagerequired remain settings decisions, andknowledge-model-policystill cannot report on merge-group commits (#570 setting 3, separate checker owner). - This is a CI change, so the high-risk gate applies: two independent approvals on this head with at least one from the recorded approver list, plus a merge path that protects the checked list (#570 7078872219 / 7077630550; #576 7119624655). On
59a77956there is one listed-approver approval (zengchuang-hw, review 6032924940,LGTM-free body); a second independent approval and the protected-base merge path are still missing. - Consistent with #371 (7089393818), #597 and #576: Dong-bot's check is a technical PASS comment, not a vote.
No author push requested; re-read on the next head or when the queue prerequisites are recorded.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
amy-why-3459
left a comment
There was a problem hiding this comment.
Codex, acting for @amy-why-3459.
PR review verdict — PASS
审阅依据
核对了目标 main、base 1607a88c2e1ae5ea811d59a3a283524ddf1b5645 和 head 59a77956f8923908b21adf7708f6deacee0bae40 的完整工作流差异,以及 #570 接受的范围。merge_group 使用队列 ref 分组,仅运行 installed-package 和 full-check,两项任务都使用只读 contents 权限并关闭凭据持久化。PR 事件仍按 PR 编号分组,原有矩阵与测试命令保持一致。已核对 本次 PR CI,Python 3.10 和 3.11 的安装包检查与完整测试均通过。真实队列事件尚未验证,队列启用属于后续工作。
|
Codex, acting for @Dong1017. @amy-why-3459 could you add your GitHub evidenceGitHub records the merge as |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5). The gap is one record, not a re-review: #612 is merged at
Nothing here changes my #612 verdict or reopens the diff. Dong-bot (authorized delegate); not verified: the commit graph, the merge event itself, any CI run. Line-level checks, the draft audit line, and why this is a commentWorkflow checks at Draft line (fills the shape at Line 22 expects the merging agent to write that comment at merge time. The merge already landed, so this is a retroactive record; the tracking-after-the-fact amendment permits that, and the request to "record the path used" is the right framing — just don't claim a merge path enforced the checked revision unless the merging account can show it. Line 23's test is satisfied here on the evidence given: base Why a comment, not a review: this head already carries a Dong1017 COMMENTED self-review and two independent Approves, and the PR is merged — another review on the same head would be a repeat under working rule 9. Read: this PR's body, thread, prior reviews and full diff, Limits: no diff review of #610; no CI, queue or settings state checked; the merge SHA and first-parent revision are taken from your evidence link, not re-read from the commit graph. |
|
Codex, acting for @Dong1017. #570 已验收关闭,合入审计补记留在这个 PR 跟进。验收结论 @amy-why-3459 方便时直接回这条就行。请补记合入前实际读取的 已核对的记录
|
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5). Only
This fills the fields I left as placeholders in my 05:27Z comment; no verdict change. Dong-bot (authorized delegate). What I verified, and what I did notRead this PR's body, thread, formal reviews, the full diff (
|
Codex, acting for @Dong1017.
Governing Issue and delivery slice
Refs #570
The accepted CI slice adds merge-group coverage for the ready lanes. Queue activation is a later settings decision. Accepted scope · Workflow draft · Permissions review
full-checkandinstalled-packageonmerge_group:checks_requested. Keep the other three jobs PR-only.contents: readfor merge-group jobs, and disable stored checkout credentials in those jobs. The existing PR lane matrix, build and smoke commands retain their current behavior.Knowledge authorship declaration
Checks
main.Remaining work and Issue closure
This is a CI workflow change. Integration requires the high-risk review and protected-base safeguards in the collaboration guide. Enabling the queue and requiring the ready jobs wait for the separate
knowledge-model-policymerge-group coverage and verification that stopped PRs can be removed from the queue.@Dong1017is the accountable Issue owner. Repository maintainers accept the completed Issue.The first current-head approval is from zengchuang-hw, verified on the high-risk list at the checked main with admin access. Integration still needs a second independent approval and a verified merge path that protects the checked base, or verified serialization covering every update to the approval list.