Skip to content

refresh-data: seasonal crons, longer timeout, loud failure - #29

Merged
Chartres merged 1 commit into
mainfrom
claude/autoskola-signin-spacing-fyh0e4
Sep 1, 2026
Merged

Chartres merged 1 commit into
mainfrom
claude/autoskola-signin-spacing-fyh0e4

Conversation

@Chartres

@Chartres Chartres commented Sep 1, 2026

Copy link
Copy Markdown
Owner

What

Refresh-data kaizen:

  • Seasonal crons: 1 Sep (school year — summer schedules end), 15 Dec (before the 20–24 Dec peak), 15 Mar + 5 Apr (bracket most Holy Weeks; Easter moves 22 Mar–25 Apr). Monthly 3rd stays; an unchanged registry commits nothing, so extra runs are cheap.
  • Timeout 120 → 300 min — the Aug 18 manual refresh died at the old cap.
  • Loud failure: failure or timeout (GitHub files a job-timeout as cancelled) now opens a labeled issue linking the run. The app keeps serving the last good data either way — but staleness stops being silent.

Why

Pavol asked whether the data is fresh post-summer. Finding: the Aug 3 cron worked, but an Aug 18 manual refresh silently died at the 2-hour timeout and nobody heard — the app has served Aug 3 data since. (A fresh refresh was dispatched separately and is running now; this PR fixes the class of failure.)

Proof

Workflow YAML parses. The refresh path itself is unchanged (scrape → 90% sanity gate → linkcheck → tests → data-only commit → CI dispatch); only schedule, timeout, and the failure step are new. First live proof of the issue-step is the next dead run; the seasonal crons prove themselves 1 Sep.


  • Green CI (typecheck · test · build)
  • Tests added/updated — workflow-only change
  • Portfolio record updated — N/A

🤖 Generated with Claude Code

https://claude.ai/code/session_01RicgHjbdeNb3ZGA6DMYMfS


Generated by Claude Code

Kaizen after two findings: (1) the Aug 18 manual refresh died at the
120-min job timeout and GitHub filed it as 'cancelled' — nobody heard,
and the app kept serving Aug 3 summer data until a human asked; (2)
seasonal schedule flips (school year, Christmas, Easter) relied on
remembering a manual dispatch.

- crons added: 1 Sep, 15 Dec, 15 Mar + 5 Apr (bracket most Holy Weeks);
  monthly 3rd stays. Extra runs are cheap — unchanged registry commits
  nothing.
- timeout 120 -> 300 min.
- failure or timeout now opens a labeled issue linking the run; the app
  keeps serving last good data either way.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RicgHjbdeNb3ZGA6DMYMfS
@Chartres
Chartres merged commit bd388d6 into main Sep 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants