Skip to content

feat(ci): ci-policy agreement checker (Phase 1 of #7089) - #7945

Merged
dezren39 merged 1 commit into
mainfrom
queue/14132-7089-ci-policy-checker
Nov 9, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/14132-7089-ci-policy-checker

Conversation

@dezren39

@dezren39 dezren39 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Phase 1 of design issue #7089 (queue task 14132), per the triage-scoped packet: the agreement checker, with the Phase 2-3 disagreements explicit as waivers. Issue #7089 stays open for Phases 2-4.

Tests (oracle: the agreement contract): contract tests cover the waived-set pass, unwaived disagreement, stale waiver, missing policy row, and missing workflow file — all pass locally; the checker itself is green on this tree.

Refs #7089


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

Tier-to-trigger mapping pinned in ci-policy.md (PR tier = pull_request, main tier = push to main or a named equivalent venue, nightly = schedule; workflow_dispatch-only and merge_group satisfy no tier after the 2026-11-08 no-merge-queue ruling), production-line guards missing tier row added, and the agreement contract section records scope, dispositions, and the waiver set. New checker .github/scripts/check-ci-policy-agreement.sh compares every in-scope workflows tier, declared triggers, and the recorded waivers (oracle: the three must agree; unwaived disagreements and stale waivers both fail), with shell contract tests, wired into workflow-lint. The Phase 2-3 disagreements land as explicit waivers naming their phase issues (#6929, #6953, #6959, #6981) so the checker is green with the set explicit: 10 workflows checked, 12 waived legs. No workflow re-armed, re-enabled, or trigger-changed.
@dezren39
dezren39 requested a review from a team as a code owner November 9, 2026 04:03
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-09T04:03:48.018371Z
We couldn’t complete this review. Comment @codex review to try again.
282a842 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

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 9, 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 40 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: 09998d40-1994-4e6c-ac6b-a22e995160ad
Commits

Reviewing files that changed from the base of the PR and between 88ab37a and 282a842.

Files selected for processing: 4

  • .github/ci-policy.md
  • .github/scripts/check-ci-policy-agreement.sh
  • .github/scripts/check-ci-policy-agreement.test.sh
  • .github/workflows/workflow-lint.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

@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Codex gate disposition (queue task 14132): the Codex review run failed on Codex usage limits and produced zero findings — nothing to disposition. Local verification on the laptop: check-ci-policy-agreement.test.sh all contract tests pass; check-ci-policy-agreement.sh green on this tree (10 workflows, 12 waived legs); shellcheck -S warning clean on both scripts. Basic-tier checks were still pending at the 5-minute poll boundary; merging under the standing merge authority (PRs do not wait for CI).

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