Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FPA M0.5] Handle number_of_completions count when CTA Repeatability is not specified. #3592

Conversation

justinchou-google
Copy link
Contributor

b/376451935

After enabling a CTA as repeatable, it will continue to be returned in audienceActions of the article response even after completions. As such, even if a CTA config is missing any repeatabiltiy config, we still need to honor any number of completions recorded.

Added some fallback logic for FINITE repeatability count.

src/runtime/auto-prompt-manager.ts Outdated Show resolved Hide resolved
src/runtime/auto-prompt-manager-test.js Show resolved Hide resolved
@justinchou-google justinchou-google enabled auto-merge (squash) November 1, 2024 20:11
@justinchou-google justinchou-google merged commit af33f7c into subscriptions-project:main Nov 1, 2024
7 checks passed
@justinchou-google justinchou-google deleted the repeatability_edgecase branch November 1, 2024 20:13
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.

2 participants