OPA Parity (Scheduled) #23
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: OPA Parity (Scheduled) | |
| # Scheduled full Native/OPA semantic parity run (GT-149, criterion 4). | |
| # Compiles topology policies to WASM with the pinned opa toolchain, then runs | |
| # the full parity gate across every accepted topology. Per-commit scoping runs | |
| # via the ci-runner; this guarantees a periodic full sweep. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| on: | |
| schedule: | |
| - cron: '0 6 * * *' # daily at 06:00 UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| parity: | |
| name: Native/OPA Semantic Parity (full) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm install --legacy-peer-deps | |
| - name: Compile OPA policies to WASM (pinned opa) | |
| run: npm run build:policy | |
| - name: Run full Native/OPA parity gate | |
| env: | |
| EVOLITH_PARITY_FULL: 'true' | |
| run: node .harness/scripts/ci/27-opa-parity-gate.mjs |