Skip to content

ci(occupancy): move the PR path filter into a gate, so the reading ch… - #137

Closed
hyperpolymath wants to merge 2 commits into
mainfrom
arena/a90f767d-df92-43cd-9976-e9eb37b5d749-metamanifold-webui
Closed

hyperpolymath wants to merge 2 commits into
mainfrom
arena/a90f767d-df92-43cd-9976-e9eb37b5d749-metamanifold-webui

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

…ecks can be required

#116 merged with this workflow's "Occupancy typed peak" check red (its squash carried a draft TH.[_] placeholder; #117 fixed the proof), because nothing required the check to pass first -- and nothing could have: the pull_request trigger was path-filtered, so the check never posted on PRs that touch no occupancy file, and a required check that never posts can never be satisfied.

The path filter now lives in an Occupancy relevance gate job: the workflow runs on every PR, the gate diffs the change against the same file list (plain case globs; a third-party paths-filter action is refused by the account's allow-list), and the two heavy jobs run only when it matches -- posting skipped otherwise, which a required check counts as satisfied. All three job names are stable identifiers with no matrix, as test_install_pins.jl asserts for every job in every workflow.

Branch-Floor can then require Occupancy relevance (itself included: a failed gate skips its dependents, and a skipped check satisfies a requirement -- the gate is the one check that must not be skipped silently), Occupancy disagreement test, Occupancy typed peak, alongside ci.yml's Julia tests and Agda proofs. That ruleset change is a settings change, kept out of this PR on purpose.

Generated by Mistral Vibe.

Summary

Closes #

Type of change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (would change existing behaviour)
  • 🕳️ Soundness fix (fixes a checker/proof false-negative)
  • 📖 Documentation
  • 🧹 Refactor / tech debt (behaviour-preserving)
  • ⚡ Performance
  • 🔧 Build / CI / tooling

How has this been verified?

Checklist

  • My commits are signed (git commit -S).
  • I ran the project's own checks/tests locally and they pass.
  • New files carry the correct SPDX-License-Identifier (code/config MPL-2.0,
    prose CC-BY-SA-4.0); I did not relicense existing files.
  • Docs are updated, and no public claim now overstates what the code does.
  • I have not introduced a soundness hole (or I have flagged where I might have).

Notes for reviewers

…ecks can be required

#116 merged with this workflow's "Occupancy typed peak" check red (its
squash carried a draft `TH.[_]` placeholder; #117 fixed the proof),
because nothing required the check to pass first -- and nothing could
have: the pull_request trigger was path-filtered, so the check never
posted on PRs that touch no occupancy file, and a required check that
never posts can never be satisfied.

The path filter now lives in an `Occupancy relevance` gate job: the
workflow runs on every PR, the gate diffs the change against the same
file list (plain `case` globs; a third-party paths-filter action is
refused by the account's allow-list), and the two heavy jobs run only
when it matches -- posting `skipped` otherwise, which a required check
counts as satisfied. All three job names are stable identifiers with no
matrix, as test_install_pins.jl asserts for every job in every workflow.

Branch-Floor can then require `Occupancy relevance` (itself included:
a failed gate skips its dependents, and a skipped check satisfies a
requirement -- the gate is the one check that must not be skipped
silently), `Occupancy disagreement test`, `Occupancy typed peak`,
alongside ci.yml's `Julia tests` and `Agda proofs`. That ruleset change
is a settings change, kept out of this PR on purpose.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@coderabbitai

coderabbitai Bot commented Oct 15, 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 38 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
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: b4607467-7b35-4312-8f8d-797c33c411be
📥 Commits

Reviewing files that changed from the base of the PR and between 15a6b5d and 208d0b2.

📒 Files selected for processing: 1
  • .github/workflows/occupancy.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

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath

Copy link
Copy Markdown
Owner Author

Closing as a duplicate: this PR is the same occupancy gate change as the open #125, opened from the orphaned pre-rebase branch (afc76f2-based). #125 carries the rebased, verified version -- its gate check ran green there. The branch can be deleted once #125 settles.

@hyperpolymath
hyperpolymath deleted the arena/a90f767d-df92-43cd-9976-e9eb37b5d749-metamanifold-webui branch October 15, 2026 08:39
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