diff --git a/.changeset/inventory-list-targeting-sandbox-fixture.md b/.changeset/inventory-list-targeting-sandbox-fixture.md new file mode 100644 index 0000000000..b0b2b2d305 --- /dev/null +++ b/.changeset/inventory-list-targeting-sandbox-fixture.md @@ -0,0 +1,12 @@ +--- +--- + +fix(compliance): inventory_list_targeting — add `sandbox: true` to account fixtures + +The 5 account blocks across this scenario use the brand+operator natural-key variant of `AccountReference` but omit the `sandbox` flag. Sellers whose `accounts.resolve` has separate code paths for sandbox vs production refs end up routing `create_media_buy` and `get_media_buys` through different account-id namespaces, which breaks `mediaBuyStore` backfill of `targeting_overlay` and fails `verify_create_persisted` / `verify_update_persisted`. + +Setting `sandbox: true` on every account block keeps both create and get on the sandbox path, the round-trip becomes consistent, and the storyboard exercises what it intended to: targeting persistence across the create / get / update lifecycle. + +Non-protocol (storyboard fixture only). No version bump. + +Refs: adcp-client#1487 — follow-up to fix the underlying enricher asymmetry upstream so future storyboard authors don't trip the same wire. diff --git a/static/compliance/source/protocols/media-buy/scenarios/inventory_list_targeting.yaml b/static/compliance/source/protocols/media-buy/scenarios/inventory_list_targeting.yaml index 93e3e32627..9502c04168 100644 --- a/static/compliance/source/protocols/media-buy/scenarios/inventory_list_targeting.yaml +++ b/static/compliance/source/protocols/media-buy/scenarios/inventory_list_targeting.yaml @@ -68,6 +68,7 @@ phases: brand: domain: "acmeoutdoor.example" operator: "pinnacle-agency.example" + sandbox: true context: correlation_id: "inventory_list_targeting--get_products_brief" @@ -112,6 +113,7 @@ phases: brand: domain: "acmeoutdoor.example" operator: "pinnacle-agency.example" + sandbox: true idempotency_key: "inventory-list-targeting-create-v1" start_time: "2026-07-01T00:00:00Z" end_time: "2026-09-30T23:59:59Z" @@ -169,6 +171,7 @@ phases: brand: domain: "acmeoutdoor.example" operator: "pinnacle-agency.example" + sandbox: true media_buy_ids: - "$context.media_buy_id" @@ -212,6 +215,7 @@ phases: brand: domain: "acmeoutdoor.example" operator: "pinnacle-agency.example" + sandbox: true media_buy_id: "$context.media_buy_id" packages: - package_id: "$context.package_id" @@ -248,6 +252,7 @@ phases: brand: domain: "acmeoutdoor.example" operator: "pinnacle-agency.example" + sandbox: true media_buy_ids: - "$context.media_buy_id"