No description
Find a file
Barely Removable 213837ff97
All checks were successful
Deploy / deploy (push) Successful in 28s
Poll for run completion every 5 minutes instead of checking once
The one-shot VERIFY_DELAY_MINUTES check was too rigid: MassPrice's
processing time varies widely in practice (observed ~1 to over 20
minutes, and its queue can back up further under load — confirmed
live, a run still sitting in "Queued" 15+ minutes in), so a single
check window either misses slow-but-fine completions or has to be set
needlessly long.

Replaced with a poll loop: scheduler.py reschedules another one-off
check every VERIFY_POLL_MINUTES (default 5) until automation's
check_completion() reports "complete", up to VERIFY_MAX_ATTEMPTS
(default 12, ~1 hour) before giving up and marking "not_confirmed" for
good. verify_run() is split into a pure check_completion() (no storage
side effects) so scheduler.py's loop owns the retry/give-up decision;
automation.py just answers "is it done yet".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H6TgffxTvYhqxykAbVQg2v
2026-08-31 23:58:23 -07:00
.claude/skills/deploy-massprice Fix run_rule(): clicking the menu item only opens a confirmation modal, never runs anything 2026-08-31 20:44:05 -07:00
.forgejo/workflows Initial scaffold: Flask webui + APScheduler + Playwright automation for MassPrice rule scheduling 2026-08-31 17:31:53 -07:00
static Add two-stage run verification and 24-hour Activity filter 2026-08-31 21:49:45 -07:00
templates Add two-stage run verification and 24-hour Activity filter 2026-08-31 21:49:45 -07:00
.env.example Poll for run completion every 5 minutes instead of checking once 2026-08-31 23:58:23 -07:00
.gitignore Initial scaffold: Flask webui + APScheduler + Playwright automation for MassPrice rule scheduling 2026-08-31 17:31:53 -07:00
app.py Poll for run completion every 5 minutes instead of checking once 2026-08-31 23:58:23 -07:00
automation.py Poll for run completion every 5 minutes instead of checking once 2026-08-31 23:58:23 -07:00
CLAUDE.md Poll for run completion every 5 minutes instead of checking once 2026-08-31 23:58:23 -07:00
docker-compose.yml Poll for run completion every 5 minutes instead of checking once 2026-08-31 23:58:23 -07:00
Dockerfile Replace Chrome-remote-debugging login capture with a cookie-paste import flow 2026-08-31 20:10:51 -07:00
gunicorn.conf.py Initial scaffold: Flask webui + APScheduler + Playwright automation for MassPrice rule scheduling 2026-08-31 17:31:53 -07:00
notify.py Default to America/Phoenix and email-alert once when the session expires 2026-08-31 20:20:06 -07:00
requirements.txt Initial scaffold: Flask webui + APScheduler + Playwright automation for MassPrice rule scheduling 2026-08-31 17:31:53 -07:00
scheduler.py Poll for run completion every 5 minutes instead of checking once 2026-08-31 23:58:23 -07:00
storage.py Initial scaffold: Flask webui + APScheduler + Playwright automation for MassPrice rule scheduling 2026-08-31 17:31:53 -07:00