feat(sidechats): headless gateway new channel auto-provisioning and dedicated heartbeat channel
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
"agent": "646",
|
||||
"chain_next": null,
|
||||
"description": "Box deep health \u2014 daily comprehensive check",
|
||||
"dm_target": "646 tasks",
|
||||
"followup": {
|
||||
"escalate": "opm",
|
||||
"expect_reply": true,
|
||||
@@ -15,7 +14,9 @@
|
||||
"prompt_template": "Box deep health check (daily).\nJob ID: {job_id}\nTime: {datetime}\n\nRun the FULL Box health suite on the VM:\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh all\"\n\nThen verify these endpoints and services:\n1. https://box.muse-dev.online/ loads (Fleet Console UI, assets box.js and box.css 200 OK)\n2. https://box.muse-dev.online/api/box/fleet returns live fleet status\n3. https://box.muse-dev.online/api/box/dm/log returns live DM log entries\n4. https://box.muse-dev.online/followups loads (operator view, follow-up dashboard)\n5. https://box.muse-dev.online/api/box/followups/summary returns valid JSON\n6. Check /srv/box/dm-log.jsonl tail for errors in the last 24h\n7. Confirm the request-sweeper processed follow-ups in the last hour\n (grep dm_followup /srv/box/box_requests.jsonl | tail -5)\n\nReport any degradation, even if checks pass (slow responses, log warnings).\n\nReply with OK or FAIL <summary>, plus any observations worth tracking.",
|
||||
"schedule": "0 9 * * *",
|
||||
"sidechat": {
|
||||
"create": false
|
||||
"create": true,
|
||||
"name_template": "box-deep-health",
|
||||
"reuse_key": "box-deep-health"
|
||||
},
|
||||
"timeout": 1800
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"agent": "646",
|
||||
"chain_next": null,
|
||||
"description": "Box HTTP endpoint health \u2014 every 15 minutes",
|
||||
"dm_target": "646 tasks",
|
||||
"followup": {
|
||||
"escalate": "opm",
|
||||
"expect_reply": true,
|
||||
@@ -15,7 +14,9 @@
|
||||
"prompt_template": "Box HTTP health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the Box HTTP checks on the VM:\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh http\"\n(or run /srv/box/bin/box-health-check.sh http via any VM access you have)\n\nAlso verify the new live Box Console endpoints:\n1. https://box.muse-dev.online/ (Front-Door Console loads, assets box.js and box.css return 200)\n2. https://box.muse-dev.online/api/box/fleet (Returns 200 with live fleet array)\n3. https://box.muse-dev.online/api/box/dm/log (Returns 200 with recent DM log entries)\n\nExpected: all OK. If any FAIL, investigate immediately (check board.service,\nCaddy, recent deploys) and include the failure lines in your reply.\n\nReply with OK or FAIL <one-line summary>.",
|
||||
"schedule": "*/15 * * * *",
|
||||
"sidechat": {
|
||||
"create": false
|
||||
"create": true,
|
||||
"name_template": "box-http-health",
|
||||
"reuse_key": "box-http-health"
|
||||
},
|
||||
"timeout": 600
|
||||
}
|
||||
|
||||
@@ -1 +1,22 @@
|
||||
{"agent":"646","chain_next":null,"description":"Box service + data health — every 15 minutes (offset 7m)","dm_target":"646 tasks","followup":{"escalate":"opm","expect_reply":true,"nudges":2,"route":"box-health","timeout":"30m"},"name":"box-service-health","on_failure":"alert","prompt_template":"Box service health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the Box service and data checks on the VM:\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh services\"\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh data\"\n(or run /srv/box/bin/box-health-check.sh via any VM access you have)\n\nExpected: board.service active, caddy active, sweeper timer firing,\n/srv/box writable. If any FAIL, investigate and include failure lines.\n\nReply with [RESULT {job_id}] OK or [RESULT {job_id}] FAIL <one-line summary>.","schedule":"7,22,37,52 * * * *","sidechat":{"create":false},"timeout":600}
|
||||
{
|
||||
"agent": "646",
|
||||
"chain_next": null,
|
||||
"description": "Box service + data health — every 15 minutes (offset 7m)",
|
||||
"followup": {
|
||||
"escalate": "opm",
|
||||
"expect_reply": true,
|
||||
"nudges": 2,
|
||||
"route": "box-health",
|
||||
"timeout": "30m"
|
||||
},
|
||||
"name": "box-service-health",
|
||||
"on_failure": "alert",
|
||||
"prompt_template": "Box service health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the Box service and data checks on the VM:\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh services\"\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh data\"\n(or run /srv/box/bin/box-health-check.sh via any VM access you have)\n\nExpected: board.service active, caddy active, sweeper timer firing,\n/srv/box writable. If any FAIL, investigate and include failure lines.\n\nReply with [RESULT {job_id}] OK or [RESULT {job_id}] FAIL <one-line summary>.",
|
||||
"schedule": "7,22,37,52 * * * *",
|
||||
"sidechat": {
|
||||
"create": true,
|
||||
"name_template": "box-service-health",
|
||||
"reuse_key": "box-service-health"
|
||||
},
|
||||
"timeout": 600
|
||||
}
|
||||
+14
-1
@@ -1 +1,14 @@
|
||||
{"agent":"opm","chain_next":null,"description":"Canary job to test the dispatcher - sends a simple DM","dm_target":"heartbeat","name":"canary-test","on_failure":"alert","prompt_template":"This is a canary test from the job dispatcher.\nJob ID: {job_id}\nDate: {date}\n\nPlease reply to confirm you received this.","schedule":"manual","sidechat":{"create":false},"timeout":300}
|
||||
{
|
||||
"agent": "opm",
|
||||
"chain_next": null,
|
||||
"description": "Canary job to test the dispatcher - sends a simple DM",
|
||||
"name": "canary-test",
|
||||
"on_failure": "alert",
|
||||
"prompt_template": "This is a canary test from the job dispatcher.\nJob ID: {job_id}\nDate: {date}\n\nPlease reply to confirm you received this.",
|
||||
"schedule": "manual",
|
||||
"sidechat": {
|
||||
"create": true,
|
||||
"name_template": "canary-test"
|
||||
},
|
||||
"timeout": 300
|
||||
}
|
||||
Reference in New Issue
Block a user