Skip to content

fix(schedules): anchor purge grace window to first cron fire - #270

Merged
harlan-zw merged 1 commit into
mainfrom
fix/issue-267
Sep 22, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/issue-267

Conversation

@harlan-github-agent

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Closes #267

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The nightly health report started flagging purge-personal-data on 2026-09-18T12:00Z:

Scheduled run history is unhealthy: purge-personal-data (missing_run)

False alarm. The task's grace window was anchored to its authoring date, 2026-09-17, so the 36-hour silence allowance expired four days before the deployed cron trigger's first fire at 2026-09-22T04:30Z. Until that fire the task has no run history, which the schedule policy reads as a dead trigger rather than a task awaiting its first turn.

This anchors the grace to the first cron fire instead. Once that fire lands, a run record exists and the missing_run path stops applying.

I took 2026-09-22T04:30Z as the first fire from the issue's triage of the deployed schedule, not from Cloudflare directly. Deploy first, then the issue's verification curl against /api/internal/checkin will confirm the report is clean; that could not run from here.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 21, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-22 02:23 UTC.

GitHub merged this pull request.

No material findings were recorded.

f05bd44a-2551-49fb-8b65-c2d9dbec7f26

@harlan-github-agent harlan-github-agent Bot added harlan-agent-pending The automated Review is waiting on a gate for this head commit. harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-pending The automated Review is waiting on a gate for this head commit. harlan-agent-ready The automated Review passed every gate on this head commit. labels Sep 21, 2026
@harlan-zw
harlan-zw merged commit e9af496 into main Sep 22, 2026
6 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-pending The automated Review is waiting on a gate for this head commit. label Sep 22, 2026
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.

purge-personal-data alarms missing_run before first fire

1 participant