Skip to content

Display usage warning from API#2102

Merged
ayushatstack merged 2 commits intomasterfrom
PPLT-4879
Feb 13, 2026
Merged

Display usage warning from API#2102
ayushatstack merged 2 commits intomasterfrom
PPLT-4879

Conversation

@ayushatstack
Copy link
Contributor

@ayushatstack ayushatstack commented Feb 6, 2026

https://browserstack.atlassian.net/browse/PPLT-4879
This pull request introduces a new feature that displays a usage warning when the Percy build API returns a usage-warning attribute. The implementation ensures that users are notified if their usage limits are exceeded, and includes comprehensive tests to verify this behavior.

Feature: Usage Warning Notification

  • Added logic in createSnapshotsQueue to check for a usage-warning attribute in the build response and log a warning if present.

Testing: Usage Warning Behavior

  • Added tests to verify that a usage warning is displayed when the usage-warning attribute is present in the build response, and not displayed when absent.

@ayushatstack ayushatstack merged commit 0c20e40 into master Feb 13, 2026
56 of 58 checks passed
@ayushatstack ayushatstack deleted the PPLT-4879 branch February 13, 2026 06:43
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