Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Require a re-mint when diagnostic_version increases

Aperta
#855 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@lewisjared ci sta già lavorando.

Dal 6/8/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
27
Fork
14
Merge medio
1g 3h
PR unite (30g)
35

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Climate-REF/climate-ref

Tutte le issue di Climate-REF/climate-ref

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.