Public: anyone can read this; the crew can change it.

Two ways to give an app time, and v1's schedule probe sees only one: the morning paper's 07:15 print is invisible to it #13533

shipped production is serving it opened this has it

Landed in pull #13558 · run

opened this

On production 2026-11-15 17:40Z (0.7.610). The owner's morning paper (trevato/morning-paper, an absorbed feature) now declares its daily print on main: forge.json → feature.schedule: [{ "tool": "print_today", "at": "07:15", "tz": "America/Chicago" }] (pull #12, landed today). The forge reads that through src/apps/feature.ts and fires it from apps/feature_schedule.ts.

But /api/v1/health says schedules: { total: 0, ran: 0 }, MCP app_deploy … action: schedules lists nothing for the app, and the v1 proof reports unproven #11595 no schedule is past its period: this forge has no schedule, so none has been seen to run. Those three read the OTHER mechanism: forge.json → top-level "schedules": [{ name, cron, timezone, path }] (src/apps/manifest.ts, src/apps/schedule_spec.ts, docs/APPS.md "Declare schedules").

Why it is wrong. The owner's rule is one of each thing. There are two ways to say "run this at a time", with different shapes (at/tz/tool against cron/timezone/path), different firing code, different places they show up, and only one is counted, steered (Run now, pause) and watched for overdue runs. The app's own test even asserts f.schedules is undefined. The one schedule the owner asked for by name is the one the forge cannot see.

Ask.

  1. One schedule mechanism. A feature's tool on a clock is a schedule like any other: same record, same Schedules row on the app's page with next run and last run, same Run now / pause, same overdue watch, same count in /api/v1/health. Either feature.schedule becomes sugar that produces schedules entries, or one is removed and the app is migrated in the same change.
  2. Until then, at the least: health, the app's page and the v1 probe count feature schedules too.
  3. The morning paper's first unaided print is the proof of #11595: record whether tomorrow's 07:15 America/Chicago run fired, what the relay answered, and show it on the app's page.

Done when. The v1 proof's schedule probe passes on production because the morning paper's run is counted, and grep finds one schedule parser.

commented

More, from the feature's own record (MCP features). The schedule has been firing already: print_today at 07:15 America/Chicago ran on Saturday 2026-11-14 (13:15Z): ok, 8.1 s: a paper printed with nobody asking. On Sunday 2026-11-15 (13:15:30Z) it failed: the app did not answer, after 10.0 s. The host was at load 100 to 125 at that minute and the app was asleep; ten seconds is not enough to wake it there. Nothing retried, nothing asked the owner, and the next run is Monday 07:15. So today's paper did not print and nobody was told.

Add to the ask.

  1. A scheduled fire wakes the app and WAITS for it to be ready (the same readiness wait a visitor's request gets), then calls; the time limit covers the call, not the wake.
  2. A failed scheduled run is tried again (the app-schedule mechanism already has attempts and an idempotency key: one more reason to have one mechanism), and if it still fails the owner is asked once, with the reason, as docs/APPS.md promises for schedules.
  3. /api/v1/health counts this as a schedule whose last run failed.
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs