Skip to content

Store progress indicator into files #19838

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.

Description

Storing the progress indicator into the session was blocking the ability to delegate to the progress storage the responsability of generating a unique key. Indeed, it was not possible to send before the end of the operation using a flush() operation because we had to play with session open/close state to store the progress and it cannot be done after a flush().

Delegating the key generation to the progress storage will permit to be sure that it is impossible to use conflicting keys due to a copied/pasted piece of code or due to the usage of a static key for operations that can be executed in parallel (e.g. massive actions from multiple users).

@cedric-anne cedric-anne added this to the 11.0.0 milestone May 28, 2025
@cedric-anne cedric-anne self-assigned this May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant