Send notification content through Firebase and add an Arq scheduler#613
Send notification content through Firebase and add an Arq scheduler#613armanddidierjean merged 113 commits intomainfrom
Conversation
e9e646b to
07a5ce5
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #613 +/- ##
==========================================
- Coverage 81.31% 80.99% -0.33%
==========================================
Files 129 130 +1
Lines 10013 10116 +103
==========================================
+ Hits 8142 8193 +51
- Misses 1871 1923 +52 ☔ View full report in Codecov by Sentry. |
armanddidierjean
left a comment
There was a problem hiding this comment.
We should add a test that tries to defer a method using the scheduler
| ) | ||
| scheduler_logger.debug(f"Job {job_id} queued {job}") | ||
|
|
||
| async def queue_job_defer_to( |
There was a problem hiding this comment.
Is there a real interest in keeping both queue_job_time_defer and queue_job_defer_to?
I think we are likely to calculate defer_seconds using a timedelta and datetime, and thus could easily use queue_job_defer_to instead.
It seems Arq will calculate a datetime in both cases, so there shouldn't be a performance gain from using a method or the other.
I would think only having one method will reduce code complexity and limit potentials mistakes
4cadc2f to
0eb2466
Compare
armanddidierjean
left a comment
There was a problem hiding this comment.
We will improve the remaining points in the future
#647
Co-authored-by: Armand Didierjean <95971503+armanddidierjean@users.noreply.github.com>
Simplifying expression Co-authored-by: Armand Didierjean <95971503+armanddidierjean@users.noreply.github.com>
as the new structure does not require it
instead of default value
a0ce052 to
6b40657
Compare
> [!IMPORTANT] > We really need to release new versions **soon**, as we have not for several months and there's some time needed to test in alpha before prod. This goes hand in hand with the **major version bump** [for Titan](../../Titan/pull/462). Both PRs are ready, and _seemingly_ waiting for some more **breaking changes** to be merged, including (by likelihood): - [ ] Allow students from other Schools to have a MyECL account: #641 - [ ] MyECLPay: #611 - [ ] "_Centrale Mega Meme_" Meme module: [no PR yet] [see branch](../tree/cmm) - [x] External Notifications: #613
No description provided.