Repository navigation
fix: benchmark_layout=monolith|split dispatchでgate-ready latency evidenceを生成する - #2590
Merged
Merged
Conversation
…enceを生成する (#2589) `ci-verdict-summary` job (`ci_runtime_baseline_v1` gate-ready latency artifactの唯一のproducer) は `benchmark_layout != ''` のdispatchで entirely skipされるため、monolith/split測定runでgate-ready evidenceが 構造的に一度も生成されず、Reliability close-gradeトラックが常に `missing_gate_ready_evidence` でfail-closeしていた (monolith run 34240022910 / split run 34240026234 で確認済み)。 `ci-verdict-summary` job本体(`benchmark_layout==''`時の動作)は一切 変更せず、`benchmark_layout=monolith|split` 専用の新規job `ci-runtime-baseline-gate-ready`(`needs: [e2e]`)を追加し、同一の "Record gate-ready latency" / "Upload ci_runtime_baseline_v1" ロジックを duplicateする。artifact schema・名前・`"job": "e2e"` フィールドは既存 producerと完全に同一のため、既存consumer (`scripts/ci/collect_e2e_performance_benchmark.py` の `DEFAULT_BEFORE_JOB_NAMES`)との互換性を維持する。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
Preview URLPreview removed (PR #2590 closed). |
Owner
Author
PR Review 判定 (iteration 0)実装内容自体は妥当(AC4 actionlint PASS、AC1-3はruntime_only設計通りSKIP、Allowed Paths gate OK、diff内容がIssueの記述と一致、scope creepなし)。ただし verdict: REQUEST_CHANGES
reviewed_head_sha: "a561853d0423324bfb1d0c02a4b269af0f432eb5"
blockers:
- "AC3 violated: ci-verdict-summary job fails (overall_status='gh_error') because visual-impact-policy fails with 'no VISUAL_IMPACT_DECLARATION_V1 fenced block found'. .github/workflows/ci.yml is a META_POLICY_PATH requiring this declaration block per .github/pull_request_template.md. Fix: add a valid VISUAL_IMPACT_DECLARATION_V1 fenced yaml block to the PR body."
warnings:
- "PR is currently Draft; not itself a blocker."
- "visual-impact-policy-trusted also fails as a direct downstream consequence of the same root cause." |
Owner
Author
PR Review 判定 (iteration 1, re-review)前回blocker(VISUAL_IMPACT_DECLARATION_V1欠落)は解消済み。残るci-verdict-summary FAILUREは独立検証によりpre-existing・PR外要因(follow-up #2587/#2591で追跡中)と確認、non-required checkのためblocker化しない。 verdict: APPROVE
reviewed_head_sha: "a561853d0423324bfb1d0c02a4b269af0f432eb5"
blockers: []
warnings:
- "ci-verdict-summary (non-required) remains FAILURE; confirmed pre-existing on main (run 34238784703) due to missing CLASSIFICATION_MAP entries. Tracked by #2587 / #2591." |
squne121
marked this pull request as ready for review
September 8, 2026 16:19
This was referenced Sep 8, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ci-verdict-summaryjob(ci_runtime_baseline_v1gate-ready latency artifact の唯一の producer)はbenchmark_layout != ''の dispatch では entirely skip される。この結果、benchmark_layout=monolith|splitの測定 run では gate-ready evidence が構造的に一度も生成されず、tests/ci/test_ci_performance_gate.pyの production receipt builder が常にmissing_gate_ready_evidenceで fail-close し、Reliability close-grade トラック(検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 Phase 3〜Phase 7)が恒久的にブロックされていた(monolith run 34240022910 / split run 34240026234 の両方でci-verdict-summaryjob conclusion=skipped を実 dispatch で確認済み)。ci-verdict-summaryjob 本体(benchmark_layout==''通常 dispatch 時の動作)は一切変更せず、benchmark_layout=monolith|split専用の新規 jobci-runtime-baseline-gate-ready(needs: [e2e])を追加し、同一の "Record gate-ready latency" / "Upload ci_runtime_baseline_v1" ロジックを duplicate した。artifact schema・artifact 名(ci-runtime-baseline-e2e-gate-ready-<run_attempt>)・"job": "e2e"フィールドは既存 producer と完全に同一のため、既存 consumer(scripts/ci/collect_e2e_performance_benchmark.pyのDEFAULT_BEFORE_JOB_NAMES = ("e2e",))との互換性を維持する。jobs["e2e"]自体には手を加えていない(scripts/check-visual-artifact-pipeline.pyAC13 guard がjobs.e2eへの upload-artifact/download-artifact step 追加を禁止しているため、新規 job として切り出した)。Checks
uv run actionlint .github/workflows/ci.yml(AC4) — exit 0pnpm typecheck— 本 PR は.github/workflows/ci.ymlのみを変更するため非該当(changed paths が TypeScript ソースを含まない)pnpm lint— 同上、非該当pnpm test— 同上、非該当pnpm build— 同上、非該当uv run --locked pytest tests/ci/— 113 passed, 8 skipped(live.github/workflows/ci.ymlを構造 parse する既存テスト群、含むtest_ci_workflow_lane_partition.py/test_ci_reliability_production_wiring.py/test_visual_artifact_pipeline_e2e_core_ownership.py/test_verify_e2e_lane_partition.py)を回帰なしで PASSuv run python3 scripts/check-visual-artifact-pipeline.py .github/workflows/ci.yml— status: pass(jobs.e2eに upload/download-artifact step を追加していないことを確認)## Runtime Verification Applicabilityによりdecision: deferred(preflight-scope: runtime_only)。ローカル pytest では検証不能であり、benchmark_layout=monolith/benchmark_layout=splitの実workflow_dispatchによる runtime verification は本 PR review 後(または 検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 Phase 3〜Phase 7 再開時)に行うSchema Change Applicability
not_schema_changeci_runtime_baseline_v1schema(フィールド構成・artifact 名パターン)はそのまま再利用しており、schema 定義・キー集合・型は変更していない。producer job が 1 つ追加されるだけで、schema 自体の producer-consumer 契約に変更はない。Schema Consumer Inventory
N/A(
not_schema_changeのため)。Visual Impact Declaration(視覚影響申告)
本 PR は UI(DOM/CSS)コードを直接変更していないが、
.github/workflows/ci.ymlはscripts/agent-ops/resolve_visual_impact.pyのMETA_POLICY_PATHSに含まれる meta policy path であるため、resolve_visual_impact.pyのmeta_policy_change判定により登録済み全 surface(docs/dev/visual-surfaces.ymlのcombat-hud-running/combat-hud-critical)が保守的に affected として扱われる。両 surface とも実際のベースライン画像・コードは変更していないためverified_unchangedを申告する(disposition の正本は本ブロックではなく CI が独立生成するVISUAL_IMPACT_DECISION_V1であり、component-vrt-reportの canonical VRT 検証結果・evidence manifest binding で独立に検証される)。Safety Claim Matrix
ci-runtime-baseline-gate-readyは既存ci-verdict-summaryjob のbenchmark_layout==''(通常 dispatch)時の動作を一切変更しないuv run actionlintexit 0;uv run --locked pytest tests/ci/113 passed/8 skipped(ci-verdict-summaryjob の needs/steps を一切編集していないことを diff で確認)permissions: contents: readを継承するのみで、追加の書き込み権限・job-level permissions override を要求しない(既存ci-verdict-summaryjob と同一の権限モデル).github/workflows/ci.ymldiff(job-levelpermissions:ブロックを追加していない)jobs.e2e自体は編集していない(AC13 の視覚 artifact producer 契約 guard に抵触しない)uv run python3 scripts/check-visual-artifact-pipeline.py .github/workflows/ci.ymlstatus: passbenchmark_layout=monolith/splitの実 dispatch で gate-ready latency artifact が実際に生成される(AC1/AC2)workflow_dispatchを実行できないため未検証(Issue #2589## Runtime Verification Applicability: decision=deferred, preflight-scope: runtime_only)benchmark_layout=monolith/splitを実 dispatch してgh run view --json jobs/gh api .../artifactsで確認)記載ルール確認:
Not controlledが非空の行(AC1/AC2 runtime dispatch verification)について、PR title / summary で無限定のsafe/completeは使用していない(「実 dispatch で確認済み」は monolith run 34240022910 / split run 34240026234 という具体的な run ID に限定した過去の観測事実の記述であり、本 PR の変更自体の実 dispatch 結果ではない)。Notes
.github/workflows/ci.ymlのci-verdict-summaryjob から skip されていた gate-ready latency evidence 生成のみ(M4 スコープ外の CI performance インフラ変更)CI_TEST_PERFORMANCE_DECISION_V1