Skip to content

chore(deps): update @adcp/sdk to 15.8.1 - #8148

Merged
bokelley merged 1 commit into
mainfrom
bokelley/sdk-15.8
Oct 12, 2026
Merged

bokelley merged 1 commit into
mainfrom
bokelley/sdk-15.8

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Moves @adcp/sdk from 15.2.0 to 15.8.1, the current npm latest.

One fix beyond the version pins: migration 621. From 15.5.0, the SDK reporting ledger (PostgresReportingLedgerStore.putObligation, plus the producer's retired-period read) queries adcp_reporting_obligation_tombstones unconditionally. Migration 620 copied the 15.2.0 ledger SQL and doesn't create that table, so with TRAINING_REPORTING_GCS_ENABLED on, every planning cycle would fail with "relation does not exist".

  • 621_training_gcs_reporting_obligation_tombstones.sql copies the SDK 15.8.1 table and index SQL verbatim, uses 620's schema precondition, and is safe to run twice.
  • Verified against a throwaway Postgres 16: training-gcs-reporting-postgres.test.ts fails 5/8 on 15.8.1 without 621 and passes 8/8 with it.
  • CI doesn't set TRAINING_GCS_TEST_DATABASE_URL, so CI won't catch this.

Release-note changes that matter (15.2.1 → 15.8.1)

  • Storyboard runner (adcp-client#3198, 15.8.0): an authored account on get_products / get_media_buys / get_media_buy_delivery etc. is now sent exactly as written, instead of being replaced by the captured natural key.
  • Embedded protocol: moves from 3.2.1 to 3.2.3 (the A2A signing errata). The training agent's "3.2" pin and the runtime-compat test are unaffected.
  • Smaller changes:
    • 408 and 429 responses during signing discovery are retried;
    • MCP session-cache reuse;
    • exact get_media_buy_delivery reads return REFERENCE_NOT_FOUND for references that can never resolve;
    • opt-in reporting extensions query their tables only when present;
    • the 15.8.1 fix for change-feed pages skipping entries at sequence boundaries (unused here).
  • No other dependency moves. The @modelcontextprotocol/sdk peer requirement is still ^1.31.0 (we have 1.32.1), and the new S3/Azure peers are optional.

Pins updated:

  • choose-your-sdk.mdx;
  • the Addie certification text (CODE_VERSION bumped);
  • the conformance baseline, re-recorded against 3.2.1: identical apart from the SDK version;
  • training-gcs-buyer.mjs;
  • three tests whose code under test reads the installed SDK version.

Historical references (the migration 620 header, runbook history, "baseline first recorded with…") are unchanged.

Left for a docs decision: choose-your-sdk.mdx still says "Exact 3.2.1 support" for the TypeScript SDK, which now embeds 3.2.3.

Test plan

  • npm run typecheck; pre-commit hook (749 server unit files across 3 shards)
  • Training-agent, storyboard, compliance and hosted-compliance vitest suites: 86 files, 2142 tests
  • GCS reporting Postgres integration test: 8/8 with 621
  • test:sdk-response-conformance, sdk-implementation-metadata, sdk-runtime-compat, test:addie-tools, test:migrations
  • Sales tenant storyboards on 15.8.1:
    • sales_non_guaranteed, unprovisioned_account_reference and account_change_feed all clean;
    • the 9 reporting* storyboards: 124 passed;
    • the 9 pagination_integrity* storyboards: 38 passed;
    • skips match 15.2.0.
  • Full storyboard matrix: CI

🤖 Generated with Claude Code

SDK 15.8.1's PostgreSQL reporting ledger adds the
adcp_reporting_obligation_tombstones table to REPORTING_LEDGER_MIGRATION
(15.5.0 period retention). PostgresReportingLedgerStore.putObligation and the
producer's listRetiredObligationOrdinals query it unconditionally, so with
only migration 620 (the 15.2.0 composer SQL) the opt-in training GCS
reporting runtime fails every planning cycle with "relation does not exist".
Migration 621 adds the table and index verbatim from the SDK, with 620's
namespace precondition. The disposable-PostgreSQL integration suite applies
it and passes 8/8 (5/8 failed without it).

The storyboard runner now preserves authored account IDs and natural keys
instead of replacing them with the account captured from earlier steps
(adcp-client#3198). The affected sales storyboards (account_change_feed,
unprovisioned_account_reference, budget_cap_timezone_*, reporting_*,
reliable_reporting_*, pagination_integrity*) produce identical results under
15.2.0 and 15.8.1 against the training agent.

Other changes since 15.2.0 are additive or opt-in for this repo: AdCP 3.2.3
embedded bundle (A2A signing errata), 408/429 signing discovery retries,
MCP session reuse that ignores per-call signal/timeout and correlation
headers, REFERENCE_NOT_FOUND for unresolvable exact delivery reads, and
row storage, change feed, retention and compaction behind options.

Also moves the exact current-version pins (SDK doc, Addie certification
text with CODE_VERSION bump, buyer evidence, provenance tests) to 15.8.1
and re-records the TypeScript conformance baseline: all 125 cases dispatched
with the same 3.2.1 artifact digest, counts and finding; only the SDK
version changed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@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 dependency bump (@adcp/sdk 15.2.0 → 15.8.1) plus a forward-fix, with no blocking or medium findings.

What I checked:

  • Migration 621 (server/src/db/migrations/621_...sql): adds adcp_reporting_obligation_tombstones that the 15.8.1 Core ledger reads unconditionally. Additive, idempotent (CREATE TABLE/INDEX IF NOT EXISTS), bounded (lock_timeout 5s / statement_timeout 60s), carries 620's schema-precondition guard verbatim. No-FK is correct since the tombstone outlives the ledger rows it records. Integration test loads 620→621 (8/8 passing). Judged as production-facing per repo convention — looks safe.
  • Changeset scope: no changes to static/schemas/source, docs/reference, task defs, compliance assets, or release scripts, so no changeset required; audit-oneof not implicated. Version pins updated consistently via tooling (no hand-edited package.json version).
  • High-risk flag: true, but reasons are two (modified) addie files and one (added) migration. No medium-or-higher findings on the modified files, so modifications are presumed safe; the added migration is normal scaffolding. No (deleted) entries.
  • gated_paths: false; no author-team gate; first review of this PR.

Non-blocking note (not reported as a finding): choose-your-sdk.mdx still reads "Exact 3.2.1 support" while the SDK now embeds 3.2.3 (signing errata, same 3.2 wire shape) — author flagged this as a deferred docs decision.

Decision path: no critical/high (row 1 n/a), gated_paths false (row 2 n/a), no deletions (row 3 n/a), no medium data-loss/schema/infra (row 4 n/a), no medium on modified high-risk file (row 5 n/a), no prior escalation (row 6 n/a), no team gate (row 7 n/a), fewer than 3 mediums (row 8 n/a) → row 9 approve.

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