Skip to content

fix: version the diff-impact artifact and align README host claims - #453

Merged
sumithr merged 1 commit into
mainfrom
fix/154-version-diff-impact-artifact
Jun 21, 2026
Merged

sumithr merged 1 commit into
mainfrom
fix/154-version-diff-impact-artifact

Conversation

@sumithr

@sumithr sumithr commented Jun 21, 2026

Copy link
Copy Markdown
Owner

What

Addresses the AC#4 gap surfaced by the epic #154 acceptance review: .sumo-qa/diff-impact.json was the only artifact in the family shipping without a schema_version, while repo-map.json and qa-report-summary.json both carry "1.0".

Changes

  • Add a required schema_version: Literal["1.0"] to the DiffImpact model, mirroring RepoMap in the same module. An unversioned or version-drifted overlay now reads as invalid (the report loader degrades gracefully, never raises, and self-heals on the next analyze run) rather than being composed as if current, and a future schema bump becomes detectable.
  • Stamp the version at the sole producer (analyze_diff_impact) and in the snapshot-regen pipeline.
  • Correct the README host-support header: sumo-qa-install wires Claude Code and VS Code directly but only prints config to paste for the JetBrains hosts, so the prior "verified end-to-end with sumo-qa-install" overclaimed.

Scope note

Only the persisted artifact (DiffImpact) is versioned. The inline tool-return DiffImpactOutput is an ephemeral, changeset-bounded envelope that is never written to disk, so it is intentionally left unversioned.

Tests

  • New: DiffImpact requires schema_version; analyze_diff_impact output carries it (both the model attribute and the serialized JSON); an unversioned overlay and a drifted (9.9) overlay both read as invalid.
  • Full suite green at 100% coverage; golden HTML snapshots byte-identical (schema_version is metadata, not rendered); ruff check and format clean.

refs #154

diff-impact.json was the only .sumo-qa artifact without a schema_version, while repo-map.json and qa-report-summary.json carry "1.0". Add a required schema_version to the DiffImpact model (mirroring RepoMap) so an unversioned overlay reads as invalid rather than composed as current, and a future schema bump is detectable.

Also correct the README host-support header: sumo-qa-install wires Claude Code and VS Code directly but only prints config to paste for the JetBrains hosts, so the prior 'verified end-to-end with sumo-qa-install' overclaimed.

Addresses the AC#4 gap from the epic #154 acceptance review. refs #154
@sumithr
sumithr force-pushed the fix/154-version-diff-impact-artifact branch from d855abf to d33a5bf Compare June 21, 2026 14:33
@sumithr
sumithr merged commit b7d4bb2 into main Jun 21, 2026
32 checks passed
@sumithr
sumithr deleted the fix/154-version-diff-impact-artifact branch June 21, 2026 15:55
sumithr added a commit that referenced this pull request Jun 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.50.2](v0.50.1...v0.50.2)
(2026-06-21)


### Bug Fixes

* version the diff-impact artifact and align README host claims
([#453](#453))
([b7d4bb2](b7d4bb2)),
closes [#154](#154)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant