Skip to content

fix(social): retry the schedule three times a day, post once - #87

Merged
kipavy merged 1 commit into
mainfrom
social/reliable-schedule
Oct 7, 2026
Merged

kipavy merged 1 commit into
mainfrom
social/reliable-schedule

Conversation

@kipavy

@kipavy kipavy commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

GitHub's cron is best effort: the 0 15 * * 1-5 run started at 20:03 UTC on Oct 6 and had not started by 17:53 UTC on Oct 7, so #51 missed its slot. It was posted by hand with a post dispatch.

  • The schedule now fires at 15:17, 18:17 and 21:17 UTC on weekdays. :17 avoids the top of the hour, when GitHub delays scheduled runs the most.
  • A scheduled run posts nothing if a tweet already went out that UTC day, so X still gets one tweet per weekday. A manual post run is not limited.
  • README and the log issue text now give the new times.

Tested with check and three mocked runs: scheduled with a tweet already out today posts nothing; scheduled with the last tweet on an earlier day posts; manual posts even after today's tweet.

Touches social/post.mjs and social/README.md next to #86, in different lines.

🤖 Generated with Claude Code

GitHub ran the 15:00 cron five hours late on Oct 6 and not at all by
18:00 on Oct 7, so the first tweet missed its day. The schedule now
fires at 15:17, 18:17 and 21:17 UTC (off the busy :00 minute), and a
scheduled run posts nothing when a tweet already went out that UTC day.
Manual `post` runs still post right away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
voltius Ready Ready Preview Oct 7, 2026 5:56pm UTC
voltius-portal Ready Ready Preview Oct 7, 2026 5:56pm UTC

@kipavy
kipavy merged commit 85efbf9 into main Oct 7, 2026
4 checks passed
@kipavy
kipavy deleted the social/reliable-schedule branch October 7, 2026 17:57

This branch was successfully deployed

2 active deployments
Preview – voltius — cde20150 Deployed Oct 7, 2026 by vercel[bot]
Preview – voltius-portal — cde20150 Deployed Oct 7, 2026 by vercel[bot]
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.

1 participant