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
e390bd764f
Format openapi.json for CI format-check.
2026-06-07 22:42:58 -04:00
Ian Troisi
30e8cfc9ec
Add custom domain support for published status pages.
...
Fixes #3647
2026-06-07 22:37:24 -04:00
Alex Holliday
9a85389b8c
update tests
2026-06-07 10:16:31 -07: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
Alex
395b7fbe2a
add uptimetime stats method and aggregation
2026-06-06 16:08:00 -07: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
harsh-aghara
d2c13fac5a
Merge remote-tracking branch 'upstream/develop' into feat/accept-status-codes-backend
...
# Conflicts:
# server/src/service/infrastructure/network/HttpProvider.ts
2026-06-05 00:58:35 +05:30
harsh-aghara
dd16ac060a
fix: run advanced matcher on HTTP errors with custom up codes
...
When customUpCodes mark an HTTPError as up, parse the response body, apply advancedMatcher.validate, and set status to statusUp && matchResult.ok. Return parsed payload and extracted values to match the success path.
2026-06-05 00:35:30 +05:30
harsh-aghara
5628c202f7
refactor: extract isStatusUp utility to decouple from got's response.ok and modified utils test accordingly
2026-06-04 22:43:43 +05:30
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
harsh-aghara
372fc9869b
refactor(monitor): address PR feedback for customUpCodes
...
Add HttpStatusCode types and simplify provider logic
2026-06-03 23:39:26 +05:30
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
harsh-aghara
87a6640c1d
fix(backend): validate customUpCodes against standard HTTP status codes
...
Addresses reviewer feedback by enforcing strict validation on the array. Previously, the Zod schema accepted any arbitrary number, which could allow invalid or self-defined HTTP codes (e.g., 5000) to be saved to the database.
Refs #3657
2026-06-01 13:21:30 +05:30
harsh-aghara
4e31499f78
feat(backend): add customUpCodes support for HTTP monitors
...
Adds a customUpCodes field to the monitor schema to allow users to specify which HTTP status codes should be treated as UP instead of DOWN. Includes core logic in HttpProvider and unit tests.
Refs #3657
2026-06-01 00:10:55 +05:30