fix(seed): add missing Host entries for seeded round‑robin and collective team events #26426
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR fixes the problem where round‑robin (and collective) team event types seeded in development did not display any team availabilities. The root cause was that the seeding logic created the team and its members but never created the corresponding
Hostrecords that link users to the event type. Without thoseHostentries the availability engine has no users to query, so the UI shows an empty slot list.Visual Demo (For contributors especially)
A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).
Video Demo (if applicable):
After fix:
Screen.Recording.2026-01-04.at.2.02.34.PM.mov
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
yarn dx # or the command you normally use to seed[email protected](or any seeded user that belongs to a team with a round‑robin event).Environment variables: No special env vars are needed beyond the usual ones for the local dev server.
Checklist