Repository navigation
feat: assign actions to people by id or email, and clear assignees (v1.34.0) - #43
Merged
Merged
Conversation
…1.34.0)
- actions.create takes assigneeIds and assigneeEmails.
- actions.assign(actionId, { userIds, emails }) adds assignees (additive, idempotent).
- actions.unassign(actionId, { userIds, emails, all }) removes them; all: true clears.
- splitAssigneeRefs() turns mixed 'id or email' strings into { userIds, emails }.
Needs the exponential-app change that adds email resolution and unassign all
(assign by userIds works against older servers).
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 16, 2026
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.
What
SDK 1.34.0: assign actions to people from code.
actions.create({ ..., assigneeIds, assigneeEmails })actions.assign(actionId, { userIds?, emails? }): additive and idempotent; existing assignees stay.actions.unassign(actionId, { userIds?, emails?, all? }):all: trueclears every assignee.splitAssigneeRefs(["id,ada@example.com", ...])→{ userIds, emails }(anything with@is an email), shared by the CLI and MCP.There's no replace-the-set call; replace =
unassign({ all: true })thenassign(...). Every assignee must be assignable in the action's project/team/workspace or the server answersNOT_FOUND.Depends on
exponential-im/exponential#1147 for
emailsandall.assignbyuserIdsworks against today's server.Next in the chain
exponential-im/exponential-cli#52 and exponential-im/exponential-mcp#23 consume 1.34.0. Their CI needs 1.34.0 published to npm first (the SDK has no
prepublishOnly:rm -rf dist && npm run build && npm publish --dry-runbefore the real publish).Tests:
src/actions.test.ts(ref splitting, assign/unassign/create payloads). 196/196 pass.