Repository navigation
fix(compliance): honor legacy inline creative asset slots - #8798
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — compliance-scenario fix with clean wire-shape posture.
What I checked:
- Legacy inline manifests now build from the captured format's required slots via
$build_assets_from_format(head L414) instead of hard-codedimage/click_url; legacy phases moved ahead of canonical ones withresponse_projection: rawpreserving authored legacy refs. - New
requires: test_kit_format_catalog_runner(head L9) is satisfied by the @adcp/sdk 17.0.0-beta.17→beta.19 bump; package-lock changes only that package's version/tarball/integrity, and package.json top-level version is untouched (no hand-edited version — changeset-sourced). - No
static/schemas/source/**,dist/**, or wire-shape changes, so no schema↔docs coherence, oneOf discriminator, or released-artifact immutability concern applies. patchchangeset present and correctly scoped.legacy_format_inline_path(head ~L365) is non-optional withskip_if: "!context.legacy_format_id_value"(head ~L368), so it only runs when a usable legacy ref was captured — safe.- Fail-closed behavior on mixed canonical+legacy with missing operator fixture is documented and tested (fixture_unavailable coverage gap), surfaced rather than hidden. 80 new test lines cover slot-ID fidelity, fixture gaps, canonical-only, unsupported-update preflight, and malformed-catalog visibility.
No critical/high/medium findings. gated_paths false, high_risk false, no author team gate, no prior decision. Note: review_decision is REVIEW_REQUIRED, but gated_paths is false so row 2 does not apply. Falls through to row 9.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — version-sync consistency fix, no blocking findings.
This PR bumps the SDK to 17.0.0-beta.19 across package.json, package-lock.json, the changeset, and syncs scripts/sdk-response-conformance/known-findings.json to match. Delta since the prior approve is a single-line consistency fix in mutable tooling (not a released dist artifact). Changeset is present; no wire/schema change, no oneOf regression, no spec↔docs drift, no immutable-artifact modification.
Gate checks: author is not on any no-auto-approve team; gated_paths is false; high_risk is false. Prior decision was approve, and the current run surfaces no critical/high/medium findings. None of decision-table rows 1–8 fire, so this falls through to row 9 → approve.
|
Ladon cannot review this PR until merge conflicts are resolved. |
Legacy inline-creative manifests hard-code
imageandclick_urleven when the captured format declares different slots. Build both create/update manifests from the operator-supplied exact legacy format declaration, and preserve raw legacy discovery/readback so media-buy-only sellers can be tested without Creative Protocol tools.Prepare both legacy manifests before any legacy or canonical purchase. Missing or unsupported fixtures become explicit coverage gaps before purchases; malformed catalogs, seller refusals and readback failures remain visible. Canonical-only sellers retain their existing path.
This uses the published SDK beta.20 already adopted on main, which implements the declared
test_kit_format_catalog_runnerrequirement. The net change is limited to the storyboard, its regression tests and a patch changeset.Validation in Docker:
The training-agent storyboard matrix is checked by authoritative CI.
Refs #8632.