feat(delivery): published SBOM versions reach the customers who accepted (#1028) #1065

Merged
sharang merged 1 commits from feat/sbom-delivery into main 2026-11-19 16:21:44 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 ae6b56f104 feat(delivery): published SBOM versions reach the customers who accepted (#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 5m46s
CI / Check (pull_request) Successful in 22m2s
The second half of phase 4's customer side (step 5 of the plan on #1028):

- publishing a version delivers it to every accepted, active release of the
  target; accepting an offer delivers the latest version at once;
- the connection is asked again right before each write into the customer's
  workspace (`ConnectionState::peer_of`), so nothing arrives after it or
  the release ended;
- a delivery is attached the way a supplier's upload is (`attach_upload`):
  it replaces the component's supplier SBOM, sets the supplier version to
  the label, and starts a scan;
- the offer keeps the content hash, label and time last delivered, so the
  same content is never delivered twice (an acceptance and a publication
  that race); the supplier's release shows the label and time.

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