Skip to content

ci: add the CI/gate aggregator required by Branch-Floor - #389

Open
hyperpolymath wants to merge 1 commit into
mainfrom
ci/add-ci-gate
Open

hyperpolymath wants to merge 1 commit into
mainfrom
ci/add-ci-gate

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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 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.


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDfuDZwnUhT3NxQ3rQb
@gitnotebooks

gitnotebooks Bot commented Nov 30, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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.

Changes: CI result gate

Layer / File(s) Summary
Evaluate required job results
.github/workflows/agda.yml
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.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related issues

Possibly related PRs

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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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.

Recent review details

Context from checks skipped due to timeout: 8

  • GitHub Check: CodeRabbit
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: fleet / Fleet report-backs
  • GitHub Check: Experimental echo-additive
  • GitHub Check: Rocq recheck leg
  • GitHub Check: check
  • GitHub Check: cold-check
  • GitHub Check: Bit-narrowing exhibit
Additional comments: 1

.github/workflows/agda.yml: 1

150-228: LGTM!

@linear-code
linear-code Bot marked this pull request as ready for review November 30, 2026 23:30

This branch has not been deployed

No deployments
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.

2 participants