Repository navigation
fix(compliance): skip image-only creative phases for tag and VAST sellers in dependency impairment (3.2.x backport) - #8847
Conversation
…lers in dependency impairment dependency_impairment and dependency_impairment_cardinality send a fixed 300x250 image creative against the first product's first format option. A seller whose option is a display_tag or video_vast format correctly refuses that manifest and was failed for it (adcp#8770). The creative phases now run only when the selected format_kind is image. For any other kind they are skipped, so the storyboard no longer fails a seller that refuses an asset its format does not take. Image sellers run both storyboards unchanged (training agent: 15/15 and 23/23 steps). $build_assets_from_format is not used here yet: on canonical formats the SDK builder reads only explicit params.slots, so a params object that relies on the canonical default slots leaves the directive unresolved and the step is skipped as prerequisite_failed. That needs the follow-up SDK work for canonical default slots and tag/VAST fixtures. Refs #8770 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean 3.2.x backport of #8841 with no blocking or medium findings.
Reviewed: adds skip_if: "context.format_kind != 'image'" to creative-dependent phases in dependency_impairment.yaml and dependency_impairment_cardinality.yaml, moving creative sync/assign/force steps out of setup into a gated phase so setup grades only get_products + create_media_buy. This stops false-failing tag/VAST sellers on a fixed 300x250 image manifest. The restructuring is symmetric across both files; the gate reads format_kind from get_products context_outputs; the patch changeset is correct for a compliance-asset bug fix that loosens grading with no wire-shape break. New tests/creative-format-gate-compliance.test.cjs enforces the gate invariant and asserts display_tag/video_vast sellers never receive sync_creatives. The documented coverage tradeoff (non-image sellers get no impairment.coherence grading until runner support lands) is a deliberate PR-noted deferral, not a defect.
Gate checks: high_risk false; gated_paths false; no no-auto-approve team match; no prior decision. No critical/high/medium findings. Falls through to row 9.
|
HOLD: please don't merge into 3.2.x yet. The 3.2.9 release is partly published. The tag and GitHub Release are out, but the CDN upload stopped when another PR merged mid-publication, so |
Forward-merges the published 3.2.10 release (v3.2.10 = a6163fb, the 3.2.x head) and the three 3.2.x maintenance commits since v3.2.9: adcontextprotocol#8826, adcontextprotocol#8839 and adcontextprotocol#8847, released by the adcontextprotocol#8886 Version Packages merge. Release records: - dist/compliance/3.2.10, dist/schemas/3.2.10 and the signed dist/protocol/3.2.10.tgz tuple are taken from v3.2.10 unchanged. - dist/schemas/index.json and latest.json are regenerated (forward-merge-release-records.cjs schema-discovery). - CHANGELOG.md is main's file plus the 3.2.10 block (forward-merge-release-records.cjs changelog). - package.json, package-lock.json, static/schemas/source/index.json: main's. - static/compliance/published-versions.json: main's. 3.2.x's only extra entry is 3.2.10, which is registered in a separate commit after qualification. adcontextprotocol#8839 and adcontextprotocol#8847 are cherry-picks of main's adcontextprotocol#8838 and adcontextprotocol#8841. Their storyboards and tests auto-merged to main's bytes; nothing changes. Content conflicts, all from adcontextprotocol#8826 and all resolved to main's file. adcontextprotocol#8826 is an SDK 14 narrowing of adcontextprotocol#8336 and adcontextprotocol#8428 for the 3.2 runner; main carries both in full on SDK 17: - advanced_delivery_reporting.yaml: main's adcontextprotocol#8336 storyboard, with the adcontextprotocol#8376 price snapshot and the separate time_based_delivery_reporting scope. - collection_selection.yaml, owner_sold_channel_carriage.yaml: main's adcontextprotocol#8428 independently qualified catalog scopes. The 3.2.x side's native_collection_product discovery gate is dropped. - docs/reference/known-limitations.mdx: main's catalog reporting and collection bullets already state the scope and fixture_unsatisfied semantics the 3.2.x paragraph describes. - tests/sdk-runner-capability-gates.test.cjs: main's reporting gate test (both reporting storyboards). The 3.2.x single-storyboard variant is dropped. Auto-merge reverted: the non-conflicting adcontextprotocol#8826 collection gate test ("<name> grades only sellers whose catalog offers selectable collections") asserts the 3.2-only native_collection_product handle, which main's storyboards do not declare. Co-Authored-By: Claude Opus 5.5 <[email protected]>
What
This is the 3.2.x backport of #8841 (#8770): a cherry-pick of d3de491. It ships in the next 3.2.x patch.
On 3.2.x,
dependency_impairmentanddependency_impairment_cardinalitysend a fixed 300x250 image against the first product's first canonical format option. A seller whose option isdisplay_tagorvideo_vastrefuses that image and is failed for it. With this change, the creative sync, assignment and every later phase carryskip_if: "context.format_kind != 'image'". Discovery and buy creation are still graded, and image sellers run both storyboards unchanged.The storyboard source is identical to main's for these two files, so the YAML applied cleanly. The only conflict was
package.json. I kept 3.2.x'stest:auction-only-compliancescript and addedtests/creative-format-gate-compliance.test.cjsto it.#8841 explains why this uses gating rather than
$build_assets_from_format. In short, on canonical formats the SDK builder reads only explicitparams.slotsand fills atag_urlslot with the landing-page URL. The 3.1 line has its own adapted fix in #8846. That one covers the full storyboard list from the seller report.Verification
tests/creative-format-gate-compliance.test.cjs: 6/6 pass on 3.2.x's SDK 14.0.0-rc.53. Mockdisplay_tagandvideo_vastsellers are never sentsync_creativesand have 0 failed steps.run-storyboards.ts --filter dependency_impairment):dependency_impairment15/15,dependency_impairment_cardinality23/23 anddependency_impairment_audience11/11 pass, with 0 skipped.test:storyboard-*,test:compliance-*,test:sdk-runner-capability-gatesandtest:auction-only-compliancesuites pass. So dotypecheck, the changeset scope check andchangeset status(patch).test:unithas one failure, intests/addie/cross-publisher-frequency-docs.test.ts: "Missing Addie search snapshot for 3.2: 3.2.3". It comes from my local sparse checkout, which omits olderdist/docssnapshots, and is unrelated to this change.Refs #8770
🤖 Generated with Claude Code