Fix(state management): store state in global variable to allow the sc…#811
Merged
armanddidierjean merged 2 commits intomainfrom Sep 3, 2025
Merged
Fix(state management): store state in global variable to allow the sc…#811armanddidierjean merged 2 commits intomainfrom
armanddidierjean merged 2 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #811 +/- ##
==========================================
- Coverage 85.80% 85.79% -0.01%
==========================================
Files 179 179
Lines 12236 12244 +8
==========================================
+ Hits 10499 10505 +6
- Misses 1737 1739 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Malem38
approved these changes
Aug 31, 2025
Marc-Andrieu
approved these changes
Sep 2, 2025
58d7c5f to
df9f75d
Compare
…heduler to access db (#8) * Fix user batch invitation response model * Fix: add missing param in send_emails_from_queue_task * Get db directly using SessionLocal * Store state in global Python variable * Use arq 0.26.3 * Don't keep arq job results after completion to be able to queue new jobs with the same id * Cancel planned notification with the same job_id before queuing a new one * fixup state * Access GLOBAL_STATE in tests init * Remove unexpected state param while disconnecting * Lint * Parametrize test_factory fixture * Lint * Refactor test settings * Lint # Conflicts: # app/core/users/endpoints_users.py # app/types/scheduler.py # tests/test_myeclpay.py # tests/test_payment.py
df9f75d to
5867cfe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…heduler to access db (backport of ProximApp#8)
Fix user batch invitation response model
Fix: add missing param in send_emails_from_queue_task
Get db directly using SessionLocal
Store state in global Python variable
Use arq 0.26.3
Don't keep arq job results after completion
to be able to queue new jobs with the same id
before queuing a new one
fixup state
Access GLOBAL_STATE in tests init
Remove unexpected state param while disconnecting
Lint
Parametrize test_factory fixture
Lint
Refactor test settings