Skip to content

Use Luma as the source of truth for event registration - #26

Merged
esthor merged 1 commit into
mainfrom
esthor/luma-registration-truth
Sep 16, 2026
Merged

esthor merged 1 commit into
mainfrom
esthor/luma-registration-truth

Conversation

@esthor

@esthor esthor commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Public event pages combine a live guest count with an old stored capacity. After draft recovery, All Things Sync showed “500 / 200 guests registered”; future events can also falsely appear closed. Rendering also depends on a separate Luma attendee request.

Delegate registration and availability to the event’s Luma page. Remove guest-count fetches, capacity banners and derived waitlist decisions from the generic event page and the five custom historical event pages. Keep registration links, past-event notices and all stored historical data. Events without a Luma link show their event details without inventing a registration destination.

Validation: TypeScript, formatting, diff checks and all 19 existing tests (87 assertions) pass. Confirmed no public event page still calls the attendee counter. After deployment, verify All Things Sync, Effect San Francisco, a custom historical event and a site-only historical event; confirm stored capacities and the 35-event archive remain unchanged.

Merged as 51cfd702a38d575b916bbbb7d06ebbdf985ff605 after CodeRabbit approved the exact head with no issues and all checks passed. Main CI and production deployment succeeded. Production verification passed on all eight selected event pages, including the generic and five custom routes: no stale capacity claims remain, and upcoming events link to Luma availability. The 35-event archive and stored capacities are unchanged. RSS and sitemap still parse and contain all public event URLs.

@vercel

vercel Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
allthingsweb Ready Ready Preview Sep 16, 2026 7:57pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: ac42d065-1fa1-4960-8ed9-7279c5ed82b6

📥 Commits

Reviewing files that changed from the base of the PR and between aec7a34 and a817824.

📒 Files selected for processing (7)
  • app/src/app/2024-10-05-hackathon-at-sentry/page.tsx
  • app/src/app/2024-12-03-all-things-web-at-convex/page.tsx
  • app/src/app/2025-04-26-hackathon-at-sentry/page.tsx
  • app/src/app/2025-06-02-nextdevfm-live/page.tsx
  • app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx
  • app/src/app/[slug]/page.tsx
  • app/src/components/event-details.tsx

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
🧰 Additional context used
📓 Path-based instructions (5)
Do not use Bun-specific APIs in production code; ensure compatibility with Node.js runtime

📄 CodeRabbit inference engine (.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc)

Files:

  • app/src/app/2025-04-26-hackathon-at-sentry/page.tsx
  • app/src/app/2025-06-02-nextdevfm-live/page.tsx
  • app/src/app/[slug]/page.tsx
  • app/src/components/event-details.tsx
  • app/src/app/2024-10-05-hackathon-at-sentry/page.tsx
  • app/src/app/2024-12-03-all-things-web-at-convex/page.tsx
  • app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx
Use pre-built Stack UI components (e.g., , , ) when building auth UI In Client Components, retrieve the current user via useUser(); use useUser({ or: "redirect" }) for protected pages In Server Components, use...

📄 CodeRabbit inference engine (.cursor/rules/neon-auth.mdc)

Files:

  • app/src/app/2025-04-26-hackathon-at-sentry/page.tsx
  • app/src/app/2025-06-02-nextdevfm-live/page.tsx
  • app/src/app/[slug]/page.tsx
  • app/src/components/event-details.tsx
  • app/src/app/2024-10-05-hackathon-at-sentry/page.tsx
  • app/src/app/2024-12-03-all-things-web-at-convex/page.tsx
  • app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx
Define TanStack DB collections using createCollection with the appropriate options creator (e.g., queryCollectionOptions, electricCollectionOptions, localOnlyCollectionOptions, liveQueryCollectionOptions) rather than ad-hoc stores Always pr...

📄 CodeRabbit inference engine (.cursor/rules/electric-sql-tanstack-db.mdc)

