Phase 7a: read-only verifier for the 06:00 scheduled run (AUD-115)

make verify-n8n / deploy/verify-n8n-scheduled-run.sh checks the workflow is
active, reads the newest scheduled (mode=trigger) execution from the n8n
database, and prints the notify rows. Exit 1 until a scheduled run exists and
is green, so it distinguishes 'not yet' from 'failed'. Never runs the workflow
and never sends. Document the first-run time and the re-armed monitor.
This commit is contained in:
2026-10-16 10:31:40 +11:00
parent 047af0f31d
commit 11155df1fe
4 changed files with 137 additions and 3 deletions

View File

@@ -109,6 +109,9 @@ the API directly on the internal address.
node by default, so a command node cannot activate.) It needs no
`SCHOOL_NOTIFY_TOKEN` in n8n — the host script reads the project env file. See
`docs/phase-7a-n8n-schedule.md` for the design and the failure drill.
After the first 06:00, verify the scheduled run itself with the read-only
`make verify-n8n` (`deploy/verify-n8n-scheduled-run.sh`); it exits 1 until a
scheduled (`mode=trigger`) run exists and is green.
Notes: