Skip to content

Test project: the two meetup triggers for leaving and cancelling - #323

Merged
renrenmimi merged 1 commit into
mainfrom
functions/testcloud-meetup-triggers
Oct 14, 2026
Merged

renrenmimi merged 1 commit into
mainfrom
functions/testcloud-meetup-triggers

Conversation

@renrenmimi

Copy link
Copy Markdown
Owner

Adds two functions to the test project's entry (functions-testcloud/index.js). The owner authorized them on 2026-10-14, so that leaving and cancelling a meetup can be tested with many people at once.

Function What it does
onParticipantDeleted Takes a leaver off the meetup's count
onMeetupUpdated Tells everyone on the roster that the meetup is cancelled

They were audited the same way as the earlier ones: neither binds a secret, calls out, or runs on a schedule, and both only read and write Firestore. The entry's guards still refuse secrets and schedules, and its expected count goes from 39 to 41.

Both are deployed to petnote-devtest only, with --only functions:testcloud:onParticipantDeleted,functions:testcloud:onMeetupUpdated.

🤖 Generated with Claude Code

Authorized by the owner on 2026-10-14, so that leaving and cancelling a
meetup can be tested with many people at once on the test project:
onParticipantDeleted takes a leaver off the count, and onMeetupUpdated
tells everyone on the roster that the meetup is cancelled. Neither binds
a secret, calls out or runs on a schedule; both only read and write
Firestore. The entry now expects 41 functions.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 14, 2026 21:13
@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 9:13pm UTC

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-14T21:15:01.925030Z 0fe0f8f 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0fe0f8f061

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +126 to +127
onParticipantDeleted: meetups.onParticipantDeleted,
onMeetupUpdated: notifications.onMeetupUpdated,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Stop skipping the newly deployed meetup triggers

When the many-user scenario targets petnote-devtest, CLOUD is true and functions/scripts/scenario-many-users.mjs still unconditionally skips the participant deletion/rejoin checks at lines 639–643 and the cancellation-notification check at lines 687–690. Since skipped checks do not affect the script's exit status, a cloud run can report success without exercising either newly exported trigger, defeating the stated purpose of this change; update those cloud branches now that the functions are available.

Useful? React with 👍 / 👎.

@renrenmimi
renrenmimi merged commit 2747f07 into main Oct 14, 2026
6 checks passed
@renrenmimi
renrenmimi deleted the functions/testcloud-meetup-triggers branch October 14, 2026 21:19

This branch was successfully deployed

1 active deployment
Preview — 0fe0f8f0 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