Repository navigation
Computer: verified email to the computer's card, for Slack auto-link - #1063
Open
opencomputer-app[bot] wants to merge 1 commit into
Open
opencomputer-app[bot] wants to merge 1 commit into
opencomputer-app[bot] wants to merge 1 commit into
Conversation
…mputer's card for Slack auto-link The edge records the email WorkOS verified at each login (users.verified_email, additive migration 0025) and asserts it as verified_email on the dashboard's GET /computer only. The backend carries it to the Durable Object's overview, which calls ModelAccess agents.autoLink (optional; absent in the public build) for an unlinked user, bounded to 3 s. users.lookupByEmail is form-encoded.
opencomputer-app
Bot
requested review from
UtpalJayNadiger,
ZIJ and
motatoes
as code owners
November 18, 2026 01:26
|
View docs preview Docs hosted with Margin |
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Requested by @mohamed Habib in Slack.
Today a dashboard user has to DM the bot
!link <code>before their dashboard account is linked to their Slack user. This PR does the public half of auto-linking them by verified email:email_verified(users.verified_email, additive migration0025; NULL otherwise). Assert it asverified_emailto managed-agents on the dashboard'sGET /computeronly. API-key callers never carry it.overview. For an unlinked user, it calls the optionalModelAccess.agents.autoLinkand waits at most 3 s. The public build has noautoLink, so nothing changes there.users.lookupByEmailadded to the form-encoded Slack methods;SlackResult.user.idtyped.The hosted implementation is in the companion PR in opencomputer-deploy. The two merge independently:
autoLinkis optional, and until the edge sends the claim nothing calls it.Tests: edge 660/660 (2 new); backend auth test (1 new). Overlaid on this branch, the subscription suites pass 171/171, and the computer route suites pass serially.