refactor(timing): extract device-propagation waits under the 500-line… #12
Workflow file for this run
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
| name: "CI: Limitation Register" | |
| # The register gates run at pre-push (Tier 1), but a local hook only protects | |
| # the person who has it installed — a contributor PR or a push from another | |
| # machine reaches main ungated. This runs the same gates in CI, with no Swift | |
| # or Rust build: ripgrep over the sources, seconds not minutes. | |
| # | |
| # What it enforces: deferral prose ("is the follow-up", "not yet wired") is | |
| # banned unless the line carries a LIMITATION(registre#n) marker naming the | |
| # limited item and pointing at an issue in jfarcand/mirroir-carnet; the | |
| # 500-line file cap; inline clippy allows outside the declared list; and | |
| # feature-phases.yaml stays parseable. See .registre/README.md. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - '**.swift' | |
| - '**.rs' | |
| - '**.ts' | |
| - '**.tsx' | |
| - '**.js' | |
| - '**.mjs' | |
| - 'registre.toml' | |
| - 'feature-phases.yaml' | |
| - '.registre' | |
| - '.github/workflows/limitation-register.yml' | |
| pull_request: | |
| paths: | |
| - '**.swift' | |
| - '**.rs' | |
| - '**.ts' | |
| - '**.tsx' | |
| - '**.js' | |
| - '**.mjs' | |
| - 'registre.toml' | |
| - 'feature-phases.yaml' | |
| - '.registre' | |
| - '.github/workflows/limitation-register.yml' | |
| jobs: | |
| limitation-register: | |
| name: Limitation Register Gates | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # The gates live in the .registre submodule. | |
| submodules: true | |
| - name: Install ripgrep | |
| run: sudo apt-get update && sudo apt-get install -y ripgrep | |
| - name: Run the limitation register gates | |
| run: ./.registre/limitation-gates.sh Sources runner/src npm scripts website/src |