Resolve "Make Celery non-optional" #2136
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-Core!2136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "359-make-celery-non-optional"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #359
added 2 commits
572e67a2- Make celery dependencies non-optional.Compare with previous version
added 1 commit
Compare with previous version
requested review from @hansegucker
assigned to @nik and unassigned @debdolph
added 1 commit
41cd2ecc- Make celery non-optionalCompare with previous version
mentioned in issue #375
added 1 commit
Compare with previous version
added 1 commit
1e2d2d31- Drop DummyRecorderCompare with previous version
added 1 commit
Compare with previous version
marked this merge request as ready
@hansegucker: Please review and approve.
added 1 commit
36e6c33f- Use default ProgressRecorderCompare with previous version
Please keep this diff smaller by not re-arranging the order of dependencies.
Please keep this optional (you can still have the app in INSTALLED_APPS all the time, but not set the backend unconditionally).
This can be moved to the top of the file now, can't it?
Now, we of course need to ensure that all code locations that call a function that previously was an optional celery task call it with
transaction.on_commitand.delay().Maybe we should keep a wrapper that does this…
Adding the recorder to a task which should run in the background is superfluous and won't work here.
Adding the recorder to a task which should run in the background is superfluous and won't work here.
Adding the recorder to a task which should run in the background is superfluous and won't work here.
We should keep at least a wrapper for this little bit of magic.
mentioned in merge request !2139
added 9 commits
c9345e83- Refactor ProgressRecorder for non-optional Celery usage and add doc strings0bdf5664- Remove questionnable workaround for timing issuec81581cc- Simplify and rename task recording decoratora8400ce4- Update documenttion on ProgressRecorder0d35f974- Factor recorded_task out of class for brevityf2e29d79- Rework progress API to be more coherent with upstream and DRYaa176305- Add iterator interface to record progress from an iterable924b33a7- Remove unused importd7b52b1b- Merge branch 'fix/progress' into '359-make-celery-non-optional'Compare with previous version
added 3 commits
mastere2848cb8- Merge branch 'master' into 359-make-celery-non-optionalCompare with previous version
changed this line in version 10 of the diff
changed this line in version 10 of the diff
changed this line in version 10 of the diff
changed this line in version 10 of the diff
added 1 commit
Compare with previous version
added 1 commit
54df673c- Reduce size of diffCompare with previous version
added 1 commit
9e8b9077- Fix generation of record_task decorator with argumentsCompare with previous version
added 1 commit
1a208a92- Multiply calculated progress with 100 to get a percentageCompare with previous version
added 2 commits
c82be665- Replace default app Task with a task that runs on_commit5d34782c- Merge branch '359-make-celery-non-optional' of...Compare with previous version
added 1 commit
df5cc954- Fix task calling in decorator to not transport *argsCompare with previous version
added 1 commit
3bae1a9a- Make only message sending run on_commitCompare with previous version
We now delay the final AMQP message sending until commit.
resolved all threads
added 2 commits
4d65440b- Fix call of data checks7551d8e0- Merge branch '359-make-celery-non-optional' of...Compare with previous version
added 3 commits
57c1300b- Disable atomic requests4e53ed3c- Revert "Make only message sending run on_commit"d69e7ac6- Revert "Replace default app Task with a task that runs on_commit"Compare with previous version
approved this merge request
Now successful tested.
mentioned in commit
bbdb845474