Skip to content

Harden retention messaging contract tests for multi-page ownership and wire schema - #37

Merged
zelentsov-dev merged 1 commit into
developfrom
chore/retention-messaging-audit-tests
Nov 7, 2026
Merged

zelentsov-dev merged 1 commit into
developfrom
chore/retention-messaging-audit-tests

Conversation

@zelentsov-dev

Copy link
Copy Markdown
Owner

Summary

  • Expand RetentionMessagingContractTests for AssetsWorker (retentionMessageVersion) to cover 2-page pagination (links.next with target retentionMessage on page 2) for the owning app and rejection for a foreign app (app-foreign).
  • Add explicit negative assertions in retentionOffersAndInlinePrices verifying that legacy pre-spec keys (periods, eligibilitySubscriberDurationType, eligibilitySubscriberDurationInMonths, waitBetweenOffersInMonths) are absent from serialized POST /v1/retentionOffers and PATCH /v1/retentionOffers/{id} payloads and that all Apple 4.6 wire attributes decode on GET/PATCH.

@zelentsov-dev
zelentsov-dev merged commit d4227e6 into develop Nov 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant