Repository navigation
compliance(media-buy): run the four #7765 storyboards on non_guaranteed fixtures - #7770
Merged
bokelley merged 1 commit intoSep 30, 2026
Conversation
…guaranteed fixtures
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — test-fixtures-only compliance storyboard change with no blocking or medium findings.
This PR flips compliance storyboard delivery_type to non_guaranteed so sales-non-guaranteed-only sellers stop failing create_media_buy, following #5703/#5731/#7756 precedent. Only test fixtures (YAML scenarios) and a correct patch changeset are touched — no schema/wire/dist changes.
Verified:
- The metric_container_subsumption guaranteed↔non_guaranteed swap preserves every graded assertion.
- No discovery filter hard-codes guaranteed.
- revenue_share_pricing's
is_guarantee_basisis correctly un-conditioned ondelivery_type. - Correct patch changeset present; no dist artifact mutation; no schema↔docs drift.
Decision path: no critical/high/medium findings; gated_paths is false; high_risk is false; no author team gate. None of rows 1–8 fire → row 9 approve. (review_decision is REVIEW_REQUIRED, but with gated_paths false that does not force escalation.)
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7765.
Summary
Follow-up to #7754 / #7756. Four more media-buy storyboards seeded only guaranteed fixture products, so a seller that declares only
sales-non-guaranteedcorrectly rejectscreate_media_buywithDELIVERY_MODE_NOT_SUPPORTEDand every later step cascades toprerequisite_failed. None of the four grades guaranteed semantics:delivery_reporting— grades schema compliance ofget_media_buy_deliveryafter simulated delivery. All 3 fixture products ->non_guaranteed.advanced_delivery_reporting— grades requested-metric narrowing and format-grain reporting. Fixture product ->non_guaranteed.revenue_share_pricing— grades contingent revenue-share discovery, commitment withoutbid_price, and usage reconciliation. Fixture product ->non_guaranteed;is_guarantee_basison the measurement window is kept (not conditioned ondelivery_type, same treatment asbilling_finality_deliveryin fix(compliance): make four media-buy storyboards runnable by non-guaranteed sellers #7756).metric_container_subsumption— grades the metric container-subsumption rule, but deliberately usesdelivery_typeto disambiguate the container-declaring product from its leaf-declaring sibling. Instead of gating, the two products' delivery types are swapped (container ->non_guaranteed, leaf ->guaranteed) and the discovery filter now filtersnon_guaranteed. Every graded assertion is preserved: the guaranteed leaf product is still excluded by delivery_type rather than byrequired_metrics, the match stays deterministic, and the negative phase is untouched (its filter has nodelivery_type).Pricing stays
fixed_price(contingent forrevenue_share_pricing) — none of the create steps sends a bid, per the issue's option (a). Storyboard versions bump to 1.0.1 with a patch changeset. Test fixtures only; no schema or wire changes.How tested
delivery_typereference in all four files; confirmed no discoverysample_request.filtershard-codesguaranteedin these scenarios (the Four media-buy protocol storyboards are unrunnable by sales-non-guaranteed-only sellers (guaranteed-only fixtures, no applicability gate) #7754 review blocker), and no other repo file references these fixture products.metric_container_subsumption: verified the phase-1 filter, expected text, andproducts[1]absence validation all stay consistent under the swap, and the phase-2 create now runs on a non_guaranteed product.