Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Conversation

@marandaneto
Copy link
Contributor

@marandaneto marandaneto commented Sep 7, 2020

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

ref: move init flag

💡 Motivation and Context

we don't want to delete envelopes that have a init session in it, so we move to the next envelope.

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing
  • No breaking changes

🔮 Next steps

discuss the TODO

@marandaneto marandaneto changed the title ref/move init flag ref: move init flag Sep 7, 2020
@marandaneto marandaneto changed the base branch from master to 3.0.0 September 7, 2020 10:21
}
// TODO: problem we need to update the current session file

// TODO: probably we need to update the current session file for session updates to because of
Copy link
Member

Choose a reason for hiding this comment

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

Agreed. This is a follow up PR?

Comment on lines 209 to 212
// TODO: if theres no more files with that session id, should we still delete it?
// that means the next session update will be init=false but the one
// with init=true will be deleted.
// either we don't delete it or we generate a new envelope only with that session.
Copy link
Contributor Author

@marandaneto marandaneto Sep 8, 2020

Choose a reason for hiding this comment

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

@bruno-garcia I added this comment just to discuss it here, but this is an acceptable thing as its a corner case, right? I mean, just to delete it.
I will remove the TODO though

Copy link
Member

Choose a reason for hiding this comment

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

yeah lets creeate something on asana to track but it's fine to just drop it.

I was going to comment to look into the open session but that's racey and anyway too much complexity to cover this. Happy with just removing it in this case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually this situation is described in the DACI, right, do we really need to create a ticket out of it? I mean, its something that we agreed on

@marandaneto marandaneto merged commit 33766f4 into 3.0.0 Sep 9, 2020
@marandaneto marandaneto deleted the ref/move-init-flag branch September 9, 2020 09:28
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.

3 participants