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

Allow expirations and timeouts to resume sessions for stopped and blocked contacts #601

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

rowanseymour
Copy link
Contributor

@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #601 (a1e56d8) into main (a143513) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #601      +/-   ##
==========================================
+ Coverage   61.77%   61.78%   +0.01%     
==========================================
  Files         127      127              
  Lines        8952     8950       -2     
==========================================
  Hits         5530     5530              
+ Misses       2555     2554       -1     
+ Partials      867      866       -1     
Impacted Files Coverage Δ
core/tasks/handler/worker.go 49.04% <ø> (+0.23%) ⬆️
core/tasks/expirations/cron.go 51.80% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a143513...a1e56d8. Read the comment docs.

assertdb.Query(t, db, `SELECT status FROM flows_flowsession WHERE id = $1;`, s5ID).Columns(map[string]interface{}{"status": "X"})
assertdb.Query(t, db, `SELECT status FROM flows_flowrun WHERE id = $1;`, r6ID).Columns(map[string]interface{}{"status": "X"})
assertdb.Query(t, db, `SELECT status FROM flows_flowrun WHERE id = $1;`, r7ID).Columns(map[string]interface{}{"status": "X"})
// blocked contact's session and runs sshould be unchanged because it's been queued for resumption.. like any other contact
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should

@rowanseymour rowanseymour merged commit 0bd932b into main Mar 21, 2022
@rowanseymour rowanseymour deleted the resume_for_inactive branch March 21, 2022 14:48
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.

2 participants