Skip to content

fix(bg/monetization): start only after all sessions ready#1352

Merged
sidvishnoi merged 2 commits intomainfrom
e2e-fix-multiple-payment-order
Apr 15, 2026
Merged

fix(bg/monetization): start only after all sessions ready#1352
sidvishnoi merged 2 commits intomainfrom
e2e-fix-multiple-payment-order

Conversation

@sidvishnoi
Copy link
Copy Markdown
Member

@sidvishnoi sidvishnoi commented Apr 14, 2026

Context

Regression from #1340.

In #1340, we started monetization and updated icon/status as soon as one session was ready. This added a lot of unpredictability based on timing on each session ready, and our E2E tests are failing since then.

Changes proposed in this pull request

Start monetization only after all sessions are ready, but update icon/status as soon as possible.
Essentially, revert a part of #1340, until we figure out a better strategy to make things more robust (and add more control in E2E tests too).

@sidvishnoi sidvishnoi requested a review from DarianM April 14, 2026 10:50
@github-actions github-actions Bot added the area: background Improvements or additions to extension background script label Apr 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

Extension builds preview

Name Link
Latest commit db2aaa8
Latest job logs Run #24444425058
Chrome (1.38MB)Download
Firefox (1.38MB)Download
Safari (2.32MB)Download

@sidvishnoi sidvishnoi mentioned this pull request Apr 14, 2026
3 tasks
@sidvishnoi sidvishnoi linked an issue Apr 14, 2026 that may be closed by this pull request
3 tasks
@sidvishnoi sidvishnoi merged commit d8c9303 into main Apr 15, 2026
12 of 13 checks passed
@sidvishnoi sidvishnoi deleted the e2e-fix-multiple-payment-order branch April 15, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: background Improvements or additions to extension background script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate broken E2E tests

2 participants