mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 23:33:29 +00:00
feat(admin): pulse day-mean dry run, apply step and admin card
This commit is contained in:
1 parent
877920f5f7
commit
9f17cef8e4
17 files changed
+915
-16
No files matched your search
@@ -127,6 +127,8 @@ const ALLOWED_SQL: Record<string, string> = {
|
||||
"Canonical-source blood pressure and weight over 90 days: sparse types, a few rows a day.",
|
||||
"lib/measurements/reconcile-external-measurement.ts::1":
|
||||
"Row locks (`FOR UPDATE`) on an id list the caller already read; returns those ids only.",
|
||||
"lib/jobs/pulse-day-mean.ts::1":
|
||||
"Selects one row per account; `measurements` is read only inside the MIN / MAX scalar subqueries of each row.",
|
||||
"lib/jobs/pr-detection.ts::1":
|
||||
"Selects account ids; `measurements` is read inside `EXISTS`, one row per account at most.",
|
||||
"lib/rollups/measurement-coverage.ts::1":
|
||||
|
||||
@@ -201,6 +201,11 @@ const ALLOWED: Readonly<Record<string, { count: number; reason: string }>> = {
|
||||
reason:
|
||||
"A size probe for an admin card: null shows no figure, and the status read must not fail over it.",
|
||||
},
|
||||
"lib/jobs/pulse-day-mean.ts::isPulseDayMeanRunActive": {
|
||||
count: 1,
|
||||
reason:
|
||||
"No pgboss schema on a web-only deployment, so no run can be active; the route answers 503 there before it asks.",
|
||||
},
|
||||
"lib/jobs/job-observer.ts::emitJobLine": {
|
||||
count: 1,
|
||||
reason:
|
||||
|
||||
@@ -107,6 +107,11 @@ const PINNED_AFFORDANCES: Record<
|
||||
"src/components/admin/measurement-maintenance-card.tsx": {
|
||||
"toast.success": 1,
|
||||
},
|
||||
// Fires only on a 202: the dry run was queued, or the method was applied.
|
||||
// The dry run's outcome itself is the status line.
|
||||
"src/components/admin/pulse-day-mean-card.tsx": {
|
||||
"toast.success": 2,
|
||||
},
|
||||
"src/components/admin/invite-tokens-section.tsx": {
|
||||
"text-success": 2,
|
||||
"toast.success": 3,
|
||||
|
||||
Reference in new issue
Block a user