Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Require a re-mint when diagnostic_version increases

オープン
#855 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 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:

  1. Diagnostic.version increases.
  2. A pull request updates only manifest.diagnostic_version to the new value.
  3. test_case_version, committed, and native remain unchanged.
  4. 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.py
  • packages/climate-ref-core/tests/unit/regression/test_gate.py
  • Related regression-gate documentation, if the policy changes documented behaviour.

Acceptance criteria

  • A diagnostic_version increase cannot pass with unchanged test_case_version, committed, and native baseline 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

Requested by @lewisjared.

主要言語
Python
スター
27
フォーク
14
平均マージ
1日 19時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Climate-REF/climate-ref のほかの issue

Climate-REF/climate-ref の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。