Skip to content

feat: assign actions to people by id or email, and clear assignees (v1.34.0) - #43

Merged
positonic merged 1 commit into
mainfrom
feat/action-assignees
Nov 18, 2026
Merged

positonic merged 1 commit into
mainfrom
feat/action-assignees

Conversation

@positonic

@positonic positonic commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

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: true clears 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 }) then assign(...). Every assignee must be assignable in the action's project/team/workspace or the server answers NOT_FOUND.

Depends on

exponential-im/exponential#1147 for emails and all. assign by userIds works 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-run before the real publish).

Tests: src/actions.test.ts (ref splitting, assign/unassign/create payloads). 196/196 pass.

…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).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T19:28:39.890282Z 5b08916 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant