Skip to content

ci: run nix ci and id checks on merge groups - #7139

Closed
dezren39 wants to merge 1 commit into
mainfrom
queue/2661-807-apply-wiring-10264059655548896315
Closed

dezren39 wants to merge 1 commit into
mainfrom
queue/2661-807-apply-wiring-10264059655548896315

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Opened by the branch-disposition execution (2026-11-07) from branch queue/2661-807-apply-wiring-10264059655548896315.

Branch origin: queue branch for issue #2661.
This branch was laptop-local work (or a stranded remote branch) with real changes ahead of main and no PR. Per Drew's 2026-11-07 branch-disposition ruling, ahead branches with real changes get a PR; this PR surfaces the work for triage instead of leaving it stranded on a branch.

Triage owner: batch issue in developing-today/code, "Unowned PR batch from branch disposition (2026-11-07)". Outcome per batch triage: close with reason, or route to impl/finish/merge as a follow-on fix task.

Evidence: branch-ahead review ~/workspace/scratch/branch-ahead-review-2026-11-07.md; execution log ~/workspace/scratch/branch-disposition-2026-11-07.md.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

This restores the merge_group trigger that was added to nix-ci.yml in #2233, and applies it to id-check.yml as well so the merge queue can see the required check contexts.

Fixes #2233

Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com>
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 04:34
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 97950038-9f80-4c30-8dfb-224325ae8386
Commits

Reviewing files that changed from the base of the PR and between 3ea2a10 and 66be9b0.

Files selected for processing: 2

  • .github/workflows/id-check.yml
  • .github/workflows/nix-ci.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 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-08T04:36:19.754764Z 66be9b0 PR opened
ℹ️ 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 66be9b0590

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

# (basic: proxy port fallbacks) is main's required status check —
# it must run on merge groups too, or the queue can never see its
# required context and stalls.
merge_group:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use the merge-group base SHA for the formatting check

On the newly enabled merge_group runs, the formatting step's BASE_SHA expression at line 53 reads only pull-request/push fields, leaving it empty instead of using github.event.merge_group.base_sha. Consequently, line 62 runs git diff ...$GITHUB_SHA; with checkout at that SHA, this compares HEAD with itself and always reaches “No changed files to format-check,” silently bypassing formatting validation of the combined queue tree. Git documents that an omitted endpoint defaults to HEAD (git-diff documentation: “If on one side is omitted, it will have the same effect as using HEAD instead.”). Include the merge-group base in the expression before enabling this trigger.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Dispositioned as moot (task 14676, lane code-l): the finding is technically correct for a world where the merge_group trigger ships — but it will not ship. Drew ruled "no merge queue" on 2026-11-08 (recorded in .github/ci-policy.md on main), the pilot ruleset was never configured, and all merge_group triggers were removed from every workflow. PR #7139 is being closed as superseded by that ruling, so the formatting check gains no merge-group runs to fix. Thank you — the analysis was right on the code as proposed.

# the combined merge-group head, and this workflow's PR-tier jobs
# are main's required status checks — it must run on merge groups
# too, or the queue can never see its required context and stalls.
merge_group:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Exclude merge groups from the main-tier full flake check

Adding this trigger also activates full-flake-check, whose condition at line 190 excludes only pull_request. Every queue group—including changes outside pkgs/id—therefore launches the heavy Playwright/NixOS VM suite with a 180-minute timeout, in addition to the fast matrix. This defeats the main/nightly-only split documented in .github/ci-policy.md and the job's own comments, consuming substantial runner capacity before the full suite runs again after an applicable merge. Update the full job's condition to exclude merge_group while retaining the required fast checks.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Dispositioned as moot (task 14676, lane code-l): the finding is technically correct for a world where the merge_group trigger ships — but it will not ship. Drew ruled "no merge queue" on 2026-11-08 (recorded in .github/ci-policy.md on main), the pilot ruleset was never configured, and all merge_group triggers were removed from every workflow. PR #7139 is being closed as superseded by that ruling, so full-flake-check gains no merge-group runs to exclude. Thank you — the analysis was right on the code as proposed.

@dezren39

Copy link
Copy Markdown
Member Author

Closing as superseded — task 14676 (pr_shepherd, lane code-l, 2026-11-10)

This PR adds merge_group triggers to the nix ci and id workflows for a merge-queue pilot. Fresh revalidation against current main shows the premise no longer exists:

  • Drew ruled "no merge queue" on 2026-11-08. .github/ci-policy.md on current main records it: main has no merge queue, merges land as direct merge commits, the pilot ruleset was never actually configured (verified 2026-11-07 on issue CI policy PR checks are missing workflow triggers #5149), and the merge_group triggers were deliberately removed from every workflow in the same pass.
  • Current main confirms it: no workflow declares a merge_group trigger (the single remaining mention, in deploy-flake-checks.yml, is a comment stating there is none, per the ruling). nix ci no longer even carries push/pull_request triggers, and the required PR-tier check basic: proxy port fallbacks runs from the dedicated proxy-port-fallbacks.yml on pull_request.
  • The PR also conflicts with current main in both workflow files for the same reason.

Re-applying these triggers would contradict Drew's recorded ruling, so there is nothing to salvage from the branch (its entire diff is the two trigger blocks). The two Codex P2 findings are dispositioned as moot on their threads: both presuppose enabling the merge_group trigger, which will not happen.

Linked issue #807 is already CLOSED; its state is unchanged by this outcome. Recorded on batch issue #7297 per the shepherd acceptance.

@dezren39 dezren39 closed this Nov 10, 2026
@dezren39
dezren39 deleted the queue/2661-807-apply-wiring-10264059655548896315 branch November 14, 2026 19: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