Files:

  • app/src/app/2025-04-26-hackathon-at-sentry/page.tsx
  • app/src/app/2025-06-02-nextdevfm-live/page.tsx
  • app/src/app/[slug]/page.tsx
  • app/src/components/event-details.tsx
  • app/src/app/2024-10-05-hackathon-at-sentry/page.tsx
  • app/src/app/2024-12-03-all-things-web-at-convex/page.tsx
  • app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx
In mutationFn implementations, ensure server writes have synced back before returning (e.g., await collection.refetch() or equivalent) so optimistic state can be safely discarded When creating a collection, prefer supplying a Standard Schem...

📄 CodeRabbit inference engine (.cursor/rules/tanstack-db.mdc)

Files:

  • app/src/app/2025-04-26-hackathon-at-sentry/page.tsx
  • app/src/app/2025-06-02-nextdevfm-live/page.tsx
  • app/src/app/[slug]/page.tsx
  • app/src/components/event-details.tsx
  • app/src/app/2024-10-05-hackathon-at-sentry/page.tsx
  • app/src/app/2024-12-03-all-things-web-at-convex/page.tsx
  • app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx
In React components, use the useLiveQuery hook to bind live query results to component state

📄 CodeRabbit inference engine (.cursor/rules/tanstack-db.mdc)

Files:

  • app/src/app/2025-04-26-hackathon-at-sentry/page.tsx
  • app/src/app/2025-06-02-nextdevfm-live/page.tsx
  • app/src/app/[slug]/page.tsx
  • app/src/components/event-details.tsx
  • app/src/app/2024-10-05-hackathon-at-sentry/page.tsx
  • app/src/app/2024-12-03-all-things-web-at-convex/page.tsx
  • app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx
🔇 Additional comments (7)
app/src/components/event-details.tsx (1)

66-66: LGTM!

Also applies to: 157-157, 201-201, 203-203, 205-213

app/src/app/2024-10-05-hackathon-at-sentry/page.tsx (1)

70-72: LGTM!

app/src/app/2024-12-03-all-things-web-at-convex/page.tsx (1)

78-80: LGTM!

Also applies to: 84-84

app/src/app/2025-06-02-nextdevfm-live/page.tsx (1)

94-96: LGTM!

app/src/app/2025-04-26-hackathon-at-sentry/page.tsx (1)

71-73: LGTM!

app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx (1)

71-73: LGTM!

app/src/app/[slug]/page.tsx (1)

76-78: LGTM!


📝 Walkthrough

Walkthrough

The event pages no longer retrieve Luma attendee counts or calculate capacity. Shared event components no longer render capacity-based states and now link directly to Luma event details.

Changes

Event capacity removal

Layer / File(s) Summary
Shared event display
app/src/components/event-details.tsx
The shared components no longer accept capacity or attendee-count props. Capacity alerts and waitlist labels were removed. Luma links now show registration or event-detail actions.
Event page integrations
app/src/app/2024-10-05-hackathon-at-sentry/page.tsx, app/src/app/2024-12-03-all-things-web-at-convex/page.tsx, app/src/app/2025-04-26-hackathon-at-sentry/page.tsx, app/src/app/2025-06-02-nextdevfm-live/page.tsx, app/src/app/2025-09-23-lightning-hackathon-at-sentry/page.tsx, app/src/app/[slug]/page.tsx
The event pages no longer import getEventAttendeeCount, calculate isAtCapacity, or pass attendee-related props.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~15 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to a8178

Events with Luma pages retain valid registration or details links, while site-only events do not receive an invalid destination. No actionable merge risk remains.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 7 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: event registration and availability now rely on each event's Luma page.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch esthor/luma-registration-truth

Comment @coderabbitai help to get the list of available commands.

@esthor
esthor merged commit 51cfd70 into main Sep 16, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — a8178240 Deployed Sep 16, 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.

1 participant