Skip to content

[PB-5858]: Properly propagate product changes on proper event on websocket#243

Open
AlexisMora wants to merge 2 commits intomainfrom
fix/pb-5858-optimze-product-availability-requests
Open

[PB-5858]: Properly propagate product changes on proper event on websocket#243
AlexisMora wants to merge 2 commits intomainfrom
fix/pb-5858-optimze-product-availability-requests

Conversation

@AlexisMora
Copy link

@AlexisMora AlexisMora commented Feb 12, 2026

What is Changed / Added

Now, we only check for products once at startup, and once the event 'PLAN_UPDATED' is recieved from websockets,
and event then, we only propagate the changes to the renderer proces only if the new, retrieved object is different from the one we already have stored.

Why

This way we reduce drastically the amount of requests we do for user product availability

@AlexisMora AlexisMora self-assigned this Feb 12, 2026
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
65.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@AlexisMora AlexisMora marked this pull request as ready for review February 12, 2026 17:11
@AlexisMora AlexisMora added the bug Something isn't working label Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants