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

Remove no longer used session status EXPIRED #5829

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

rowanseymour
Copy link
Member

As far as the engine is concerned, a run can EXPIRE and that can COMPLETE a session. But we used to shortcut the engine and expire sessions directly so we'd set status = EXPIRED for those sessions.

We do INTERRUPT waiting sessions after 89 days and maybe it would be nicer to call that expiring them but at that point it doesn't really matter because the session object is about to be deleted. Maybe one day that will just be a TTL on a DynamoDB table?

@rowanseymour rowanseymour force-pushed the remove_session_expired_status branch from d65190f to d3e36b4 Compare January 27, 2025 20:40
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ee3275a) to head (d3e36b4).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #5829   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          462       463    +1     
  Lines        25186     25189    +3     
=========================================
+ Hits         25186     25189    +3     

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

@rowanseymour rowanseymour merged commit 0938476 into main Jan 27, 2025
5 checks passed
@rowanseymour rowanseymour deleted the remove_session_expired_status branch January 27, 2025 20:54
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant