feat(releases): the next version's draft and each version's customers (#1028) #1066

Merged
sharang merged 3 commits from feat/sbom-version-draft into main 2026-11-19 17:36:23 +00:00
3 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 1ca85ca859 fix(sbom): a released SBOM's purls name no download or VCS address (#1028)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m25s
CI / Check (pull_request) Successful in 21m49s
Yocto recipes give pkg:generic purls a download_url or vcs_url
qualifier, which can name the supplier's own git server or feed. The
released document passed them on in purl and bom-ref. They are now left
out (download_url, vcs_url, repository_url); other qualifiers and the
subpath stay. A bom-ref that becomes a duplicate gets " (2)" appended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-19 18:05:08 +01:00
Sharang ParnerkarandClaude Opus 5.5 b05154adce fix(registry): a 404 for a tenant's connections lists none (#1028)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Canceled after 2m53s
CI / Agent integration (pull_request) Canceled after 2m54s
Before tenant-registry#138 the registry has no connections route; the
release screen would warn on every visit that connections cannot be
read. A 404 now lists no connections; other errors still answer 503.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-19 18:02:15 +01:00
Sharang ParnerkarandClaude Opus 5.5 da13aab408 feat(releases): the next version's draft and each version's customers (#1028)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m24s
CI / Check (pull_request) Successful in 21m25s
The supplier's release screen (mockup RL3h) shows what publishing now
would change and how many customers each version reached; neither was
in the API.

- GET /api/v1/targets/{id}/versions/draft: the next version's component
  count, the scan it comes from, and its additions, updates and removals
  against the latest published version (component_changes::diff over
  both released documents), with a few names. A target that cannot be
  published answers 200 with `blocked` (empty, too_many_components).
- Each version records the releases it was delivered over
  ($addToSet in deliver(), so acceptances after publishing count too);
  the list shows the count as `customers`.
- released_entries split out of released_document; the refusal codes
  are an enum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-19 17:34:06 +01:00