From c287cf16d1f658be41db6637a2f1183c3c2bf82f Mon Sep 17 00:00:00 2001
From: Gorkem Cetin <167266851+gorkem-bwl@users.noreply.github.com>
Date: Mon, 13 Apr 2026 13:38:48 -0400
Subject: [PATCH 1/2] Update pull_request_template.md
---
.github/pull_request_template.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 16273e9d5..95b5bacbe 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -11,7 +11,7 @@ Fixes #123
## Please ensure all items are checked off before requesting a review. "Checked off" means you need to add an "x" character between brackets so they turn into checkmarks.
- [ ] (Do not skip this or your PR will be closed) I deployed the application locally.
-- [ ] (Do not skip this or your PR will be closed) I have performed a self-review and testing of my code.
+- [ ] (Do not skip this or your PR will be closed) I have performed a self-reviewing and testing of my code.
- [ ] I have included the issue # in the PR.
- [ ] I have added i18n support to visible strings (instead of `
Add
`, use):
```Javascript
@@ -22,6 +22,7 @@ const { t } = useTranslation();
- [ ] I didn't use any hardcoded values (otherwise it will not scale, and will make it difficult to maintain consistency across the application).
- [ ] I made sure font sizes, color choices etc are all referenced from the theme. I don't have any hardcoded dimensions.
- [ ] My PR is granular and targeted to one specific feature.
+- [ ] There are two database implementations (MongoDB and PostgreSQL TimescaleDB) and I have taken care of them appropriately.
- [ ] I ran `npm run format` in server and client directories, which automatically formats your code.
- [ ] I took a screenshot or a video and attached to this PR if there is a UI change.
From dc7688bc13cc9f35171bd833333ed0c5925658cb Mon Sep 17 00:00:00 2001
From: Alex Holliday
Date: Mon, 13 Apr 2026 10:58:58 -0700
Subject: [PATCH 2/2] initialize timeOfLastFailure
---
server/src/service/infrastructure/statusService.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/src/service/infrastructure/statusService.ts b/server/src/service/infrastructure/statusService.ts
index 9826d6603..454d5dd42 100755
--- a/server/src/service/infrastructure/statusService.ts
+++ b/server/src/service/infrastructure/statusService.ts
@@ -96,6 +96,7 @@ export class StatusService implements IStatusService {
uptimePercentage: 0,
lastResponseTime: 0,
lastCheckTimestamp: 0,
+ timeOfLastFailure: 0,
};
} else {
// Use existing stats (omit id, monitorId, createdAt, updatedAt)