Repository navigation
Conversation
Python 側のテストは書かれていたが CI が一度も走らせていなかったため、 scripts/ のガード(検証器・stats・附則キー)が全部素通りでマージできる 状態だった。lint / build と並ぶ独立ジョブとして追加する。 87 tests / 0.39s なのでパスフィルタは付けず全 PR で無条件に実行する。 tests/test_shipped_data.py が frontend/public/data/ の生成物を読むので、 「スクリプトを直したがデータを再生成し忘れた」ズレもここで落ちる。 Closes #17 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VXy5NU1LCXmEcZfew4ezSu
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
赤→緑の検算(実走)
破壊内容は 破壊コミットは 所要時間: |
This branch was successfully deployed
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.
何を直すか
tests/に 87 件のテストがあるのに CI が一度も実行していなかった。scripts/側のガード(AI 生成の検証器・compute_stats・附則キーの重複検出)が全部素通りでマージできる状態だった。
変更
.github/workflows/ci.ymlにtestジョブを追加(lint / build と並列)。astral-sh/setup-uv+uv run pytest -q。87 tests / 0.39s と軽いのでパスフィルタは付けず、全 PR で無条件に走らせる。
tests/test_shipped_data.pyがfrontend/public/data/のコミット済み生成物を読むため、「スクリプトを直したがデータを再生成し忘れた」ズレもここで落ちる。
検証
uv run pytest -q→ 87 passed / exit 0緑だけでは「pytest が本当にガードになっている」証拠にならないため。
(結果はこのPRのコメントに追記)
Gate3: 省略(CI 定義だが追加のみ・既存ジョブ / デプロイ経路 / 権限は不変。
実走による赤→緑の検算で閉じる — ユーザー裁定済み)
Closes #17
🤖 Generated with Claude Code
https://claude.ai/code/session_01VXy5NU1LCXmEcZfew4ezSu