8000 fix(series): generate dates from the current schedule by mwoods79 · Pull Request #757 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

fix(series): generate dates from the current schedule - #757

Merged
mwoods79 merged 1 commit into
mainfrom
t3/series-generation-follows-edits
Dec 1, 2026
Merged

mwoods79 merged 1 commit into
mainfrom
t3/series-generation-follows-edits

Conversation

@mwoods79
@mwoods79 mwoods79 commented Dec 1, 2026
Copy link
Copy Markdown
Contributor

Summary

Recurring huddlz follow the organizer’s edited schedule when generation overlaps an edit to the whole series. Guests can RSVP to another huddl in the group while generation copies a cover.

Evidence

Before: Moving a four-date series an hour later while generation waited on the edit left seven huddlz, including three at the old time. With a cover copy paused, PostgreSQL identified the worker as the blocker for an RSVP on another huddl.

After: The same edit and a worker retry left exactly four huddlz at the new time, with no increase in database deadlocks. The RSVP committed while the copy was still paused. When a second worker supplied the date first, the first worker discarded its unused image and thumbnail. A retry after a storage failure preserved the existing huddl ID, RSVP, waitlist entry and replacement cover.

Merge Danger

Door: two-way
Blast Radius: Data

  • The worker commits the scheduled date, huddl and cover record together. Competing workers can briefly copy the same source image to separate destinations.
  • Rollback restores the previous worker behavior. Existing huddlz and their guests retain their IDs.

Recheck each occurrence after acquiring the same group lock as a series
edit. Prepare cover files before taking that lock and discard them when
another worker supplies the date or the transaction fails.
@mwoods79
mwoods79 merged commit b4bfb64 into main Dec 1, 2026
8 of 10 checks passed
@mwoods79
mwoods79 deleted the t3/series-generation-follows-edits branch December 1, 2026 22:58
mwoods79 added a commit that referenced this pull request Dec 1, 2026
* origin/main:
  fix(storage): strip camera metadata from uploaded pictures (#738)
  fix(series): generate dates from the current schedule (#757)
  fix(storage): enforce current access on picture requests (#755)
  fix(huddl): keep pages working when a huddl's group is hidden (#747)
  fix(auth): enforce resend cooldowns and stabilize timing tests (#748)
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

0