Repository navigation
feat(creative): add playback events to pixel_tracker for hosted video and audio - #8111
Conversation
… and audio Adds start, first_quartile, midpoint, third_quartile and complete to the pixel_tracker event enum. v2->v1 downgrade drops them with PIXEL_TRACKER_LOSSY_DOWNGRADE. Includes ad-server mapping, 3.2 interim guidance, tests and changeset. Closes #8110 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths require human/CODEOWNERS review.
This PR adds five playback events (start, first_quartile, midpoint, third_quartile, complete) to the pixel_tracker event enum for 3.3, with accompanying schema, downgrade rules, error-code text, canonical format descriptions, tracker-execution-contract docs, migration guide, and tests. The reviewer found the changes internally consistent — schema↔docs coherence holds, the v2→v1 downgrade correctly drops playback trackers rather than mis-firing them as impression_tracker, the minor changeset is correct, no dist artifact mutation, and no oneOf regression. No Critical/High/Medium findings.
However, the PR modifies files under static/schemas/source/**, which is a hard, deterministic approval gate (gated_paths: true), and review_decision is REVIEW_REQUIRED — not APPROVED. Per decision rule row 2, the outcome must be escalate until a human/CODEOWNERS approval satisfies the gate.
Escalation reasons
- Modifies gated schema source files (
static/schemas/source/core/assets/pixel-tracker-asset.json,.../enums/error-code.json,.../enums/pixel-tracking-event.json,.../formats/canonical/audio_hosted.json,.../formats/canonical/video_hosted.json) — human/CODEOWNERS review required before merge.
No blocking code findings; this is purely a governance gate. Once review_decision becomes APPROVED, a clean re-run would approve.
Why human review
- Modifies gated schema source files under static/schemas/source/** (pixel-tracker-asset.json, error-code.json, pixel-tracking-event.json, audio_hosted.json, video_hosted.json) and review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required to satisfy the hard approval gate.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/assets/pixel-tracker-asset.json (modified) matches
static/schemas/source/**; static/schemas/source/enums/error-code.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/pixel-tracking-event.json (modified) matchesstatic/schemas/source/**; static/schemas/source/formats/canonical/audio_hosted.json (modified) matchesstatic/schemas/source/**; static/schemas/source/formats/canonical/video_hosted.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths require human/CODEOWNERS approval.
This PR modifies protocol source under static/schemas/source/** (pixel-tracker-asset.json, error-code.json, pixel-tracking-event.json, audio_hosted.json, video_hosted.json), which are under a hard, deterministic approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and auto-approve is not permitted (decision table row 2).
The reviewer found the change clean: a Normative (non-breaking) addition of five playback event values to the pixel-tracking-event enum, with a correctly-typed changeset present, schema↔docs coherence verified across all seven touched docs, no oneOf regression, immutable dist/** artifacts untouched, consistent downgrade semantics, and test coverage for positive/negative/downgrade cases. No Critical/High/Medium findings.
Because there are no blocking findings but the gated-paths hard gate is unmet, the outcome is escalate. A human/CODEOWNERS approval of the schema changes will satisfy the gate and allow this PR to proceed.
Escalation reasons:
- Touches gated protocol-source files under
static/schemas/source/**andreview_decisionisREVIEW_REQUIRED— human/CODEOWNERS review required to satisfy the hard approval gate.
Why human review
- Gated paths touched (static/schemas/source/**: pixel-tracker-asset.json, error-code.json, pixel-tracking-event.json, audio_hosted.json, video_hosted.json) with review_decision=REVIEW_REQUIRED — human/CODEOWNERS approval required to satisfy the hard approval gate.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/assets/pixel-tracker-asset.json (modified) matches
static/schemas/source/**; static/schemas/source/enums/error-code.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/pixel-tracking-event.json (modified) matchesstatic/schemas/source/**; static/schemas/source/formats/canonical/audio_hosted.json (modified) matchesstatic/schemas/source/**; static/schemas/source/formats/canonical/video_hosted.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rtile-pixel-events # Conflicts: # docs/reference/migration/3-2-to-3-3.mdx # docs/reference/whats-new-in-3-3.mdx
…rtile-pixel-events
…rtile-pixel-events
…rtile-pixel-events
…rtile-pixel-events
…rtile-pixel-events
…rtile-pixel-events
…rtile-pixel-events
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Closes #8110
Summary
start,first_quartile,midpoint,third_quartile,completetopixel-tracking-event.json(afteraudible_video_complete, beforeclick), withenumDescriptionsfor every value; each new value notes "Added in 3.3.0".PIXEL_TRACKER_LOSSY_DOWNGRADE(neverimpression_tracker); no other VAST events.pixel-tracker-asset.json:eventdescription, downgrade table rows, onefirst_quartileexample, non-applicability rule (ignored on formats with no playback timeline, likeviewable_video_50), and the note that the values are valid intracker-execution-selector.json.audio_hosted/video_hosteddescriptions now describe impression, playback and click pixels.canonical-formats.mdx,asset-types.mdx(with the non-normative GAMConversionEvent/ FreeWheel mapping table, FreeWheel has nostart),tracker-execution-contracts.mdx,channels/radio.mdx, 3.2→3.3 migration guide (interimevent: custom+custom_event_nameguidance for 3.2 buyers) and what's-new.docs/snippets/compliance-error-codes.mdx; changesetminor.Judgment calls beyond the issue text (from expert review)
customwithcustom_event_name= one of the five names) is also dropped on v1 downgrade, and the table says playback rows take precedence over the genericcustom/method: jsrows. Otherwise the recommended interim form would be emitted asimpression_tracker, the over-count the drop rule exists to prevent.complete: true, an unlisted selector is unsupported (tracker_contract_mismatch); "ignored" describes behavior without a contract. Selectors match exactly, so sellers listing both forms during the transition list the 3.3 event and thecustomselector.customform for sellers that don't advertise 3.3.Testing
tests/tracker-execution-contracts.test.cjs: enum order and descriptions, selector validity (and camelCase /custom_event_namerejection), downgrade-drop rows in the asset schema and the error-code rules. These fail with the enum change reverted.tests/canonical-negative-fixtures.test.cjs: valid fixtures for all five events and the interim custom form; rejectsfirstQuartileand a playback event carryingcustom_event_name(88/88 pass).test:error-codes,test:compliance-snippets(+--check),test:doc-compliance-drift,test:json-schema,test:examples,test:schema-utf8,test:platform-agnostic,test:oneof-discriminators,test:docs-nav,test:owned-links,schema-validation, enum-drift and format parity tests. Changeset scope check andchangesets statuspass.--no-verify: the local precommitfixed-trace-rollout-typecheck-wiringtest times out in this sandbox even on clean main. I did not run the full precommit.Follow-ups (not in this PR)
video_hosted/audio_hosteddon't declare a playbackpixel_trackerslot or a vocabulary asset-group id yet, so slot naming for these trackers is still open.custom" guidance to the 3.2.x docs as a non-normative patch.trackingUrlssits onBaseVideoCreative/BaseAudioCreative.🤖 Generated with Claude Code
Open workspace in Conductor