Alex Holliday
190a3b47da
add findByIdLean for workers
2026-06-18 11:06:19 -07:00
Alex Holliday
f740eef0fa
thread prefetched worker, remove dead code
2026-06-18 11:05:57 -07:00
Alex Holliday
5efd64d44d
thread prefetched monitor trough status service
2026-06-18 11:05:17 -07:00
Alex Holliday
9d453bdb0b
Merge branch 'develop' into fix/excess-polling
2026-06-18 10:19:57 -07:00
Alex Holliday
a54fdd89ab
rearm jobs on maintenance window pause/delete
2026-06-18 10:17:33 -07:00
Alex Holliday
bb3f471d19
Merge branch 'fix/evluation-order' into fix/excess-polling
2026-06-18 09:58:47 -07:00
Alex Holliday
53ee45172d
remove evluation from worker
2026-06-18 09:56:56 -07:00
Alex Holliday
1ea6dafb1a
evaluate checks on buffer flush
2026-06-18 09:56:38 -07:00
Alex Holliday
9785dc146e
inject job repo into buffer service
2026-06-18 09:56:22 -07:00
Alex Holliday
380fdf470f
backoff excessive polling
2026-06-17 11:35:15 -07:00
Alex Holliday
ad9ff7f5df
add mongo read/write per second stats
2026-06-17 10:55:39 -07:00
Alexander Holliday
8277c4ed13
Merge pull request #3728 from bluewave-labs/feat/db-queue
...
feat: db queue
2026-06-17 09:48:40 -07:00
Alex Holliday
f65238da6c
reformat
2026-06-17 09:45:59 -07:00
Alex Holliday
7244b35091
add upsertCleanup to schedule immediate cleanup jobs, cleanup orphaned jobs
2026-06-17 09:38:21 -07:00
Alex Holliday
699883e0b1
add jitter and tests
2026-06-16 11:34:58 -07:00
Alex Holliday
2d68e96782
drop jobs in migration
2026-06-16 10:50:29 -07:00
Alex Holliday
abf6dc2908
single worker ID
2026-06-15 12:21:36 -07:00
Alex Holliday
7ce6068757
fix migration
2026-06-15 12:12:14 -07:00
Alex Holliday
142ecaaf8b
handle renewing locks for long running jobs
2026-06-15 12:05:15 -07:00
Alex Holliday
90bbc764fc
readd queue-worker domain, add heartbewat to db-queue
2026-06-15 11:26:49 -07:00
Alex Holliday
ae4c433246
add a feature flag to toggle primary worker processing jobs or not
2026-06-15 11:02:46 -07:00
Alex Holliday
d2461ef118
remove old queues
2026-06-15 10:39:48 -07:00
Alex Holliday
47162f2064
add a batch claim method
2026-06-12 16:04:31 -07:00
Alex Holliday
8b9c41464a
dbQueueWorker
2026-06-12 15:43:36 -07:00
Alex Holliday
51b6ec1751
add check producer and evaluator
2026-06-12 12:36:50 -07:00
Alex Holliday
eff4f8ad69
fix method name
2026-06-11 15:20:13 -07:00
Alex Holliday
1b3f2f0365
add toStatusResponse to service, add findUnevaluated to repo
2026-06-11 15:19:45 -07:00
Alex Holliday
8d637dbcac
update validation
2026-06-11 14:18:56 -07:00
Alex Holliday
771fd5b50f
add migration for lastEvaluatedAt backfill
2026-06-11 14:18:44 -07:00
Alex Holliday
8dedf2a742
add last evaluated at field
2026-06-11 14:18:32 -07:00
Alex Holliday
c882daf000
add job domain
2026-06-11 14:18:21 -07:00
Ian Troisi
517139cbf4
fix: cache negative custom domain CORS lookups
...
Use a shorter TTL for rejected origins so unknown domains do not hit
the database on every cross-origin request.
2026-06-11 14:48:31 -04:00
Ian Troisi
ef049b6521
fix: resolve CORS TypeScript error and format server files
...
Type defaultCorsOptions as CorsOptions so allowedHeaders is compatible
with the cors middleware. Format files from develop merge for CI.
2026-06-11 13:55:10 -04:00
Ian Troisi
33f8641f3a
Merge branch 'develop' into feat/status-page-custom-domain
2026-06-11 13:54:27 -04:00
Alex Holliday
a43363ebfc
apply middleware
2026-06-11 10:42:05 -07:00
Alex Holliday
0ca738b080
add an upload type with size constraints and acceptable file types
2026-06-11 10:41:53 -07:00
Alex Holliday
091c36cbf3
create upload middleware
2026-06-11 10:40:59 -07:00
Ian Troisi
120708ed47
perf: cache custom domain CORS origin lookups
...
Avoid hitting the database on every cross-origin request by caching
published custom domain checks for five minutes.
2026-06-11 13:15:02 -04:00
Ian Troisi
6a1ab622b3
fix: scope custom domain CORS to public status page routes
...
Only allow registered custom domain origins on public GET/OPTIONS status
page API routes instead of the entire application API surface.
2026-06-11 13:15:02 -04:00
Ian Troisi
0aef8b652f
fix: use partial index for status page customDomain
...
Replace the sparse unique index with a partial index so multiple status
pages without a custom domain no longer collide on null values.
2026-06-11 13:14:52 -04:00
Alex Holliday
ee9c08b1bb
extract reactors and pipeline
2026-06-10 13:12:51 -07:00
Alex Holliday
2bf3c08f3c
reorg jobqueue to worker
2026-06-10 09:30:14 -07:00
Ian Troisi
a37bc63f31
Merge branch 'develop' into feat/status-page-custom-domain
...
Resolve conflicts from server reorganization while preserving custom
domain support for published status pages.
2026-06-10 10:55:59 -04:00
Alex Holliday
d022f7d849
reorg to domain and api
2026-06-09 12:34:15 -07:00
Alexander Holliday
0fb210e9e1
Merge pull request #3713 from Rabson/fix/diagnostics-totalsize-undefined
...
fix: (diagnostics) derive Mongo totalSize when dbStats omits it (Atlas shared tier)
2026-06-09 09:09:47 -07:00
Alexander Holliday
ce4cb63035
Merge pull request #3690 from harsh-aghara/feat/accept-status-codes-backend
...
Add customUpCodes support for HTTP monitors (Backend)
2026-06-08 12:04:42 -07:00
harsh-aghara
f637b01631
refactor: introduced helper method to remove redundant code
2026-06-08 17:30:26 +05:30
Ian Troisi
30e8cfc9ec
Add custom domain support for published status pages.
...
Fixes #3647
2026-06-07 22:37:24 -04:00
Alex Holliday
19b873ca87
convert findByIds to aggregate pipeline to include uptime percentage
2026-06-07 10:02:25 -07:00
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