Skip to content

feat(events): add protected event reads - #183

Merged
KalebCole merged 1 commit into
mainfrom
feat/164-event-reads
Aug 12, 2026
Merged

KalebCole merged 1 commit into
mainfrom
feat/164-event-reads

Conversation

@KalebCole

Copy link
Copy Markdown
Owner

Summary

  • add protected events list --when upcoming|past and events get through app.Execute
  • project the reviewed nullable event fields, exact state/role/RSVP values, and unavailable detail fields
  • reuse collection cursors and auth-owned session acquisition, including serialized refresh and token-identity backfill
  • ship product and remote contract revision 2026-08-12.1

Read boundaries

  • list calls one reviewed homepage operation, preserves received order, and enforces 1,000-item/8-MiB bounds
  • cursors bind command, normalized --when, next offset, and full response digest; changed refetches return CURSOR_SNAPSHOT_CHANGED
  • getEventInfo requires an object, maps reviewed 404 NOT_FOUND, and treats every other received status, including 403, as protocol drift
  • S3 does not call Firestore event GET, getCurrentGuest, or Firestore guest GET
  • cohost remains reserved and is never emitted; inaccessible-event permission mapping remains deferred

Validation

  • go test -race ./...
  • go vet ./...
  • go build ./...
  • go mod tidy with no module diff
  • TZ=America/Los_Angeles npm test — 352 passed, 6 live tests skipped
  • npm run typecheck
  • npm test -- --run tests/remote-api-contract.test.js — 31 passed
  • privacy scan and git diff --check

Closes #164

Implement reviewed upcoming and past list snapshots, nullable event details, exact event projections, and protected session acquisition for #164. Ship product and remote contract revision 2026-08-12.1.

Co-authored-by: Copilot <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@KalebCole, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 15 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 10ff5791-d6a2-4448-a0ad-171cc7de1121

📥 Commits

Reviewing files that changed from the base of the PR and between 936b316 and cb51325.

📒 Files selected for processing (9)
  • docs/CLI-PRODUCT-CONTRACT.md
  • internal/app/app.go
  • internal/app/events.go
  • internal/app/execute_test.go
  • internal/app/posters.go
  • internal/app/session.go
  • internal/auth/auth.go
  • internal/remote/events.go
  • tests/remote-api-contract.test.js

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-12 03:20 UTC

@KalebCole
KalebCole merged commit a084b26 into main Aug 12, 2026
2 checks passed
@KalebCole
KalebCole deleted the feat/164-event-reads branch August 12, 2026 03:20
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.

Implement event reads in Go

1 participant