Skip to content

feat(auth): Emit actor viewer contexts (writer) - #128111

Merged
gricha merged 1 commit into
masterfrom
feat/viewer-context-actor-cutover
Oct 23, 2026
Merged

gricha merged 1 commit into
masterfrom
feat/viewer-context-actor-cutover

Conversation

@gricha

@gricha gricha commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

4/7 — WRITER: Sentry. Deploy after GetSentry migration #22613.

Change the serialization default to the V2 actor envelope. Keep dual-format reads, explicit V1 serialization, and the temporary Sentry compatibility bridge. The production diff changes one default.

Stacked on Sentry reader #128080. Both that reader and Seer reader #8941 must already be fully deployed across web, workers, consumers, and all silos.

Fully deploy, then deploy 5/7: Seer writer #8988. Enable newly identified actors after both writers deploy. Roll back writers while retaining dual readers; queued or persisted V2 work still needs those readers.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 19, 2026
@gricha
gricha force-pushed the feat/viewer-context-actor-poc branch from f79a656 to 5a5516b Compare October 20, 2026 19:48
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from be92d63 to 93b2114 Compare October 20, 2026 20:10
@gricha
gricha force-pushed the feat/viewer-context-actor-poc branch from ebf233b to 4a436fe Compare October 20, 2026 21:45
@gricha gricha changed the title ref(auth): Cut over to actor-based ViewerContext feat(auth): Emit V2 contexts while retaining legacy callers Oct 20, 2026
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from e268834 to f1fb280 Compare October 20, 2026 22:04
@gricha gricha changed the title feat(auth): Emit V2 contexts while retaining legacy callers feat(auth): Emit V2 viewer contexts (producer cutover) Oct 20, 2026
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from f1fb280 to 3c74bf7 Compare October 20, 2026 23:03
@gricha
gricha force-pushed the feat/viewer-context-actor-poc branch from a72afc4 to eaa6068 Compare October 20, 2026 23:14
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch 4 times, most recently from bd29c82 to 0a1f6d4 Compare October 20, 2026 23:58
@gricha
gricha force-pushed the feat/viewer-context-actor-poc branch from 43fe642 to 0eadcfc Compare October 21, 2026 19:01
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from 0a1f6d4 to be6fc44 Compare October 21, 2026 21:32
@gricha
gricha force-pushed the feat/viewer-context-actor-poc branch from 0eadcfc to bf9263d Compare October 21, 2026 23:57
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from be6fc44 to 5deaf7c Compare October 21, 2026 23:59
@gricha gricha changed the title feat(auth): Emit V2 viewer contexts (producer cutover) feat(auth): Emit actor viewer contexts (writer) Oct 22, 2026
@gricha
gricha marked this pull request as ready for review October 22, 2026 00:34
@gricha
gricha requested review from a team as code owners October 22, 2026 00:34
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from 5deaf7c to 2ae06f5 Compare October 22, 2026 22:55
@sentry

sentry Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 760 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

Base automatically changed from feat/viewer-context-actor-poc to master October 22, 2026 23:17
@gricha
gricha requested review from a team as code owners October 22, 2026 23:17
@gricha
gricha requested review from a team as code owners October 22, 2026 23:17
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch 2 times, most recently from e2bedf4 to 0b524a6 Compare October 23, 2026 17:05
@gricha
gricha force-pushed the feat/viewer-context-actor-cutover branch from 0b524a6 to ef1f83b Compare October 23, 2026 17:29
@gricha
gricha merged commit 72c126e into master Oct 23, 2026
89 checks passed
@gricha
gricha deleted the feat/viewer-context-actor-cutover branch October 23, 2026 19:42
gricha added a commit that referenced this pull request Oct 23, 2026
**7/7 — FINAL CLEANUP: Sentry. Deploy after [Seer cleanup
#8943](getsentry/seer#8943

Remove the temporary GetSentry constructor/token bridge and human
`user_id` accessor, leaving the regular actor-backed dataclass
constructor. Migrate remaining human reads to actor identity or
delegation and remove V1 wire methods and serialization version
arguments. Endpoint authorization policy stays the same.

Stacked on [Sentry writer
#128111](#128111). Both writers
must be fully deployed and all V1 work retired, as required by Seer
cleanup.

[GetSentry migration
#22613](getsentry/getsentry#22613) must be fully
deployed, with old GetSentry web and worker processes retired, before
this PR deploys. The earlier reader deliberately preserves those callers
so the repositories can roll out separately.

---------

Co-authored-by: Codex <[email protected]>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Stanley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants