Rabson
6a566c3693
fix(diagnostics): derive Mongo totalSize when dbStats omits it
...
MongoDB Atlas shared/free tiers return a legacy dbStats shape that omits
`totalSize` (while still returning storageSize/indexSize). diagnosticService
passed that undefined straight through, so the Diagnostics UI crashed with
"Expected a finite number, got undefined".
Derive totalSize (storageSize + indexSize) at the DB and per-collection level
so it always satisfies the non-optional `totalSize: number` type. Confirmed it
is not a version removal (stock mongo:8 returns totalSize) nor a permissions
issue (missing even with atlasAdmin). Adds unit tests for the derivation.
2026-06-07 08:58:09 +08:00
Alex Holliday
a19479b578
fix migration race condition
2026-06-05 11:58:00 -07:00
Alexander Holliday
8dbe42288b
Merge pull request #3684 from jhcpeixoto/feat/ntfy-notifications
...
feat: add ntfy notification support
2026-06-05 09:35:04 -07:00
Alex Holliday
3c85b36b1b
add pagnation validation to queue query
2026-06-03 13:30:03 -07:00
Alex Holliday
4729863826
add tests
2026-06-03 13:29:03 -07:00
Alex Holliday
174fb048f7
implement pagination, update metrics to use scheduler's aggregation
2026-06-03 13:28:53 -07:00
Alex Holliday
63fd3f6afd
bump scheduler
2026-06-03 13:28:25 -07:00
Alex Holliday
c3944f2fe7
Add pagination to controller
2026-06-03 13:28:15 -07:00
Alex Holliday
5e225f9173
update tests
2026-06-03 11:51:42 -07:00
Alex Holliday
d2d110fcd5
reuse http agent, use firstByte instead of total
2026-06-03 11:48:59 -07:00
Alex Holliday
b8a44f09fc
update tests
2026-06-03 11:04:13 -07:00
Alex Holliday
f85f1aa1d1
add processEVery
2026-06-03 11:02:56 -07:00
Alex Holliday
707b8f903b
add bulk ops for inserting monitors, set primary concurrency to 0, handles scheduling only
2026-06-03 11:00:40 -07:00
Alex Holliday
9e4fd6d708
bump scheduler
2026-06-03 10:59:28 -07:00
Alex Holliday
b4970d321d
update tests
2026-06-02 11:31:22 -07:00
Alex Holliday
f5a4a03898
reorder stop
2026-06-02 11:31:11 -07:00
Alex Holliday
dfae6c8abd
type metrics for super simple queue
2026-06-02 11:26:10 -07:00
Alex Holliday
2b6734bb78
update tests
2026-06-02 11:25:21 -07:00
Alex Holliday
b9fd29b906
add compliant worker ID to super simple queue
2026-06-02 11:11:24 -07:00
Alex Holliday
599c599588
add tests
2026-06-02 09:47:13 -07:00
Alex Holliday
cfed235d1f
add worker stats
2026-06-02 09:47:00 -07:00
Alex Holliday
c9eacff71f
add queue worker type
2026-06-02 09:46:23 -07:00
Alex Holliday
b2526a5be9
init queue worker repo
2026-06-02 09:45:56 -07:00
Alex Holliday
cffe3f57fa
add models
2026-06-02 09:45:37 -07:00
Alex Holliday
8b2506cc3d
add queue worker repository
2026-06-02 09:44:49 -07:00
Alex Holliday
60356a95fe
bump less-simple-scheduler
2026-06-02 09:44:23 -07:00
Alex Holliday
89c4f4005e
add lessSimpleQueue tests
2026-06-01 11:21:49 -07:00
Alex Holliday
53ed3b3465
remove unused imports
2026-06-01 11:17:50 -07:00
Alex Holliday
e37fbf2a5c
replace empty monitor check
2026-06-01 11:11:36 -07:00
Alex Holliday
4df08bfa79
add worker scripts
2026-06-01 10:45:20 -07:00
Alex Holliday
f74231cf33
early return if worker mode
2026-06-01 10:45:09 -07:00
Alex Holliday
e1558d35b0
use queue type on config
2026-06-01 10:44:53 -07:00
Alex Holliday
51672890df
add queue type to less simple queue
2026-06-01 10:44:39 -07:00
Alex Holliday
fc357fe3ae
add queue mode to env validation
2026-06-01 10:44:18 -07:00
Alex Holliday
1a0e6d9404
add queue mode type
2026-06-01 10:44:05 -07:00
Alex Holliday
c704f67e57
move listener registration to constructor
2026-05-29 11:45:17 -07:00
Alex Holliday
da92b9d067
update tests
2026-05-29 11:33:31 -07:00
Alex Holliday
458442f364
fix env sample, fix log queue, use dbType for enum
2026-05-29 11:31:11 -07:00
Alex Holliday
6ddee6e85b
fix imports
2026-05-29 11:23:31 -07:00
Alex Holliday
2db88ac192
add lastRunAt back
2026-05-29 11:20:19 -07:00
Alex Holliday
0342870bbd
lastRunAt -> lastFinishedAT
2026-05-29 11:08:32 -07:00
Alex Holliday
0a3232419a
update prettierrc
2026-05-29 10:33:15 -07:00
Alex Holliday
4dc3a756a8
add less-simple-scheduler, bump dependencies
2026-05-29 10:32:58 -07:00
Alex Holliday
cd91e83817
Remove old queues
2026-05-29 10:28:59 -07:00
Alex Holliday
f476710c29
add queue type to settings service
2026-05-29 10:28:49 -07:00
Alex Holliday
0d255c8962
update imports
2026-05-29 10:28:18 -07:00
Alex Holliday
bf25a65d8e
add configurable queue selection to service config, default to in memory
2026-05-29 10:28:01 -07:00
Alex Holliday
f1e16b65ee
Extract job queue interfaces, add less simple queue
2026-05-29 10:27:38 -07:00
Alex Holliday
201ad987ce
Add validation for Queue type
2026-05-29 10:27:03 -07:00
Alex Holliday
c12ce2fbcf
add queue types
2026-05-29 10:26:46 -07:00