Skip to content

実装: benchmark_layout dispatch (monolith/split) で gate-ready latency evidence (ci_runtime_baseline_v1) が構造的に一度も生成されずReliability close-gradeが常にfail-closedする問題を修正する #2589

Closed

Description

@squne121

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: workflow

Parent Issue

#2155

Parent Goal Ref

Current Validated Scope

  • .github/workflows/ci.yml の ci-verdict-summary job 内にある「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

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.yml

AC1/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-summary job以外の既存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

Activity

  1. added
    enhancement
    phase/implementation
    triage-required
    agent/implementer
    on Sep 8, 2026
  2. squne121 commented on Sep 8, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-09-08T15:14:10Z)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions