Require a re-mint when diagnostic_version increases
メンテナーはふだん 1 日以内に返信
@lewisjared がすでに取り組んでいます。
2026年8月6日 から。
評価
この issue はまだ評価されていません。
説明
Summary
Prevent a version-only manifest.diagnostic_version update from allowing a stale regression baseline to pass the CI coupling gate.
Rationale
The current gate can accept this sequence:
Diagnostic.versionincreases.- A pull request updates only
manifest.diagnostic_versionto the new value. test_case_version,committed, andnativeremain unchanged.- The gate returns
SKIP.
This allows committed and native baseline data produced by the earlier diagnostic version to remain in use.
This behaviour predates #854. It is intentionally out of scope for that pull request.
Required changes
Update the regression gate policy so that an increase in diagnostic_version requires a re-mint-authorised baseline update. A test_case_version increase is one possible authorisation mechanism.
Add regression coverage for a version-only manifest edit. The test must verify that the gate does not return SKIP when diagnostic_version increases without the required baseline update.
Affected areas
packages/climate-ref-core/src/climate_ref_core/regression/gate.pypackages/climate-ref-core/tests/unit/regression/test_gate.py- Related regression-gate documentation, if the policy changes documented behaviour.
Acceptance criteria
- A
diagnostic_versionincrease cannot pass with unchangedtest_case_version,committed, andnativebaseline data. - The gate emits a clear failure or required-action result for this case.
- Unit tests cover the version-only manifest update.
- Documentation describes the final policy.
Backlinks
- Pull request: https://github.com/Climate-REF/climate-ref/pull/854
- Review discussion: https://github.com/Climate-REF/climate-ref/pull/854#discussion_r3732318995
Requested by @lewisjared.
- 主要言語
- Python
- スター
- 27
- フォーク
- 14
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Climate-REF/climate-ref のほかの issue
-
bug ESMValTool
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Climate-REF/climate-ref#951 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Climate-REF/climate-ref#701 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Climate-REF/climate-ref#442 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Climate-REF/climate-ref#991 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
Climate-REF/climate-ref#970 ·
メンテナーはふだん 1 日以内に返信
Climate-REF/climate-ref の issue をすべて見る
似ている issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yunaremaia/proto-drift#22 ·
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
yunaremaia/memwatch#96 ·
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
yunaremaia/ci-gate-watch#34 ·
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
yunaremaia/agent-capability-attestation#64 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
yunaremaia/agent-call-graph#43 ·
メンテナーはふだん 1 日以内に返信