1- PLACEHOLDER
1+ name : PR126 promote ec511f53 Stage C evidence
2+
3+ on :
4+ push :
5+ branches :
6+ - agent/panel-p1-stage-c-covariance
7+ paths :
8+ - ' .github/workflows/pr126-promote-ec511f53-evidence.yml'
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : write
13+
14+ jobs :
15+ promote :
16+ runs-on : ubuntu-latest
17+ timeout-minutes : 25
18+ steps :
19+ - uses : actions/checkout@v4
20+ with :
21+ ref : agent/panel-p1-stage-c-covariance
22+ fetch-depth : 0
23+ - uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.11'
26+ - uses : actions/setup-node@v4
27+ with :
28+ node-version : ' 20'
29+ - name : Install validation dependencies
30+ run : python -m pip install pytest 'jsonschema[format]'
31+ - name : Audit and promote physical evidence
32+ run : |
33+ python -m py_compile .github/scripts/pr126_promote_ec511.py
34+ python .github/scripts/pr126_promote_ec511.py
35+ git diff --check
36+ - name : Regenerate deterministic benchmark assets
37+ run : |
38+ python dev/benchmarks/generate_benchmark_data.py \
39+ --out frontend/public/data/benchmark_data.json \
40+ --report frontend/public/data/parse_report.json \
41+ --inventory-out frontend/public/data/source_inventory.json \
42+ --deterministic --strict-sources
43+ cd frontend
44+ npm ci
45+ npm run build
46+ - name : Validate promoted contracts
47+ run : |
48+ python -m pytest \
49+ dev/tests/test_panel_stage_c_frontend_source.py \
50+ dev/tests/test_benchmark_catalog.py \
51+ dev/tests/test_benchmark_inventory_v2.py \
52+ dev/tests/test_frontend_domain_coverage.py \
53+ dev/tests/test_benchmark_frontend_data.py \
54+ dev/tests/test_panel_stage_c_physical_runner_contract.py \
55+ dev/tests/test_panel_stage_c_performance_runner_contract.py \
56+ -q --tb=short
57+ python dev/benchmarks/generate_benchmark_data.py --check --strict-sources
58+ git diff --check
59+ - name : Commit promotion and self-delete helpers
60+ shell : bash
61+ run : |
62+ git rm .github/workflows/pr126-promote-ec511f53-evidence.yml
63+ git rm .github/scripts/pr126_promote_ec511.py
64+ git config user.name 'github-actions[bot]'
65+ git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
66+ git add -A
67+ echo 'Promotion diff:'
68+ git status --short
69+ git diff --cached --check
70+ git commit -m 'chore: promote PR126 final ec511f53 physical evidence'
71+ git push origin HEAD:agent/panel-p1-stage-c-covariance
0 commit comments