Skip to content

event invites: non-canonical --title never replaces the podcast invite title; verify-invite checks every guest - #516

Merged
alexeygrigorev merged 5 commits into
mainfrom
hub/intake-1e1fe78d7799ae00a48072ce292c647713ab11085360f1f49903233f63653687
Nov 27, 2026
Merged

alexeygrigorev merged 5 commits into
mainfrom
hub/intake-1e1fe78d7799ae00a48072ce292c647713ab11085360f1f49903233f63653687

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

Hub intake 0d56721e (follow-up to #451).

Bug: since #457, event update --title <anything> (and event propose --title) became the podcast guest-invite title verbatim. The SerpApi invite (card f13683f7, Google event 5e3a037c…) was rewritten on 21 Nov to the topic "Giving AI Agents Reliable Access to the Web". The read-back check missed it because its expectation used the same override. Live verify-invite today:
orin@datatalks.club: title is "Giving AI Agents Reliable Access to the Web", expected "Julien Khaleghy at DataTalks.Club Podcast"

Fix

  • --title overrides the invite title only when it is already canonical (<Guest> at DataTalks.Club Podcast). Otherwise the shared builder resolves the guest-named title.
  • GET /api/calendar-holds/<id>/verify-invite takes guests from the event record (all guests), not only the hold's single guestRef. Before this, a correct two-guest invite was reported as a mismatch.

Test: guest-invite-builder.test.ts adds one case: a placeholder propose title plus a topic --title update stay canonical and send no guest email (no sendUpdates=all), a canonical --title still overrides, and verify-invite passes with two guests. Without the service fix the test fails.

After deploy: repair event 5e3a037c with dataops event update f13683f7…, which sends no guest email (sendUpdates=none on update) and keeps the time and guests. Then confirm with verify-invite.

…ite title; verify-invite checks every event guest

Hub intake 0d56721e. Since #457 an explicit `event update --title` (or a
propose --title) became the podcast guest-invite title verbatim, so the
SerpApi invite (event 5e3a037c) was rewritten on 21 Nov to the topic
"Giving AI Agents Reliable Access to the Web" instead of
"Julien Khaleghy at DataTalks.Club Podcast". The read-back validator
could not catch it because its expectation used the same override.

- --title only overrides the invite title when it is itself canonical
  ("<Guest> at DataTalks.Club Podcast"); anything else stays the Card
  title and the shared builder resolves the guest-named title.
- verify-invite takes the guest set from the event record (every guest),
  not only the hold's single guestRef.
- Test: placeholder propose title + topic update stay canonical and
  silent, a canonical --title still overrides, verify-invite passes with
  two guests.
@alexeygrigorev

Copy link
Copy Markdown
Member Author

Backlog triage 2026-11-27: integrated current main (713faaa, includes #534 whose title check shares these routes) into this branch without conflicts; still conflict-free against main with #514.

  • Exact head bdda7a7a6b08756838f6c1a3c3ecf479939f7580: app, browser E2E and CLI checks all SUCCESS.
  • On the merged tree: 44 backend cases (invite builder, calendar holds, event service, podcast episodes, title quality) and 20 frontend cases pass; source typecheck and scale gate pass.

After deploy, repairing the 15 Dec event through the fixed path is a live calendar write and is left to the operator (no new guest email unless the content update needs one).

@alexeygrigorev
alexeygrigorev merged commit b399783 into main Nov 27, 2026
4 checks passed
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