Repository navigation
Closed
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasetriage-requiredNeeds owner triage for priority decision
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: "#2155"
goal_ref: "benchmark_layout dispatch (monolith/split) で gate-ready latency evidence (ci_runtime_baseline_v1) を構造的に一度も生成せずReliability close-gradeが常にfail-closedする問題を修正し、#2155 のPerformance/Reliability close-gradeトラック(Phase 3〜Phase 7)を再開可能にする"
change_kind: workflowParent Issue
Parent Goal Ref
- Goal: 実装: CI: Playwright E2E の responsive matrix を専用 lane へ分離し critical path を短縮する #2119 AC9/AC10 の close-grade 実CI証跡を確認する(M5 delivery close verification)
- Desired Destination: Performance/Reliability close-gradeトラック(Phase 3〜Phase 7、blocks=22本番実験を含む)が正常に完走できる状態
Current Validated Scope
.github/workflows/ci.ymlのci-verdict-summaryjob 内にある「Record gate-ready latency (ci_runtime_baseline_v1)」ステップと「Upload ci_runtime_baseline_v1 (e2e aggregate gate-ready latency)」ステップの配置を変更し、benchmark_layout=monolith|splitの dispatch でも実行されるようにする
Remaining Parent Gaps
- 本 Issue 完了後、検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 の Phase 3〜Phase 7(blocks=22 本番実験含む)の実行そのものは別途再開が必要
-
tests/ci/test_ci_performance_gate.py/scripts/ci/build_ci_reliability_assessment_v1.py側のロジック検証(gate_ready_baselines 必須という既存設計そのものの妥当性)は本 Issue の Out of Scope
Outcome
.github/workflows/ci.yml を修正し、benchmark_layout=monolith|split でdispatchした際に e2e 集約job完了後に gate-ready latency (ci_runtime_baseline_v1) artifactが生成されるようになった状態。actionlint がPASSし、既存の通常dispatch(benchmark_layout='')での ci-verdict-summary job本来の動作(CI verdict集約)が変更されていないことを確認したPRがマージされている状態。
Runtime Verification Applicability
- decision: deferred
- reason: 本Issueはlive
workflow_dispatch実行を伴う検証が本質的に必要な変更であり、ローカルpytestでは検証不能。AC4(actionlint静的検証)はローカルで即時実行可能。 - deferred_destination: PR review後のruntime verification(AC1〜AC3のworkflow_dispatch実dispatch確認)
- deferred_verification_condition:
benchmark_layout=monolithおよびbenchmark_layout=splitでworkflow_dispatchし、e2e集約job完了後にgate-ready latency artifactが生成されることをgh run view --json jobsおよびgh api .../artifactsで確認できた時点
In Scope
.github/workflows/ci.ymlの gate-ready latency記録・アップロードステップ(「Record gate-ready latency (ci_runtime_baseline_v1)」「Upload ci_runtime_baseline_v1 (e2e aggregate gate-ready latency)」)の配置変更(benchmark_layout=monolith|split下でも実行されるようにする)- 既存の通常dispatch時のCI verdict集約(
ci-verdict-summary本体)の動作を壊さないことの確認
Out of Scope
tests/ci/test_ci_performance_gate.py・scripts/ci/build_ci_reliability_assessment_v1.py側のロジック変更(gate_ready_baselines必須という既存のfail-closed設計は正しく、変更しない)- 44-run(blocks=22)の実行そのもの
- reliability_evidence配線(実装: collect_e2e_performance_benchmark.py の run-experiment が reliability_evidence input を配線しておらず Reliability track 全体が構造的にブロックされる問題を修正する #2585/#2586で解決済み、対象外)
Acceptance Criteria
- AC1:
benchmark_layout=monolithでdispatchした際、e2e集約job完了後にci-runtime-baseline-e2e-gate-ready-<run_attempt>(または同等の)artifactが生成される - AC2:
benchmark_layout=splitでdispatchした際も同様にartifactが生成される - AC3:
benchmark_layout=''(通常dispatch)でのci-verdict-summaryjob本体の動作(CI verdict集約・既存のAC群)が変更されない(既存の関連テスト/CI checkが従来通りPASSすること) - AC4:
actionlintがPASSする(ワークフローYAML構文の妥当性)
Verification Commands
# AC1
# preflight-scope: runtime_only
$ gh workflow run ci.yml -f benchmark_layout=monolith
# AC2
# preflight-scope: runtime_only
$ gh workflow run ci.yml -f benchmark_layout=split
# AC3
# preflight-scope: runtime_only
$ gh workflow run ci.yml
# AC4
$ uv run actionlint .github/workflows/ci.ymlAC1/AC2はdispatch後、e2e集約job完了時にci-runtime-baseline-e2e-gate-ready-<run_attempt>相当のartifactが生成されることをgh run view --json jobsおよびgh api .../artifactsで確認する。AC3はdispatch後、ci-verdict-summary job本体のCI verdict集約が従来通り動作し、既存の関連CI checkがPASSすることを確認する。いずれもローカルpytestでは検証不能なためPR review後のruntime verificationに委ねる。
Allowed Paths
- .github/workflows/ci.yml
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
ci-verdict-summaryjob以外の既存job構成を変更する必要が判明した場合
Required Skills
- ci-test-performance
- GitHub Actions workflow YAML
Required Design References
- .claude/skills/ci-test-performance/SKILL.md
- docs/dev/workflow.md
Scope Delta(任意)
N/A
Notes for Reviewer
- このIssueの実装は
.github/workflows/ci.ymlを変更するため、着手前にci-test-performanceskill(.claude/skills/ci-test-performance/SKILL.md)を読み、PR evidenceとしてCI_TEST_PERFORMANCE_DECISION_V1を出力すること(リポジトリのPreToolUse hookが要求する)。 - 背景: 実装: frozen E2E benchmark を layout A/B/A/B dispatch 契約へ置換する #2422(canonical bounded orchestrator, CLOSED/COMPLETED), 実装: 性能ゲートの canonical cohort materialization と close-grade CLI を fail-closed 化する #2423(Performance close-grade receipt, CLOSED/COMPLETED), 実装: 実CI raw attemptsからReliability V1 close evidenceをproduction生成する #2424(Reliability close-grade assessment, CLOSED/COMPLETED), 実装: collect_e2e_performance_benchmark.py の run-experiment が reliability_evidence input を配線しておらず Reliability track 全体が構造的にブロックされる問題を修正する #2585/feat: run-experiment に reliability_evidence input 配線を追加する #2586(reliability_evidence配線修正、別の問題、MERGED/CLOSED)
- 推奨アプローチ(実装者はcode調査の上で最終判断してよい): 「Record gate-ready latency」「Upload ci_runtime_baseline_v1」の2ステップを、
e2e集約job(if: always()で既にbenchmark_layout dispatch下でも実行される)内に移動する、またはneeds: [e2e]の小さな専用jobとして切り出し、if:条件をbenchmark_layout==''に限定せず常時実行にする。既存のci-verdict-summaryjob本体(verdict集約ロジック)はそのままbenchmark_layout==''限定を維持する。 - fresh main
c84a7f0557dd46116023d75855edd774c16abfa8から monolith run 34240022910・split run 34240026234 を実dispatchし、両runともci-verdict-summaryjobがconclusion=skippedであることをgh run view --json jobsで確認済み。この結果、tests/ci/test_ci_performance_gate.pyのproduction CLIから構築したreceiptにmissing_gate_ready_evidenceが記録され、reliability-assessmentjob(run 34241616195)がprerequisite_incomplete: receipt.evidence_errors_contains_non_performance_only_reasonでfail-closedすることを確認済み。
Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasetriage-requiredNeeds owner triage for priority decision
Activity
squne121 commentedon Sep 8, 2026
implement-issue: 実装完了 (2026-09-08T15:14:10Z)
.claude/worktrees/issue-2589-ci-gate-ready-benchmarkworktree-issue-2589-ci-gate-ready-benchmark