Skip to content

BUGFIX: rendering often fails while content publishes are happening - #71

Merged
t-heuser merged 1 commit into
mainfrom
fix-iterations-error
Oct 6, 2026
Merged

t-heuser merged 1 commit into
mainfrom
fix-iterations-error

Conversation

@t-heuser

@t-heuser t-heuser commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Content releases often failed after their 10 iterations while editors were publishing. The orchestrator only added
rendered pages to the release after a whole rendering iteration had finished. Publishing clears the content cache of
the published node (and of nodes where it is used), so pages rendered earlier in the iteration were often gone again by
then and had to be rendered once more.

Now the render workers report every rendered page to the orchestrator (new Redis list renderedJobs), and the
orchestrator adds it to the release right away. This can make a release slightly inconsistent, because a page may miss
changes published while the release was running. That is acceptable: every publish schedules an incremental release,
which picks those changes up (unless automatic releases are paused).

The cache flush before re-rendering a node moved from the render workers to the orchestrator. It now happens once per
node and retry iteration, before the node's jobs are queued. The node's cache tag is not dimension specific, so when
workers flushed it, they also wiped variants other workers had just rendered, which made those incomplete again and
caused further retries.

@t-heuser
t-heuser force-pushed the fix-iterations-error branch from 5546954 to 51cb2a3 Compare October 6, 2026 13:15
@t-heuser
t-heuser merged commit 54ea9d4 into main Oct 6, 2026
3 checks passed
@t-heuser
t-heuser deleted the fix-iterations-error branch October 6, 2026 13: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.

1 participant