Alex Holliday
89c86a7628
remove dead fields from WorkerSummary
2026-06-22 09:53:50 -07:00
Alex Holliday
3b919044e6
wake worker on job change
2026-06-19 10:25:59 -07:00
Alex Holliday
85f674ee08
resovle merge conflict
2026-06-19 09:55:52 -07:00
Alexander Holliday
16036f421b
Merge pull request #3734 from bluewave-labs/fix/maintenance-window-exit
...
fix: change status on exit maintenance window
2026-06-19 09:54:05 -07:00
Alex Holliday
a058c0518c
change status on exit maintenance window
2026-06-19 09:37:24 -07:00
Alex Holliday
e32590425b
remove unsed from constructor
2026-06-18 11:06:43 -07:00
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
Alexander Holliday
b28c84436e
Merge pull request #3718 from harsh-aghara/feat/accept-status-codes-frontend
...
Add customUpCodes support for HTTP monitors (Frontend)
2026-06-18 10:51:03 -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
harsh-aghara
d8dafa311a
feat: sync custom http status codes between frontend and backend
...
- Add standard custom HTTP status codes (Cloudflare, AWS ELB, etc.) to both frontend and backend allowlists.
- Enforce strict validation of custom status codes using Zod sets on both sides, ensuring they match perfectly.
2026-06-18 22:27:38 +05:30
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
Buco7854
6165ae60e6
Merge branch 'develop' of https://github.com/bluewave-labs/checkmate into feat/customcss-status-page
...
# Conflicts:
# server/src/api/routes/statusPageRoute.ts
2026-06-12 16:01:03 +00:00
Buco7854
69e142f711
fix: restrict status page mutations to admins and superadmins
...
Creating, updating and deleting status pages was only guarded by
verifyJWT, so any authenticated team member could set fields including
the new customCSS via a direct API call. The admin gating existed only
in the client UI (hidden buttons), and the create/configure routes had
no guard, so the form was reachable by URL. Enforce the role at the API
with isAllowed, matching the monitor routes.
2026-06-12 15:43:58 +00: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