Skip to content

fix(compliance): register the published and qualified 3.1.33 hosted bundle - #8852

Merged
bokelley merged 2 commits into
mainfrom
fix/register-3.1.33-hosted-bundle
Nov 9, 2026
Merged

bokelley merged 2 commits into
mainfrom
fix/register-3.1.33-hosted-bundle

Conversation

@bokelley

@bokelley bokelley commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Warning

Do not merge until v3.1.33 is published and qualified. Today the 3.1.33 release workflow (run 42628362403) is waiting for human approval of #8848's committed release artifacts. Nothing is tagged or published yet.

Registers 3.1.33 for hosted grading. The hosted grader grades a seller that advertises 3.1 on the newest version registered in static/compliance/published-versions.json (server/src/services/hosted-compliance-version.ts). Merging this moves the stable 3.1 alias from 3.1.32 to 3.1.33. 3.1.33 is the release that stops failing tag- and VAST-only sellers on the 3.1 creative storyboards (#8846, adcp#8770).

This is a one-line addition, made with the canonical helper (registerPublishedVersion in scripts/register-published-compliance-version.cjs), which keeps the list in semver order. It follows the precedent of cb08793 (3.1.32, inside #8750). There is no changeset: check-changeset-protocol-scope.cjs reports no protocol-scoped changes, and the precedent commit had none.

Depends on the forward-merge PR

The manifest may only name versions whose dist/compliance/<version>/index.json is checked in. Those artifacts arrive with the 3.1.33 forward-merge PR, so this PR is stacked on forward-merge/3.1.x-3.1.33 and targets that branch. When the forward-merge PR merges, retarget this PR to main. GitHub does this automatically if the head branch is deleted.

Qualification checklist (run after publication, before merge)

From static/compliance/published-versions.json hosted_advancement_policy and docs/runbooks/hosted-compliance-bundle-advancement.md:

  • Release provenance.
    • gh release view v3.1.33 -R adcontextprotocol/adcp shows the tag and 4 assets: .tgz, .sig, .crt and .sha256.
    • The CDN tuple is byte-identical to dist/protocol/3.1.33.tgz* in the merged tree.
  • CDN bundle is really 3.1.33. Check that curl -fsS https://adcontextprotocol.org/compliance/3.1.33/index.json | jq -r .published_version prints 3.1.33. Do not stop at a 200: before publication this URL already returns 200 and serves the 3.1.32 bundle ("published_version": "3.1.32"), so a status check alone proves nothing.
  • Immutable artifacts on main. dist/compliance/3.1.33/ and dist/schemas/3.1.33/ match the 3.1.x release commit 590bbf672f. This PR does not edit them.
  • Pinned hosted SDK loads the bundle. Build the server, then run HOSTED_COMPLIANCE_SMOKE_APP_ROOT=<built app root> node scripts/smoke-hosted-compliance-runtime.mjs. It must print Hosted compliance runtime smoke passed for N published versions., with 3.1.33 included.
  • Selector regression tests pass: server/tests/unit/hosted-compliance-version.test.ts and server/tests/unit/storyboards.test.ts (caps hosted aliases at explicitly registered released compliance bundles).
  • node scripts/check-published-compliance-versions.cjs passes.
  • Optional: run a sampled hosted 3.1 storyboard against the reference sales tenant on 3.1.33, as fix(compliance): forward the published 3.1.32 release and update the hosted runner #8750 did for 3.1.32.

Already checked locally (structural only, not qualification)

These ran on the stacked branch with the 3.1.33 artifacts in the tree. They show the change is well formed. They are not qualification, which waits for publication.

  • node scripts/check-published-compliance-versions.cjs passes.
  • vitest run server/tests/unit/hosted-compliance-version.test.ts server/tests/unit/storyboards.test.ts passes (76 tests).

After merge, deploy, confirm that the runtime resolves 3.1 to 3.1.33, and ask the reporting seller to re-run the suite.

🤖 Generated with Claude Code

…undle

Do not merge until v3.1.33 is published (tag, GitHub release assets, CDN
bundle) and qualified with the hosted loader smoke.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Base automatically changed from forward-merge/3.1.x-3.1.33 to main November 9, 2026 18:51
@bokelley

bokelley commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Qualification for 3.1.33, run on this branch merged with main at 937401f (after the #8851 forward-merge):

  • Published: v3.1.33 tag = 590bbf672 = 3.1.x head. The GitHub Release has exactly 4 assets, and the .sha256 verifies. The CDN protocol/3.1.33.tgz is byte-identical to the release asset. CDN compliance/3.1.33/index.json reports published_version: 3.1.33. GitHub Latest stays v3.2.9.
  • Artifacts in tree: dist/compliance/3.1.33/index.json and dist/schemas/3.1.33/ arrived unmodified via chore(release): forward-merge AdCP 3.1.33 into main #8851.
  • node scripts/check-published-compliance-versions.cjs: passes.
  • Runtime smoke: smoke-hosted-compliance-runtime.mjs on the compiled server with the pinned @adcp/sdk 17.0.0-beta.21 passes for all 66 published versions, 3.1.33 included. The webhook-emission.yaml load warning predates this change; it appears the same way without 3.1.33.
  • Selector tests: hosted-compliance-version.test.ts and storyboards.test.ts pass, 76/76.
  • Alias check: 3.1 → 3.1.33. Exact pins are unchanged (3.1.32 → 3.1.32, 3.1.20 → 3.1.20).

@bokelley
bokelley marked this pull request as ready for review November 9, 2026 18:53

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — clean one-line addition registering version 3.1.33 in static/compliance/published-versions.json.

Checked:

  • Verified dist/compliance/3.1.33/index.json and dist/schemas/3.1.33 (bundled+core) are present on the base tree, so check-published-compliance-versions.cjs and assertHostedArtifacts pass.
  • versionSortKey ranks 3.1.33 > 3.1.32, so the 3.1 alias advances correctly in hosted-compliance-version.ts.
  • The manifest path is not in PROTOCOL_SCOPED_PATHS, so no changeset is required (matches 3.1.32 precedent).
  • No immutable dist artifact is modified; this is append-only registration, not a schema/wire change.

No reviewer findings. high_risk is false, gated_paths is false, and no author team gate applies. No critical/high/medium findings — falls through to row 9.

Note: the "do not merge until 3.1.33 is published/qualified" warning is a release/process gate, not a code finding, and does not change the mechanical outcome here.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — single-line addition of "3.1.33" to static/compliance/published-versions.json in correct semver position (between 3.1.32 and 3.2.0-beta.6).

Checked:

  • No critical/high/medium findings (rows 1–8 do not fire).
  • Not a mutation of an existing released artifact — this adds a new entry; backing artifact dist/compliance/3.1.33/index.json is present with "published_version": "3.1.33". Immutability rule preserved.
  • No changeset required — hosted-grading registration, not a wire/schema change, matching the 3.1.32 precedent.
  • high_risk: false; gated_paths: false; review_decision: APPROVED; no no-auto-approve team match.
  • Prior decision was approve; this delta is a clean one-line continuation.

The "do not merge until published/qualified" note is a release go/no-go governance step for a human merger, not a code-correctness blocker. Falls through to row 9.

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