Skip to content

docs: WP-16 の GitHub Actions 実走観測の実績を計画書と ADR-065 に反映 - #345

Merged
aloekun merged 2 commits into
masterfrom
docs/wp16-observation-results
Aug 2, 2026
Merged

docs: WP-16 の GitHub Actions 実走観測の実績を計画書と ADR-065 に反映#345
aloekun merged 2 commits into
masterfrom
docs/wp16-observation-results

Conversation

@aloekun

@aloekun aloekun commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • ハーネス改善計画の WP-16 行と § 残作業を更新: 「初回実走の観測」(未来形) を、マージ済み・master 稼働中の現状と初回観測実績に置き換え、残作業を「観測継続 (cache 効率・flake)」に整理
  • ADR-065 の検証記録にあった「未観測」bullet を「未観測 (起票時点)」に改め、「実走観測 (2026-08-02 追記)」節を新設して観測実績を永続記録化

Context

Why: WP-16 (PR #342) マージ後に実走データが揃い、計画書と ADR の「実走は未観測」という記述が実態と乖離した。観測実績 — 特に「matrix が初回観測期間内に master 潜在の実バグ (pipeline_lock reclaim レース、PR #344 で修正) を捕捉した」事実 — は required check 化の判断材料であり、ADR-065 § 決定 5 の段階分けの妥当性を裏づける記録でもあるため、永続成果物側へ反映する。

記録した実績 (2026-08-01〜08-02): 6 run (PR 4 + master push 2) で success 5 / failure 1、run 時間 2.4〜4.4 分。failure 1 は flake ではなく実バグで、決定論再現 (red→green) により修正し、rebase 後の CI で両 leg 緑 (2 コア runner 上の 32×400 stress 含む) を実地検証済み。

Scope decision: post-merge feedback 採用候補 (#342/#343/#344 分) の判断は本 PR に含めない (次の docs バッチで別途)。本 PR は「既に確定した事実の記録同期」のみ。

Validation

  • pnpm lint:docs OK / markdownlint 対象 2 ファイル 0 error
  • pnpm push pre-push review: simplicity / security 両 approved (docs-only routing、pr_size 30 行)

References

Summary by CodeRabbit

  • ドキュメント
    • CIマトリクスの初回観測結果を追加しました。
    • 6回の実行で5件成功、1件失敗し、実行時間は2.4〜4.4分でした。
    • Windows環境で検出された実際の不具合を修正し、両OSでの再検証を完了しました。
    • CIの継続観測、必須チェック登録、Linux未検証項目の追跡計画を更新しました。

@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3b38b771-b00b-4e9b-b9c7-1f0554064e3e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

GitHub Actions の CI matrix 初回観測結果を ADR に追記しました。WP-16 の進捗と残作業も更新しました。pipeline_lock の不具合検出、修正、両 OS での再検証結果を記録しています。

Changes

CI matrix 観測記録

Layer / File(s) Summary
CI matrix 観測結果と計画の更新
docs/adr/adr-065-ci-matrix-cross-os-regression.md, docs/harness-improvement-plan.md
6 run の成功・失敗数、実行時間、Windows leg で検出した pipeline_lock の競合、修正後の再検証結果を記録しました。WP-16 の状態と、観測継続および required check 化の残作業を更新しました。

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed タイトルは、GitHub Actionsの実走観測結果を計画書とADR-065へ反映する主要変更を明確に示しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/wp16-observation-results

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Monitor 分析 (GitHub Actions バックストップ)

  • トリガー: issue_comment (created) / 実行 run
  • CI: pending — CodeRabbit (review in progress) / rust (ubuntu-latest) pending / rust (windows-latest) pending。失敗 check なし。
  • レビュー状況: CodeRabbit はレビュー未着 (in progress、待機しない)。人間レビュー・他 bot のレビューは 0 件 (reviewDecision 空、inline comments 0 件)。
  • Verdict: approved (現時点で applicable な指摘 0 件。ただし CI / CodeRabbit レビューは pending のため暫定)

Applicable Findings (Critical / High / Major)

該当なし (レビュー指摘 0 件)

Applicable Findings (Medium 以下)

該当なし

Filtered (not applicable)

該当なし

diff 概要

  • ADR-035 (docs-only) 該当: 変更ファイルは docs/adr/adr-065-ci-matrix-cross-os-regression.mddocs/harness-improvement-plan.md の 2 件のみ、いずれも docs/** の追記・更新でコード変更なし。
  • 内容: WP-16 (CI matrix) の GitHub Actions 実走観測結果 (初回観測期間 6 run、success 5 / failure 1、failure は PR fix(lib-jj-helpers): pipeline_lock reclaim の cache 済み content 再奪取レースを修正 #344 で修正済みの pipeline_lock reclaim レース) を ADR-065 に追記し、harness-improvement-plan.md の WP-16 ステータス・残作業を「観測中」の実績反映に更新。既存記述の削除・置換はなく追記中心。

次のアクション

  • CodeRabbit のレビュー完了と CI (rust ubuntu/windows) の結果確定を待って、新規の指摘が出れば次回サイクルで再分析する。
  • 現時点では blocking な問題なし。docs-only の追記内容であり、マージ判断は CI 完了後で問題ない。

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/adr/adr-065-ci-matrix-cross-os-regression.md`:
- Around line 156-159: Update the ADR passage around the “片 OS でしか検出できない欠陥”
classification to describe pipeline_lock as a defect exposed by runner
CPU/preemption conditions, not as an OS-specific third example. Preserve the
conclusion that required-check adoption was deferred because reproduction risk
depends on the execution environment, while removing the claim that Windows-only
detection establishes OS exclusivity.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 0dbe5a49-c96c-460a-96f6-9f8a627f3e04

📥 Commits

Reviewing files that changed from the base of the PR and between facd19d and fb7eebd.

📒 Files selected for processing (2)
  • docs/adr/adr-065-ci-matrix-cross-os-regression.md
  • docs/harness-improvement-plan.md

Comment on lines +156 to +159
- § コンテキストの「片 OS でしか検出できない欠陥」に、**matrix 自身が初回観測期間内に
3 例目を追加した**形になる。§ 決定 5 の観測フェーズ先行の判断も同時に裏づけられた
(最初から required check にしていれば、この競合の解明までの間、全 PR が確率的に
ブロックされ得た)。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

pipeline_lock の障害を OS 固有と分類しないでください。

Lines 152-155 describe reproduction under a 2-vCPU runner の preemption 条件です。Windows leg で検出された事実だけでは、Linux では検出できないとはいえません。

この記述は、pipeline_lock の問題を「片 OS でしか検出できない欠陥」の 3 例目と誤って分類します。runner の CPU / preemption 条件で顕在化した欠陥 と記録し、required check 化を遅らせる根拠は環境依存の再現リスクとして残してください。

修正例
-§ コンテキストの「片 OS でしか検出できない欠陥」に、**matrix 自身が初回観測期間内に
-3 例目を追加した**形になる。
+§ コンテキストに列挙した OS 差の欠陥に加え、**matrix 自身が初回観測期間内に、
+2 vCPU runner の preemption 条件で顕在化する 3 例目の欠陥を追加した**形になる。
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- § コンテキストの「片 OS でしか検出できない欠陥」に**matrix 自身が初回観測期間内に
3 例目を追加した**形になる。§ 決定 5 の観測フェーズ先行の判断も同時に裏づけられた
(最初から required check にしていれば、この競合の解明までの間、全 PR が確率的に
ブロックされ得た)。
- § コンテキストに列挙した OS 差の欠陥に加え**matrix 自身が初回観測期間内に
2 vCPU runner の preemption 条件で顕在化する 3 例目の欠陥を追加した**形になる。§ 決定 5 の観測フェーズ先行の判断も同時に裏づけられた
(最初から required check にしていれば、この競合の解明までの間、全 PR が確率的に
ブロックされ得た)。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/adr/adr-065-ci-matrix-cross-os-regression.md` around lines 156 - 159,
Update the ADR passage around the “片 OS でしか検出できない欠陥” classification to describe
pipeline_lock as a defect exposed by runner CPU/preemption conditions, not as an
OS-specific third example. Preserve the conclusion that required-check adoption
was deferred because reproduction risk depends on the execution environment,
while removing the claim that Windows-only detection establishes OS exclusivity.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Monitor 分析 (GitHub Actions バックストップ)

  • トリガー: pull_request_review (submitted) / 実行 run
  • CI: CodeRabbit review completed (pass) / rust (ubuntu-latest) pass (1m39s) / rust (windows-latest) pass (2m6s) / analyze pending (本 workflow 自身)。失敗 check なし。
  • レビュー状況: CodeRabbit が新規レビューを提出 (COMMENTED、submitted_at 2026-08-02T04:45:00Z、直近の分析コメント 04:44:11Z より後) — inline 指摘 1 件。人間レビューは 0 件 (reviewDecision 空)。他 bot のレビューなし。
  • Verdict: approved (project fitness filter 後、applicable な指摘 0 件)

Applicable Findings (Critical / High / Major)

該当なし

Applicable Findings (Medium 以下)

(該当なし)

Filtered (not applicable)

# File (Line) Issue Filter Reason
1 docs/adr/adr-065-ci-matrix-cross-os-regression.md (156-159) pipeline_lock の障害を「片 OS でしか検出できない欠陥」の 3 例目として分類しているのは誤りで、実際は runner CPU/preemption 条件に起因する旨の指摘 (Major) Scope mismatch: docs/adr/ 配下は read-only zone のため auto-fix 対象外 (.takt/facets/instructions/analyze-coderabbit.md Step 2)

次のアクション

  • CI は全 leg green (rust ubuntu/windows pass, CodeRabbit review completed) であり、blocking な問題なし。マージ判断可能。
  • フィルタされた CodeRabbit 指摘 (ADR-065 の「片 OS でしか検出できない欠陥」分類の妥当性) は auto-fix 対象外のため、記述の正確性を人間が要否判断する場合は次のローカルセッションで検討する。

…odeRabbit 指摘対応)

「片 OS でしか検出できない欠陥の 3 例目」という表現は、同節の「ubuntu leg にも
同じレースはある」という記述と矛盾していた (CodeRabbit Major 指摘、正当)。
レースは OS 固有ではなく 2 vCPU runner の preemption 条件で顕在化する欠陥であり、
matrix の検出力が OS 差だけでなく runner 環境の多様性に及ぶ実例として書き直した。
@aloekun
aloekun merged commit e79b863 into master Aug 2, 2026
3 checks passed
@aloekun
aloekun deleted the docs/wp16-observation-results branch August 2, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant