Repository navigation
fix: dispatch_workflow_run に reliability_experiment_identity input を配線する - #2593
Merged
squne121 merged 1 commit intoSep 8, 2026
Merged
Conversation
…線する (#2592) `.github/workflows/ci.yml` の workflow_dispatch は `reliability_experiment_identity` input を宣言しているが、dispatch_workflow_run() はこれを送信していなかった。 その結果、Playwright JSON reporter metadata に埋め込まれる experiment_identity が 常に空文字列となり、build_ci_reliability_assessment_v1.py の manifest 側 experiment_identity との照合が常に playwright_metadata_binding_mismatch で fail-closed していた(#2155 の44-run実dispatch検証で発見)。 reliability_evidence=True のときのみ、既存の experiment_id パラメータを reliability_experiment_identity として追加送信する(reliability_evidence=False の場合は既存の4キーのまま変更なし、完全後方互換)。#2585/PR #2586 の reliability_evidence 配線パターンを踏襲。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
3 tasks
Contributor
Preview URLPreview removed (PR #2593 closed). |
Owner
Author
PR Review 判定 (iteration 0)AC1-3全PASS、Allowed Paths gate OK、required CI全green、Closes #2592記載あり、scope creepなし。 verdict: APPROVE
reviewed_head_sha: "6357a202b921b705651ed5a5a0e070874203a65c"
blockers: []
warnings:
- "component-vrt-report (non-required) shows FAILURE, unrelated to this PR's scope."
- "PR remains Draft per Delivery Rule; not treated as a blocker." |
squne121
marked this pull request as ready for review
September 8, 2026 17:04
squne121
deleted the
worktree-issue-2592-reliability-experiment-identity
branch
September 8, 2026 17:24
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
scripts/ci/collect_e2e_performance_benchmark.pyのdispatch_workflow_run()が.github/workflows/ci.ymlのworkflow_dispatch.inputs.reliability_experiment_identityを送信しておらず、reliability_evidence経由の real dispatch で Playwright JSON reporter metadata のexperiment_identityが常に空文字列になり、build_ci_reliability_assessment_v1.pyのplaywright_metadata_binding_mismatchfail-closed が常に発生していた問題を修正する(実装: run-experiment の workflow_dispatch が reliability_experiment_identity input を配線しておらずPlaywright metadata照合が常にfail-closedする問題を修正する #2592、親: 検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155)。dispatch_workflow_run()のreliability_evidence=True分岐に、既存のexperiment_idパラメータをinputs["reliability_experiment_identity"]として追加送信する変更を追加した(reliability_evidence=False/デフォルトの場合は追加しない、完全後方互換)。実装: collect_e2e_performance_benchmark.py の run-experiment が reliability_evidence input を配線しておらず Reliability track 全体が構造的にブロックされる問題を修正する #2585/PR feat: run-experiment に reliability_evidence input 配線を追加する #2586 のreliability_evidence配線パターンを踏襲。scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.pyに追加・更新した。Checks
pnpm typecheckpnpm lintpnpm testpnpm build(本 PR は
scripts/ci/**の Python のみの変更であり pnpm 系の対象ファイルを含まないため、上記チェックは変更なし・影響なしとして確認済み。実際に実行した検証は下記「検証コマンド結果」を参照)Schema Change Applicability
not_schema_change.github/workflows/ci.ymlのworkflow_dispatch.inputs.reliability_experiment_identityは既に定義済みの input(実装: 実CI raw attemptsからReliability V1 close evidenceをproduction生成する #2424)であり、本 PR はその既存 input を dispatch 側から利用するようになるだけで、schema(producer-consumer 境界をまたぐ machine-readable contract)自体の定義は変更しない。Schema Consumer Inventory
N/A(
not_schema_changeのため)。Safety Claim Matrix
N/A
reason: 本 PR は CI orchestration script(
run-experimentサブコマンドの dispatch input 配線)の変更であり、安全境界・権限・サンドボックス・transport・auth・MCP・native tools・approvalMode・runtime verification・workflow gate のいずれにも該当しない。Notes
dispatch_workflow_run()へのreliability_experiment_identityinput 配線のみ。.github/workflows/ci.yml側の変更(input 自体は既存定義のまま)、build_ci_reliability_assessment_v1.pyの metadata binding 検証ロジック変更、44-run(blocks=22)本実行そのものはスコープ外(Issue 実装: run-experiment の workflow_dispatch が reliability_experiment_identity input を配線しておらずPlaywright metadata照合が常にfail-closedする問題を修正する #2592 の Out of Scope に準拠)。## Runtime Verification Applicabilityはnot_applicable(Issue 実装: run-experiment の workflow_dispatch が reliability_experiment_identity input を配線しておらずPlaywright metadata照合が常にfail-closedする問題を修正する #2592 本文の decision に準拠。実 workflow_dispatch による reproduction は本 Issue 起票前に既に実施済みで、本 Issue 自体は Python 関数の単体修正と pytest 検証のみに限定される)。受け入れ条件の達成状況
dispatch_workflow_run(..., reliability_evidence=True, experiment_id="foo")の dispatchinputsdict に"reliability_experiment_identity": "foo"が含まれることをtest_dispatch_workflow_run_reliability_evidence_true_adds_input_key(更新済み)で確認(1 passed)。reliability_evidence=False(デフォルト)の場合、inputsdict にreliability_experiment_identityキーが含まれないことをtest_dispatch_workflow_run_reliability_evidence_false_keeps_exact_four_keys(無修正)で確認(1 passed)。reliability_evidence関連テスト(実装: collect_e2e_performance_benchmark.py の run-experiment が reliability_evidence input を配線しておらず Reliability track 全体が構造的にブロックされる問題を修正する #2585/PR feat: run-experiment に reliability_evidence input 配線を追加する #2586 で追加)が変更なしで引き続き PASS することをファイル全件実行で確認(113 passed)。検証コマンド結果
Allowed Paths 遵守
変更ファイルは以下の2件であり、Issue #2592 の Allowed Paths と完全に一致します(Allowed Paths 外の変更なし):