Skip to content

Profiles: a renamed organizer is renamed on their meetups too - #326

Merged
renrenmimi merged 1 commit into
mainfrom
functions/organizer-name-sync
Oct 14, 2026
Merged

renrenmimi merged 1 commit into
mainfrom
functions/organizer-name-sync

Conversation

@renrenmimi

Copy link
Copy Markdown
Owner

A meetup keeps its organizer's name and photo (organizerName, organizerAvatar). The app shows them as "Organized by …".

onUserUpdated copies a new name and photo onto posts, comments, notifications, rosters, reviews, family, follower records and check-ins. It did not do this for the meetups the person organizes. updateMeetupCallable refreshed those fields only when the meetup itself was edited, so a renamed organizer kept the old name on every meetup they had not touched since. onUserUpdated now updates those meetups too, found by organizerId.

I found this while finding every copy of a pet's name for #325.

Test. One new emulator test:

  • a rename reaches the organizer's meetup and their post;
  • someone else's meetup is left alone.

The test fails on the old code. The full suite passes: 291 tests.

🤖 Generated with Claude Code

A meetup keeps its organizer's name and photo, shown as "Organized
by …". onUserUpdated copied a new name onto posts, comments, rosters and
the rest, but not onto the meetups the person organizes, which kept the
old name until the meetup itself was edited. It now updates those too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
pet-note Ready Ready Preview Oct 14, 2026 11:24pm UTC

Copilot AI balanced review requested due to automatic review settings October 14, 2026 23:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T23:31:32.267848Z 3f0c3a6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@renrenmimi
renrenmimi merged commit 5c2f60e into main Oct 14, 2026
6 checks passed
@renrenmimi
renrenmimi deleted the functions/organizer-name-sync branch October 14, 2026 23:28

This branch was successfully deployed

1 active deployment
Preview — 3f0c3a66 Deployed Oct 14, 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.

2 participants