Frontend Automate Orchestration

This commit is contained in:
sriram
2026-08-31 15:00:56 +05:30
parent 80daf30a42
commit 097a4a5bfe
2 changed files with 99 additions and 7 deletions

View File

@@ -61,6 +61,12 @@ export function AdminPage() {
// sent something while you were looking at a different screen. A failed poll
// is swallowed: a transient network blip must not replace the panel with an
// error, and the next tick retries.
//
// Expect a steady zero on a deployment running UPLOAD_AUTORUN=true: uploads
// go straight into the pipeline and never wait for review, so there is
// nothing to be notified about. The badge renders only above zero, so that
// reads as "nothing to do" rather than as a broken counter, and the poll
// stays because the setting can be turned off without a redeploy.
useEffect(() => {
let alive = true;
const check = async () => {