You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: add the CI/gate aggregator required by Branch-Floor - #389
The repository ruleset "Branch-Floor" (id 23869574) requires a status check whose context is exactly CI/gate, but no workflow in this repository emitted a check with that name, so no pull request could merge (for example #381). The owner chose to satisfy the gate rather than edit or bypass the ruleset.
This adds one job to .github/workflows/agda.yml: ci-gate, name: "CI/gate". It is copied from the ci-gate job in hyperpolymath/ordinal-notation proven-tests.yml.
needs: every other job in the workflow: check, cold-check, experimental (Experimental echo-additive), narrowing (Bit-narrowing exhibit), cubical (Cubical epi/mono profile), rocq-recheck (Rocq recheck leg), lean-recheck (Lean recheck leg).
if: always(), permissions: {}, runs-on: ubuntu-24.04, timeout-minutes: 5, a single run: step and no uses:, so no lock entries are needed.
Passes only if every needed job's result is success. Failure, cancelled, skipped or missing results fail the gate. A job in needs that is not listed as required or advisory also fails it.
No existing job, proof file, other workflow or ruleset is changed.
Checks run locally
check-agda-invocations.sh, kernel-guard.sh, check-guardrails.sh proofs/agda and check-experimental-aggregate.sh all pass. The workflow parses as YAML with 8 jobs. The gate script was run against simulated needs JSON: all-success exits 0, and a cancelled job exits 1. The repo has no actions lock file or workflow-lint script.
The commit is SSH-signed.
Whether CI/gate appears on this PR's own run and passes is still unconfirmed at the time of writing. I'm watching the run and will report here.
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Chores
Automated checks now include an always-running status gate that reports the results of required checks and fails when any required check does not pass. Skipped checks count as satisfied only when their configured detector succeeds. Advisory checks are reported but do not affect the gate.
The workflow adds an always-running CI/gate job. It evaluates required job results, applies configured detector checks to skipped jobs, reports results, and fails when a gate condition is unmet.
The new gate checks seven required jobs. A skipped job is accepted only when its configured detector succeeds. The gate reports results and fails for other unmet conditions, including unclassified dependencies and an empty required-job list.
hyperpolymath/echo-types#368: This PR adds Rocq and Lean checks, which correspond to two jobs listed as gate dependencies.
Merge Risk: Minimal · up to d5764
This change adds a CI/gate aggregator job that passes only when all seven required jobs succeed. No concrete defect was found in its aggregation logic. Confirm that the check appears and passes on this PR's own run before relying on the ruleset.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: adding a CI/gate aggregator job required by the Branch-Floor ruleset. The workflow change in .github/workflows/agda.yml matches this. The title is concise and specific…
Description check
The description explains why the change exists (the Branch-Floor ruleset requires a CI/gate status check). It describes the new ci-gate job, its needs list, its pass and fail rules, and the local chec…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: adding a CI/gate aggregator job required by the Branch-Floor ruleset. The workflow change in .github/workflows/agda.yml matches this. The title is concise and specific.
Full details: Description check
Explanation
The description explains why the change exists (the Branch-Floor ruleset requires a CI/gate status check). It describes the new ci-gate job, its needs list, its pass and fail rules, and the local checks run. This relates directly to the changeset.
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 30a0232c-be1f-4f73-8077-a7e163822557
Commits
Reviewing files that changed from the base of the PR and between 140002f and d5764f1.
Files selected for processing: 1
.github/workflows/agda.yml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The repository ruleset "Branch-Floor" (id 23869574) requires a status check whose context is exactly
CI/gate, but no workflow in this repository emitted a check with that name, so no pull request could merge (for example #381). The owner chose to satisfy the gate rather than edit or bypass the ruleset.This adds one job to
.github/workflows/agda.yml:ci-gate,name: "CI/gate". It is copied from theci-gatejob in hyperpolymath/ordinal-notationproven-tests.yml.needs:every other job in the workflow:check,cold-check,experimental(Experimental echo-additive),narrowing(Bit-narrowing exhibit),cubical(Cubical epi/mono profile),rocq-recheck(Rocq recheck leg),lean-recheck(Lean recheck leg).if: always(),permissions: {},runs-on: ubuntu-24.04,timeout-minutes: 5, a singlerun:step and nouses:, so no lock entries are needed.success. Failure, cancelled, skipped or missing results fail the gate. A job inneedsthat is not listed as required or advisory also fails it.Checks run locally
check-agda-invocations.sh,kernel-guard.sh,check-guardrails.sh proofs/agdaandcheck-experimental-aggregate.shall pass. The workflow parses as YAML with 8 jobs. The gate script was run against simulatedneedsJSON: all-success exits 0, and a cancelled job exits 1. The repo has no actions lock file or workflow-lint script.The commit is SSH-signed.
Whether
CI/gateappears on this PR's own run and passes is still unconfirmed at the time of writing. I'm watching the run and will report here.Generated by Claude Code