Skip to content

fix(relay): propagate authenticated scope#70

Merged
msmakouz merged 1 commit into
masterfrom
fix/relay-authenticated-scope
Jul 6, 2026
Merged

fix(relay): propagate authenticated scope#70
msmakouz merged 1 commit into
masterfrom
fix/relay-authenticated-scope

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • propagate websocket metadata scope_id into relay user hub identity
  • preserve user_metadata when recreating the relay actor
  • add focused relay central identity tests for authenticated scope propagation and legacy fallback

Validation

  • cd src/relay/src && wippy lint --json -> 0 errors, 0 warnings
  • cd src/relay/src && wippy run -o wippy.relay:central.service:host=wippy.terminal:host -o wippy.relay.env:user_security_scope:default=app.security:user -o wippy.relay.env:host:default=wippy.terminal:host test central -> 2/2 passed

Note

The broader relay test command still exposes an unrelated pre-existing user_test environment/policy issue, so this PR stays scoped to central relay identity propagation.

@msmakouz msmakouz merged commit 5d6cafd into master Jul 6, 2026
18 checks passed
@msmakouz msmakouz deleted the fix/relay-authenticated-scope branch July 6, 2026 17:52
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