Skip to content

Add a comment-only configuration identity regression #130

Closed

Description

@ip332

Follow-up from A6 #104 / PR #128 readiness audit. All-issue title review and body search for comment-only found no equivalent follow-up.

Existing maintained tests cover reflective names, compiler metadata, source paths, configuration names, selection and QBS modes. They do not directly compare the identity of otherwise identical YAML configurations before and after comment-only edits.

Add a focused CLI regression using existing SchemaCompilerToolTest fixtures/helpers:

  • Compile an authoritative root and import closure, retaining IDs, full 128-bit --print-schema-id and minimal/reflective QBS bytes.
  • Change only valid YAML comments (including an imported unit), keeping schema declarations and configuration membership unchanged.
  • Assert IDs, full schema_id and both QBS byte streams remain identical.
  • Include a real wire-definition change as a negative control so an inert identity comparison cannot pass.
  • Use existing compiler/QBS APIs; do not introduce a second parsing or identity algorithm or duplicate the full five-language matrix.

Risk assessment: low residual coverage risk. Identity is computed from canonical resolved wire definitions rather than raw source; maintained metadata/path/reflection invariance tests provide indirect protection. A regression would cause spurious identity churn and configuration-guard failures; no current defect or unsafe decoding was demonstrated.

Recommendation: non-blocking test follow-up for v0.1.31-rc.1, subject to maintainer review; this is not an approved release exclusion and does not alter #85/#88 publication gates. No compiler/runtime behavior or identity-format change is requested.

Activity

  1. added
    area: tests
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: tests

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions