-
Notifications
You must be signed in to change notification settings - Fork 16
33 lines (28 loc) · 1007 Bytes
/
Copy pathengine-split-metric.yml
File metadata and controls
33 lines (28 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
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