Skip to content

Fetch feeds directly on the Heroku scheduler - #1733

Merged
mockdeep merged 1 commit into
mainfrom
heroku-fetch-feeds
Nov 28, 2026
Merged

mockdeep merged 1 commit into
mainfrom
heroku-fetch-feeds

Conversation

@mockdeep

Copy link
Copy Markdown
Collaborator

What

Have the Heroku setup page and docs schedule rake fetch_feeds instead
of rake lazy_fetch, and remove lazy_fetch and the APP_URL step.
Drop the unused WORKER_EMBEDDED and WORKER_RETRY settings from
app.json.

Add a CHANGELOG.md with date headings, and note in AGENTS.md when
to add entries.

Why

lazy_fetch only queued jobs, which run in the web process. When the
web dyno was asleep, nothing ran them, so feeds never updated unless
APP_URL was set to wake it. The Deploy button didn't set APP_URL.
fetch_feeds fetches in the scheduler's own dyno.

Fixes #647

Notes

Breaking for anyone scheduling rake lazy_fetch; the changelog says
how to switch.

**What**

Have the Heroku setup page and docs schedule `rake fetch_feeds` instead
of `rake lazy_fetch`, and remove `lazy_fetch` and the `APP_URL` step.
Drop the unused `WORKER_EMBEDDED` and `WORKER_RETRY` settings from
`app.json`.

Add a `CHANGELOG.md` with date headings, and note in `AGENTS.md` when
to add entries.

**Why**

`lazy_fetch` only queued jobs, which run in the web process. When the
web dyno was asleep, nothing ran them, so feeds never updated unless
`APP_URL` was set to wake it. The Deploy button didn't set `APP_URL`.
`fetch_feeds` fetches in the scheduler's own dyno.

Fixes #647

**Notes**

Breaking for anyone scheduling `rake lazy_fetch`; the changelog says
how to switch.
@mockdeep mockdeep self-assigned this Nov 28, 2026
@mockdeep
mockdeep enabled auto-merge (squash) November 28, 2026 23:17
@mockdeep
mockdeep merged commit 0b9051d into main Nov 28, 2026
4 checks passed
@mockdeep
mockdeep deleted the heroku-fetch-feeds branch November 28, 2026 23:20
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.

Stringer auto deployed via heroku don't update/fetch news from rss channels

1 participant