Skip to content

chore(release): leave the rc channel for SDK 10.0.0 GA on next - #2003

Merged
bokelley merged 4 commits into
nextfrom
chore/next-sdk-10-ga-channel
Dec 4, 2026
Merged

bokelley merged 4 commits into
nextfrom
chore/next-sdk-10-ga-channel

Conversation

@bokelley

@bokelley bokelley commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Moves adcp on next from the rc channel to stable 10.0.0, mirroring #1567 (the 9.0.0 GA exit on main) on next's own release files. It ships right after @adcp/sdk 17.0.0.

Stacked on #2002 (adopt the signed AdCP 3.3.0 bundle). Merge that PR first. This PR's base is that PR's branch, so its diff shows only the channel change. Once #2002 squash-merges, retarget this PR to next (GitHub does this automatically if the branch is deleted on merge) and update the branch before merging. CI's pull_request trigger covers only main, next and a few named branches, so the full CI runs here only after the retarget. If this PR is retargeted before #2002 merges, the new guard test fails on purpose.

Merge note: the squash commit message must end with Release-As: 10.0.0. Make it the last line, after any Co-Authored-By: trailers, as in #1567 and #1976. The branch commit doesn't carry the footer, so check the message in the merge dialog. Release Please parses only the squash commit body. This PR touches no packages/adcp-reporting-storage/ path, so the footer applies only to adcp. The storage package stays on its 0.2.0-beta.N line.

