Repository navigation
ci(workflows): measured timeout-minutes on 17 jobs, PR-only concurrency on 11 workflows, a paths filter on check-links #24
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: Engine Split Metric (ADR-0076 D7) | |
| # Tracks the D7 repo-split trigger metric (#2462): the cross-package commit | |
| # ratio of the ObjectQL engine core (engine.ts / registry.ts). The engine may | |
| # only be extracted into its own repo once this ratio is low and stable | |
| # (~88% at ADR time). Report-only — no gate until a threshold is agreed | |
| # (ADR-0076 OQ#5); the ratio lands in the run's step summary. | |
| on: | |
| schedule: | |
| - cron: '17 3 * * 1' # weekly, Monday 03:17 UTC | |
| workflow_dispatch: {} | |
| pull_request: | |
| paths: | |
| - 'scripts/check-engine-split-ratio.mjs' | |
| - '.github/workflows/engine-split-metric.yml' | |
| permissions: | |
| contents: read | |
| # A newer run for the same pull request supersedes this one, so the older run is | |
| # cancelled. The group key is ci.yml's shape; `cancel-in-progress` is true only on | |
| # `pull_request`, so no other event's run is ever cancelled. The schedule and dispatch | |
| # runs share a group keyed on their own event and wait for each other instead. | |
| concurrency: | |
| group: engine-split-metric-${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.event.after || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| ratio: | |
| name: Engine cross-package commit ratio | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository (full history) | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Compute ratio (90-day window) | |
| run: node scripts/check-engine-split-ratio.mjs --days 90 |