Repository navigation
feat: add opt-in AI Gateway actor email headers - #29930
Merged
Merged
Conversation
Contributor
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
johnstcn
commented
Sep 25, 2026
johnstcn
marked this pull request as ready for review
September 25, 2026 16:38
Lisa-Fiander
requested changes
Sep 28, 2026
Lisa-Fiander
approved these changes
Sep 28, 2026
johnstcn
force-pushed
the
feat/actor-email-opt-in
branch
from
September 28, 2026 10:19
c54453b to
2495625
Compare
ssncferreira
approved these changes
Sep 28, 2026
johnstcn
force-pushed
the
feat/actor-email-opt-in
branch
from
September 29, 2026 18:07
2495625 to
0fad393
Compare
johnstcn
force-pushed
the
feat/actor-email-opt-in
branch
from
September 29, 2026 18:23
0fad393 to
1a8ce80
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add opt-in forwarding of the authenticated Coder account email through
--ai-gateway-actor-header-meta-email,CODER_AI_GATEWAY_ACTOR_HEADER_META_EMAIL, orai_gateway.actor_header_meta_email. The option defaults to empty: enablingsend_actor_headersalone does not forward email. Set a destination header explicitly to opt in; accounts without an email omit it.Carry authenticated email through the Gateway authorization response and strip client-supplied standard/configured email headers before applying trusted identity. The additive protocol field joins unreleased Gateway API v1.3 alongside workspace attribution. Includes email configuration precedence, authorization compatibility, captured upstream request tests, and matching documentation.
Depends on #29929, which introduces ID/username configurability. This is the second PR in the replacement stack and supersedes the email work from #29840.
Refs https://linear.app/codercom/issue/AIGOV-601
Implementation decisions and verification
Generated with Coder Agents on behalf of @johnstcn.