Closed nsklikas closed 1 month ago
Just one minor NONBLOCKING thing: I found the comments a bit unclear:
https://github.com/canonical/hydra/pull/26/files#diff-265e72885dd37a9d8c6f81e2c928b2bfad035cecd98051ef2f04ea88a56ed540R1229 https://github.com/canonical/hydra/pull/26/files#diff-265e72885dd37a9d8c6f81e2c928b2bfad035cecd98051ef2f04ea88a56ed540R1237
It would be nice to make them more clear.
These comments come from the upstream code, I will try to
Wrap the flow persistence and user_code invalidation in a transaction. This does not full solve the issue with having multiple flows persisted per user_code as need to fix https://github.com/canonical/hydra/issues/25 first.