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

How should specVersion evolve while the schema remains 0.0.0?

Chiusa
#69 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json

Direzione di ricerca

Start by comparing the written specification and embedded examples with examples/minimal.json, examples/with-retries.json, examples/comprehensive.json, and the normative conformance tests. Review the referenced Microsoft.Testing.Platform mapping files and the v1 roadmap. Done means documenting one authoritative specVersion value, a pre-1.0 bump policy, and an immutable revision or compatibility policy.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Producer context

Microsoft.Testing.Platform validates its CTRF mapping against the upstream specification and currently emits a hard-coded "specVersion": "0.0.0":

The current specification says:

  • its version is 0.0.0 and this corresponds directly to specVersion;
  • specVersion follows SemVer;
  • producers must use the highest CTRF version they fully support;
  • consumers should support PATCH changes within a MAJOR.MINOR version.

However, normative schema changes such as the identity model (PR #57, merged July 2026) and clarified retry history (PR #62, merged August 2026) were added while the specification and schema still identify themselves as 0.0.0. The specification header date is also still 2025-11-24. Discussion #30 asks about the v1 roadmap but has no answer.

Questions

  1. Does 0.0.0 mean “the latest revision on main”, or does it identify a fixed schema revision?
  2. When a normative field or constraint is added before 1.0, should specVersion receive a PATCH/MINOR bump (for example 0.0.1 or 0.1.0)?
  3. If all pre-1.0 revisions intentionally remain 0.0.0, how can a producer truthfully identify which schema revision it fully supports, and how can a consumer select the matching validator?
  4. Is there or will there be a tagged/released schema artifact, immutable schema URL, or separate revision identifier that producers should record?
  5. Until that exists, should producers pin a commit and still emit 0.0.0, or is there another recommended compatibility policy?

Why this matters

Two documents can both claim specVersion: 0.0.0 while conforming to materially different versions of the normative schema. MTP needs a stable contract for deciding when to update its mapping and tests, and CTRF consumers need a reliable way to interpret and validate reports. A brief pre-1.0 release/versioning policy would resolve this without requiring the project to commit to v1 immediately.

Additional conflicting version signals

The current repository also contains a stronger contradiction than the unchanged 0.0.0 header alone:

  • the standalone examples (examples/minimal.json, examples/with-retries.json, and examples/comprehensive.json) currently emit "specVersion": "1.0.0";
  • normative conformance tests also use "specVersion": "1.0.0";
  • the written specification and its embedded examples still identify the working draft as 0.0.0;
  • the roadmap still shows the v1 release as incomplete, and the repository has no tags or releases.

That leaves a producer unable to tell whether 1.0.0 is already the intended interoperable value, whether those examples are premature, or whether the specification header is stale. Clarifying the currently valid value would be especially helpful in addition to defining the future bump policy.

Lingua principale
Nessun dato sulla lingua
Stelle
99
Fork
4
Merge medio
1h 21m
PR unite (30g)
1

Preparare l'ambiente

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 ctrf-io/ctrf

Tutte le issue di ctrf-io/ctrf

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.