Repository navigation
chore(deps): update @adcp/sdk to 15.8.1 - #8148
Merged
Merged
Conversation
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]>
Contributor
There was a problem hiding this comment.
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): addsadcp_reporting_obligation_tombstonesthat 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.
This was referenced Oct 12, 2026
Merged
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves
@adcp/sdkfrom15.2.0to15.8.1, the current npmlatest.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) queriesadcp_reporting_obligation_tombstonesunconditionally. Migration 620 copied the 15.2.0 ledger SQL and doesn't create that table, so withTRAINING_REPORTING_GCS_ENABLEDon, every planning cycle would fail with "relation does not exist".621_training_gcs_reporting_obligation_tombstones.sqlcopies the SDK 15.8.1 table and index SQL verbatim, uses 620's schema precondition, and is safe to run twice.training-gcs-reporting-postgres.test.tsfails 5/8 on 15.8.1 without 621 and passes 8/8 with it.TRAINING_GCS_TEST_DATABASE_URL, so CI won't catch this.Release-note changes that matter (15.2.1 → 15.8.1)
accountonget_products/get_media_buys/get_media_buy_deliveryetc. is now sent exactly as written, instead of being replaced by the captured natural key.media_buy_seller/stable_account_id(feat(accounts): add stable_account_id capability and clarify operator auth vs. principals #8123) fromlist_creativestoget_media_buys."3.2"pin and the runtime-compat test are unaffected.get_media_buy_deliveryreads returnREFERENCE_NOT_FOUNDfor references that can never resolve;@modelcontextprotocol/sdkpeer 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;CODE_VERSIONbumped);training-gcs-buyer.mjs;Historical references (the migration 620 header, runbook history, "baseline first recorded with…") are unchanged.
Left for a docs decision:
choose-your-sdk.mdxstill says "Exact3.2.1support" 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)test:sdk-response-conformance,sdk-implementation-metadata,sdk-runtime-compat,test:addie-tools,test:migrationssales_non_guaranteed,unprovisioned_account_referenceandaccount_change_feedall clean;reporting*storyboards: 124 passed;pagination_integrity*storyboards: 38 passed;🤖 Generated with Claude Code