Changes

  • release-please-config.next.json: remove versioning: prerelease, prerelease-type: rc and prerelease: true from the root adcp package. adcp-reporting-storage keeps its beta keys.
  • tests/test_release_configuration.py:
    • next's channel contract now asserts the stable channel for adcp (the storage assertions are unchanged);
    • a new guard, test_a_stable_sdk_channel_pins_a_stable_adcp_release, fails whenever the branch's root package is on the stable channel while src/adcp/ADCP_VERSION is a prerelease. It holds on top of feat(protocol)!: adopt the signed AdCP 3.3.0 bundle #2002 and fails on today's next (3.3.0-rc.3), so a stable 10.0.0 can't ship an rc spec pin.
    • tests/test_release_ci.py has no next- or channel-specific assertion, so it is unchanged. Its existing 9.0.0rc1 → 9.0.0 transition case covers 10.0.0rc9 → 10.0.0.
  • README.md: pip install adcp now gets SDK 10 (AdCP 3.3). Pin adcp>=9,<10 to stay on SDK 9.
  • RELEASING.md:
    • the branch table and the "Releasing from next" section describe the stable channel, the GitHub release (not a pre-release, marked Latest) and PyPI resolution;
    • a new section, SDK 10.0.0 shipped from next, records the deviation from Ratification. Until the merge, next releases stable 10.x and main releases stable 9.x;
    • what remains: the next → main merge (setting main's .release-please-manifest.json to next's newest release so main doesn't propose 10.0.0 again), release/9.x creation, deleting the next-only release files, and moving storage to main;
    • Ratification step 5 points there for SDK 10.
  • docs/releasing.md: SDK 10 releases, including 10.0.0, come from next until the merge, and later 9.x releases take GitHub's Latest badge (see below).

Release path checked end to end

  • scripts/normalize_pyproject_prerelease.py: its version regex only matches -alpha|beta|rc.N, so 10.0.0 passes through unchanged (pep440_prerelease("7.0.0") == "7.0.0" is already tested). No change.
  • .github/workflows/release-please-next.yml: nothing in it depends on the prerelease keys. The root release_created output still dispatches release-publish.yml --ref next -f package=adcp. Its header comment still says "10.0.0-beta.N pre-releases". That comment is stale but harmless; I left it alone, since workflow edits need a separate OK.
  • .github/workflows/release-publish.yml: no guard refuses a stable tag from next. The adcp tag check is ^v[0-9], the branch gate allows refs/heads/next, and the CI wait matches headBranch == next. The GitHub release is created by Release Please, not by this workflow. Without the prerelease keys, Release Please creates it with prerelease: false, and since it sends no make_latest, GitHub's default marks 10.0.0 Latest. No workflow change is needed.
  • scripts/check_companion_releases.py: the published adcp-reporting-storage 0.2.0b9 requires adcp>=10.0.0b24,<11, which accepts 10.0.0. Locally, check_companion_releases.py 10.0.0 --dist <wheel built from #2002> reports "storage contract 3 on both sides" and passes. The PostgreSQL round trip is skipped locally; CI's publish job has the service.
  • CI's packaged-schema assertion ({"3.0", "3.1", "3.1.15", "3.2", current_bundle}) resolves current_bundle to 3.3 for the GA pin, and the wheel built from feat(protocol)!: adopt the signed AdCP 3.3.0 bundle #2002 matches it.

Anything else that could make Release Please propose something other than 10.0.0

  • A squash without the footer. With the prerelease keys removed and no Release-As, Release Please's default strategy keeps the prerelease suffix when it bumps (MajorVersionUpdate / MinorVersionUpdate / PatchVersionUpdate all carry version.preRelease). The breaking commit from feat(protocol)!: adopt the signed AdCP 3.3.0 bundle #2002 would make the proposal 11.0.0-rc.9. If that happens, don't merge it: land an empty chore(release): release 10.0.0 commit whose message ends with Release-As: 10.0.0. The newest footer wins.
  • Merging the rc.10 release PR that feat(protocol)!: adopt the signed AdCP 3.3.0 bundle #2002 causes before this PR lands. It would publish 10.0.0rc10. That isn't fatal: this PR's footer still yields 10.0.0 afterwards. But it's an extra PyPI release, so don't merge it.
  • A later Release-As: commit. Release Please uses the newest footer, so any later commit on next with a different footer, before the release PR merges, would override this one.
  • Storage paths in this commit. None, so storage is unaffected.

After 10.0.0 (not in this PR)

  • A 9.x release from main will take GitHub's Latest badge from 10.0.0, because Release Please sends no make_latest and GitHub defaults to true. Either reset it by hand after each 9.x release, or add "make-latest": false to main's release-please-config.json in a PR against main.
  • Narrowing storage to adcp>=10.0.0,<11 and the ratification steps listed in RELEASING.md.

Verification

🤖 Generated with Claude Code

Pin src/adcp/ADCP_VERSION to 3.3.0, the AdCP 3.3 GA release, from the
audited, cosign-verified release: schemas/releases/3.3.0.json, source commit
90c34432d990 from the Fulcio certificate (the v3.3.0 tag, 77d5bcd5, is its
Version Packages descendant), bundle sha256 4592b26a4467. Resync the schema
cache, packaged compliance inputs and request-signing vector manifest from the
CDN with --require-signed-release, regenerate the types from the rc.3 tree and
refresh the public API snapshot. A stable release caches under the bundle key
3.3; the wheel ships schemas/cache/3.3 and _compliance/3.3.0, and the rc.3
trees stay in the repository as history.

3.3.0 bounds the arrays and strings that are new in 3.3 or experimental
(adcp#8512): the generated models enforce the 657 maxItems/maxLength limits,
including the TMP targeting_kvs key and value. The SDK ships no TMP router, so
no carve-out is taken. A seller must reject a manifest without
format_option_ref when two or more format_options share its format_kind
(adcp#8625), so find_declaration_by_kind raises FormatOptionRefRequiredError
instead of returning the first declaration of the kind. The account operator
is described as a registrable domain (adcp#8913) and SIGNAL_NOT_FOUND covers
signal_id only (adcp#8956); descriptions regenerated.

BREAKING CHANGE: the SDK pins AdCP 3.3.0 and speaks "3.3". It no longer
advertises or accepts 3.3-rc.3: get_supported_adcp_versions is 3.0, 3.1, 3.2,
3.3 and 3.2-rc.7; an adcp_version pin of 3.3-rc.3 or 3.3.0-rc.3 raises
ConfigurationError, and a peer that advertises only 3.3-rc.3 negotiates down
to 3.2. Re-pin to 3.3 or omit the pin. The generated models enforce the 3.3.0
maxItems/maxLength bounds on new and experimental fields, so payloads over
them fail validation. find_declaration_by_kind raises
FormatOptionRefRequiredError when several declarations share the kind and no
format_option_id is given. core.reporting_subscription.AccountId7 is removed;
destination overrides use AccountId.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from feat/adopt-adcp-3.3.0 to next December 4, 2026 08:58
Remove versioning: prerelease, prerelease-type: rc and prerelease: true from
the root adcp package in release-please-config.next.json, so the next adcp
release from next is stable 10.0.0 on the AdCP 3.3.0 GA pin. Flip next's
release-channel contract test and add a guard that a stable SDK channel never
ships a prerelease AdCP pin. README now says pip install adcp gets SDK 10, and
RELEASING.md records that SDK 10.0.0 ships from next ahead of the next to main
ratification merge, and what that merge still has to do.
adcp-reporting-storage stays on its 0.2.0-beta.N line.

The squash commit must end with the 10.0.0 release footer described in the PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bokelley
bokelley force-pushed the chore/next-sdk-10-ga-channel branch from 83ae0b3 to 9099a33 Compare December 4, 2026 08:58
@bokelley
bokelley merged commit db4d651 into next Dec 4, 2026
39 of 68 checks passed
@bokelley
bokelley deleted the chore/next-sdk-10-ga-channel branch December 4, 2026 09:44
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