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

add some resiliency around missed SSEs #1503

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

srabraham
Copy link
Member

@srabraham srabraham commented Jan 7, 2025

with my changes yesterday to only selectively update the Incidents page, i.e. only update one row at a time, it's even more important that we don't miss any SSEs. This change builds in some resiliency, by having the Incidents and Incident pages do more substantial reloads when an SSE is known to have been missed.

I'm not sure this is the final version of what I want in prod on playa, but I'd like to try this out in staging, where the network connection is less reliable for me than from localhost.

#1488

with my changes yesterday to only selectively update the Incidents page,
i.e. only update one row at a time, it's even more important that we
don't miss any SSEs. This change builds in some resiliency, by having
the Incidents and Incident pages do more substantial reloads when an
SSE is known to have been missed.

I'm not sure this is the final version of what I want in prod on playa,
but I'd like to try this out in staging, where the network connection
is less reliable for me than from localhost.
@srabraham srabraham enabled auto-merge (rebase) January 7, 2025 13:26
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.64%. Comparing base (e3b5a4c) to head (b18e540).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/ims/application/_eventsource.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1503   +/-   ##
=======================================
  Coverage   69.64%   69.64%           
=======================================
  Files         181      181           
  Lines        8998     8998           
  Branches     1494     1494           
=======================================
  Hits         6267     6267           
  Misses       2626     2626           
  Partials      105      105           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@srabraham srabraham merged commit b5c970d into master Jan 7, 2025
12 of 13 checks passed
@srabraham srabraham deleted the 2025-01-06-modal-style branch January 7, 2025 14:02
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