Repository navigation
feat(examples): update seller_agent.py to handle @adcp/[email protected] storyboard scenarios #782
Description
Background
@adcp/[email protected] (published 2026-05-21T14:29Z) shipped new storyboard scenarios that examples/seller_agent.py doesn't currently handle. The PR pinning the SDK version to 7.9.0 (#780) is the immediate fix; this issue tracks bringing the example forward to 7.10.x.
Failing scenarios on @adcp/[email protected]
From PR #780's initial CI attempt against 7.10.1:
-
media_buy_seller/measurement_terms_rejected/create_media_buy_aggressive_terms— expects error codeTERMS_REJECTED, seller returnsPRODUCT_NOT_FOUND. Either (a) the new scenario uses aproduct_idnot in the example's catalog (need to add it), or (b) the seller's error-code precedence is wrong (returningPRODUCT_NOT_FOUNDbefore reaching the measurement-terms-rejected branch). Read the scenario fixture in@adcp/[email protected]to determine which. -
media_buy_seller/invalid_transitions/update_unknown_package— expectsPACKAGE_NOT_FOUND, seller returnsMEDIA_BUY_NOT_FOUND. The seller's error-code precedence checks media-buy existence before package existence; the scenario expects the opposite ordering. Likely a spec clarification in 7.10.x — the package-existence check should happen first when both are missing.
Other failures cascade from these via prerequisite_failed (22 skipped steps in the failing run).
Acceptance
- Bump
ADCP_SDK_VERSIONin.github/workflows/ci.ymlfrom7.9.0→7.10.1(or latest). - All 4 storyboard runner jobs pass on the new version:
AdCP storyboard runner — examples/seller_agent.pyAdCP storyboard runner — examples/multi_platform_seller (PlatformRouter)AdCP storyboard runner — sales-proposal-mode (proposal_finalize)AdCP storyboard runner — v3 reference seller (translator)
- If the gap is a real spec change, file companion docs work; if it's an example-only catch-up, document in CHANGELOG.
Refs
- Pin PR: ci(adcp-sdk): pin @adcp/sdk to 7.9.0 (last known-green), salt cache key (closes #779 Track B) #780
- CI hygiene root: chore(ci): freeze reference seller fixture for cross-SDK interop per adcp#4907 Phase 1 #779
- RFC for bidirectional interop CI: RFC: bidirectional storyboard interop CI — @adcp/sdk releases gated on reference-impl conformance adcp#4907
- TS-side workflow companion: feat(ci): wire bidirectional storyboard interop CI per adcp#4907 Phase 1 adcp-client#1916
Notes
This is the exact scenario adcp#4907 Phase 1 is designed to surface earlier — once that lands, an @adcp/sdk release with new scenarios cannot ship without first being validated against the reference impl.
Activity
feat(examples): handle @adcp/[email protected] storyboard scenarios (closes #…