askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
dbbasic-package.json · 3.3 KB · 93 lines
| 1 | { |
| 2 | "id": "system-dashboard", |
| 3 | "name": "System Dashboard", |
| 4 | "version": "0.9.0", |
| 5 | "description": "Identity-aware staging dashboard with live admin metrics, served by a DBBASIC object. 0.6.0 adds the scheduler board (/scheduler): a Flower-style admin page over the daemon's scheduled tasks -- task table with Run now / Pause controls (mutates the scheduler trigger's state, which the daemon reads) joined with scheduler_runs, the append-only per-execution history (result JSON, error + type, duration) that object_daemon.process_scheduler records best-effort. Ships the one `urgent` attention provider on this server: scheduler runs that failed in the last 24 hours, shown only to a viewer who may read every scheduler run (`reads`). Every other queue is work waiting for a person; this one is the machine reporting that it stopped doing its own, and a failed nightly pass is invisible by construction -- an aging run that did not happen looks exactly like a night with no overdue invoices. 0.9.0 adds /backups, the scheduled-backup page (last good backup, last restore test and what it checked, Back up now / Test now through the admin API), and a second `urgent` provider, backup_problems: a scheduled backup or restore test that failed or went stale, shown to admins only because it names no `reads`. It reads zero while backups are off; that is said in words on the page and in /admin/status rather than as an alarm on every fresh install.", |
| 6 | "compatibility": { |
| 7 | "object_server": ">=0.0.1" |
| 8 | }, |
| 9 | "dependencies": [], |
| 10 | "objects": [ |
| 11 | { |
| 12 | "id": "system_dashboard", |
| 13 | "path": "objects/system/dashboard.py" |
| 14 | }, |
| 15 | { |
| 16 | "id": "system_scheduler", |
| 17 | "path": "objects/system/scheduler.py" |
| 18 | }, |
| 19 | { |
| 20 | "id": "system_scheduler_attention", |
| 21 | "path": "objects/system/scheduler_attention.py" |
| 22 | }, |
| 23 | { |
| 24 | "id": "system_backups", |
| 25 | "path": "objects/system/backups.py" |
| 26 | }, |
| 27 | { |
| 28 | "id": "system_backup_attention", |
| 29 | "path": "objects/system/backup_attention.py" |
| 30 | } |
| 31 | ], |
| 32 | "schemas": [ |
| 33 | { |
| 34 | "collection": "scheduler_runs", |
| 35 | "path": "schemas/scheduler_runs.json" |
| 36 | } |
| 37 | ], |
| 38 | "permissions": [ |
| 39 | { |
| 40 | "path": "permissions/rules.json" |
| 41 | } |
| 42 | ], |
| 43 | "seed": [ |
| 44 | { |
| 45 | "collection": "site_routes", |
| 46 | "path": "seed/site_routes.tsv" |
| 47 | } |
| 48 | ], |
| 49 | "migrations": [], |
| 50 | "nav": [ |
| 51 | { |
| 52 | "id": "scheduler", |
| 53 | "label": "Scheduler", |
| 54 | "path": "/scheduler", |
| 55 | "blurb": "The daemon's task board, its run history, and pause or run now", |
| 56 | "surface": "operator", |
| 57 | "group": "System", |
| 58 | "order": 620 |
| 59 | }, |
| 60 | { |
| 61 | "id": "backups", |
| 62 | "label": "Backups", |
| 63 | "path": "/backups", |
| 64 | "blurb": "Scheduled backups off the box, their restore tests, and back up now", |
| 65 | "surface": "operator", |
| 66 | "group": "System", |
| 67 | "order": 630 |
| 68 | } |
| 69 | ], |
| 70 | "attention": [ |
| 71 | { |
| 72 | "id": "scheduler_failures", |
| 73 | "object_id": "system_scheduler_attention", |
| 74 | "label": "Scheduler failures", |
| 75 | "path": "/scheduler", |
| 76 | "nav_id": "scheduler", |
| 77 | "group": "System", |
| 78 | "severity": "urgent", |
| 79 | "reads": [ |
| 80 | "scheduler_runs" |
| 81 | ] |
| 82 | }, |
| 83 | { |
| 84 | "id": "backup_problems", |
| 85 | "object_id": "system_backup_attention", |
| 86 | "label": "Backup problems", |
| 87 | "path": "/backups", |
| 88 | "nav_id": "backups", |
| 89 | "group": "System", |
| 90 | "severity": "urgent" |
| 91 | } |
| 92 | ] |
| 93 | } |