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 FlowSession.modified_on #5816

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Add FlowSession.modified_on #5816

merged 1 commit into from
Jan 20, 2025

Conversation

rowanseymour
Copy link
Member

@rowanseymour rowanseymour commented Jan 17, 2025

To act as check for queued tasks that modify sessions but only if they haven't been modified since the task was queued.

We currently do this for wait timeouts by checking queuing the task with the wait timeout value and checking that against the db value, and we currently do this for expirations using the expiration value... but there's no similar check for sessions that are exited because they've expired but aren't resumable.

…ified sessions

but only if they haven't been modified since the task was queued.
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ca5b05a) to head (9c652a5).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #5816   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          455       456    +1     
  Lines        25078     25083    +5     
=========================================
+ Hits         25078     25083    +5     

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

@rowanseymour rowanseymour merged commit 70a94c6 into main Jan 20, 2025
5 checks passed
@rowanseymour rowanseymour deleted the session_modified_on branch January 20, 2025 14:10
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 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.

2 participants