Skip to content

chore: release v4.9.0 - #5154

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

22 new features, 21 improvements, 17 bug fixes.

Highlights

  • Sandbox tasks restrict outbound network access by default. sandbox.network accepts "restricted" (Trigger.dev's services and the allowed domains of granted Vault variables only), { allow: ["api.example.com", "*.example.com"] } to also allow HTTPS to those hosts, or "unrestricted". Restricted sandboxes can only make outbound connections on port 443; a blocked HTTPS request gets a 403 with an x-trigger-network-denied header. (5d4d12e5cdbee930468868e72ce36c678a3f8e16)

Improvements

  • Add versionSkew: "follow-mid-turn" to chat.agent and chat.createSession. It does everything "follow" does, and also moves a turn that is still running when its version is below the skew protection threshold: the turn finishes the step it is on, and a run on the current deployment continues the same reply from the next step, so no step runs twice and the person chatting sees one reply. chat.handOverAtStep(step) does the same from your own prepareStep. chat.requestUpgrade() called during a turn now moves the turn at the next step boundary instead of waiting for the turn to end. A turn is handed over only when the agent in the current deployment was built with this release or later; otherwise the turn finishes on its own version. If the API can't be reached during a handover, the old run keeps trying to start the next run for about three minutes, and a run that continues a chat while the API can't be reached waits for it rather than answer a message again. (7662a2f83274a47f070ac1970b44f6f633e3d177)

  • Add defineMachine() for tasks that need their own image. A machine adds apt packages or Containerfile instructions on top of the project image and sets a default preset. Set it as a task's machine and the deploy builds its image. Available only to early testers. (cef33425c683fbd21992996739bea36fdc4040b5)

  • Resume a deployed task as soon as its run is restored after a wait. A run that was suspended during a wait (wait.for, triggerAndWait, a waitpoint token or session input) could take up to 5 seconds longer than needed to continue, and the waits it finished after that, or a cancellation, could reach the task with the same delay. (27b8200f5d977f9d3a3a78822772c0afdbe2d5a9)

  • Add @trigger.dev/sdk/preview for features in preview. Adds sandboxed task runs and multiple machine configs as preview features, available only to early testers. (3e98abe3be9466968c162ea7d04547134a824a30)

  • Use sandbox: true to run a deployed task with access limited to its own payload and output. Configure sandbox.envVars and sandbox.scopes to grant environment variables or additional permissions, including the basic and oidc presets. basic lets a sandbox inspect and manage its own run (including metadata and tags), and exchange messages with its attached Session, including waiting for input. Upgrade the SDK, CLI, and (when self-hosting) server before adopting this option. trigger dev still runs locally with development credentials and is not an isolation boundary. (024c5999a53fef9c2042c0d715f1d1cf2cf1b569)

  • Add unstable_signals: send a small message to every executing run in an environment that listens for its name, with unstable_signals.send(name, payload), listen inside a task with unstable_signals.on(name, handler), read the current latest once with unstable_signals.latest(name), and forget the latest with unstable_signals.clear(name). A run that starts listening receives the latest signal of that name first. Unstable: names and behavior may change. (7662a2f83274a47f070ac1970b44f6f633e3d177)

  • The bundled chat agent skills now use claude-sonnet-5-5 in their examples. They used claude-sonnet-4-5, which Anthropic retires on November 30, 2026, so agents following the skills would have generated code that stops working. (59dc6636b39147c1297984050181facbf9420bd5)

  • A chat.agent channel's final reply is now the turn's last non-empty run of text (tool calls split the text into runs), instead of every step's text joined together. Notes the model wrote before its tool calls no longer end up in the posted reply, unless nothing follows the last tool call, in which case the text just before it is posted. reply.message still has every part. (7a2dd6ba86a1dcc334a0e853018780b5d8fa05e7)

  • TriggerChatTransport no longer replays the previous answer when a chat is sent to or reconnected without a saved lastEventId, for example after a page reload that doesn't restore it. Only the current turn's answer reaches the UI, and a reload mid-answer resumes it live. With older agents that write no turn markers, the answer can arrive when its turn completes rather than streaming, and with the oldest, which record no input cursor, a send made while the agent is idle can still get the previous answer. (04352350bd0ce807f89dc6af15f1d7c4948fbec1)

  • With AI SDK 7's useChat({ resume: true }), a chat that remounts while a reply is still streaming (for example under React StrictMode in development) now rejoins the reply from its start instead of showing nothing until the next message. (85a3dbc612b09f2530073d7d5e7ab589307c6bc2)

  • A chat message sent while an earlier reply is still running, for example after Stop on a reply resumed after a reload, now gets only its own answer instead of the rest of that reply and an error. (73061256bb2e39c335f8ca55b7c8ae98b855f1bb)

  • Upgrade the CLI's zod dependency to 4.6.7. (a093664ec1c4f07b2430b497eca1445630f33405)

  • When you use Trigger.dev Cloud, the CLI and its MCP server now report usage analytics tied to your logged-in account: which commands run and which MCP tools are called, never the arguments you pass. Nothing is reported for self-hosted or local instances. Turn it off with --skip-telemetry or the TRIGGER_TELEMETRY_DISABLED environment variable. (9cc017fff59ca645e313c69addfa6264715b38eb)

  • The MCP server's list_runs tool now accepts before to list the page before a given cursor, using the previous cursor it shows. (37efe87e254c2d2abba6674ecb201d71cb8943a2)

  • The MCP server's trigger_task tool now accepts metadata, idempotencyKeyTTL, concurrencyKey, concurrency, debounce, lockToVersion and priority, matching the options you can pass when triggering from the SDK or the dashboard. Calls without them behave as before. (ea9405ed624126adb741eb3667c8f9a7b1219cb8)

    trigger_task no longer sets a 10 minute ttl on its own when you pass any option, including existing ones such as tags. A run now gets the ttl you pass, otherwise the task's ttl, otherwise 10 minutes in dev and the server's maximum ttl elsewhere (14 days on Trigger.dev Cloud; no expiry on a self-hosted server without one), and a ttl longer than the server's maximum is capped at it. Pass ttl: "10m" to keep the old behaviour.

Bug fixes

  • Fix the type of the handle returned by batch.triggerByTask(). It promised runs, isCached and idempotencyKey, which were never returned, so code like results.runs[0] compiled but threw at runtime. The handle is now typed as what it returns: batchId, runCount and publicAccessToken; use batch.retrieve(batchId) to get the run IDs, or batch.triggerByTaskAndWait() for typed results. (80fc05e8a7a647509b26a22e65dc198b94eccdc9)
  • Fix AgentChat returning another turn's reply, or several replies joined together, instead of the answer to the message you sent: for example when continuing a chat without a saved lastEventId, sending two messages in a row, or when a run answers earlier messages first. Agents now mark where each turn starts and where steered messages join one on the output stream, so redeploy them on this version; with an older agent, a reply AgentChat can't match to your message is delivered when its turn completes instead of streamed. Custom readers of the session output stream must skip control records they don't recognise. A send aborted before its stream starts now asks the agent to stop. (77fb02dd6cb08134bb5a6c911e59161e55c2b0b3)
  • Fix run metadata changes sometimes reaching the API only when the run finished, so realtime subscribers and parent runs didn't see progress while the task was still running. This also fixes a metadata append or increment occasionally being applied twice at the end of a run, and a new run that reused the previous run's process sometimes seeing that run's metadata values. (eea6b174096ae9ec3706734f61f13e48f3ff8b8d)

Server changes

These changes affect the self-hosted Docker image and Trigger.dev Cloud:

  • Copy the agent's replies in the Ask Trigger chat and the AI reply on the Query page with a copy icon.

  • Ask Trigger can now search your environment's logs by message, level, task, run, or time range when the Logs page is available.

  • The MCP server can now trigger a batch of up to 20 runs in one call, after you approve every item.

  • The remote MCP server can now list batches and show a batch with the runs recorded on it (each run's status and error need run read access), list waitpoint tokens and show one with the runs that waited on it, and, after you confirm, complete a token with output, time it out, or skip a wait.

  • The remote MCP server can now read a custom dashboard in full, edit one of its widgets, rename it or change its description, and delete it. It can also list the Query page's recent queries, browse the model catalogue and your model usage, show a prompt with the version a label resolves to, and list a prompt's generations.

  • The remote MCP server can now show one deployment's details and one agent's details and activity, and its trigger_task tool accepts metadata, a concurrency key, named concurrency limits, debounce, a version to run on, priority and an idempotency key lifetime.

    Triggering a task through the API or SDK with a very long idempotency key lifetime no longer fails; the key gets the default lifetime instead.

  • The remote MCP server can now list a project's environments, branches and regions, promote, roll back or cancel a deployment, create or archive a branch, set automatic archiving of preview branches, and change the project's default region.

  • AI agents connected to the MCP server can now see which environment variables are set in each environment, and which are missing, without ever seeing their values.

  • The remote MCP server can now list error groups, show one error group with its recent failed runs, and resolve, ignore or unresolve an error group after you confirm.

  • The remote MCP server can now delete one of your playground conversations after you confirm it.

  • The remote MCP server can now rename and delete a project after you confirm. The delete confirmation shows what the project still has, such as environments, schedules and queued runs, and a deleted project cannot be restored.

  • The remote MCP server's get_prompt tool can now render a prompt version with variables, the same way resolving the prompt through the API does.

  • The remote MCP server can now list queues with their delays and backlog, show a queue's concurrency keys, report an environment's concurrency and its limits, pause, resume, override or reset a queue's concurrency, archive or unarchive a queue, and pause or resume a whole environment.

  • The remote MCP server can now, after you confirm, redeploy a finished deployment (like Redeploy on the Deployments page) and deploy the branch tracked for an environment from the connected GitHub repository (like Deploy now).

  • The remote MCP server can now list an environment's tasks with their recent activity, list and show schedules, and create, update, activate, deactivate or delete a schedule after you confirm it.

  • The remote MCP server can now list sessions with the Sessions page filters, show a session with its runs and channels, read a session's saved conversation, and list your playground conversations with an agent.

  • The remote MCP server can now change a session's tags and metadata, and close a session, after you confirm it.

  • The remote MCP server's list_runs tool can now page backwards through runs.

  • Session pages have a Trace tab that shows every run of a session on one timeline, with zoom, live runs and search across runs.

  • Set a skew protection threshold from the new Session upgrades page, from an agent's page, or through the API, to move sessions on an older version to the current deployment the next time they're used. It can cover every session in the environment or one task's. It's a one-time cutoff: later deploys move nothing until you set it again, and rolling back below it clears it.

  • Links from the docs can open a task's Test page with an example payload already in the editor. If the task isn't in that environment yet, the Test page now says so and shows the command to run or deploy it.

  • Admins can now invite team members, revoke pending invites and resend the ones they sent, but can't invite Owners. Only Owners can remove members or change roles.

  • The audit log event panel now uses the same inspector layout as the run page.

  • The project menu in the side bar shows the project ref and copies it on click, and the Agents card on the Tasks overview links to the AI agents docs.

  • The New environment variable dialog now starts with "Secret value" on. Turn it off to create a variable whose value stays viewable; replacing existing values keeps each one's setting unless you change the switch.

  • Accept GITHUB_APP_PRIVATE_KEY with escaped \n line breaks, so the key can be set as a single-line environment variable.

  • MCP tools now refuse arguments they don't know instead of ignoring them, and name the field the agent most likely meant.

  • Picking tasks for an API key no longer clears your search after each pick, so you can select several matching tasks in a row.

  • Retrieving a run whose payload or output is an empty string now returns that empty string instead of omitting the field.

  • Dev branch runs inherit environment variables from their parent Development environment unless the branch overrides them.

  • Starting a new chat session is faster again.

  • New environment variable names created through the dashboard or API are limited to 256 characters.

  • The MCP promote, rollback and cancel deployment tools now say when a preview branch is archived or unknown instead of answering "Not authorized".

  • The remote MCP server now shows a run's empty-string payload or output instead of hiding it, and shows a batch's runs with the same status names as run details.

  • A removed member who rejoins no longer gets their old role back. Accepting an invite whose role is no longer available, for example after a plan change, now asks for a new invite instead of joining.

  • Project and organization deletions now return a retryable error instead of hanging if queue cleanup fails.

  • Fix queries, dashboards and alerts that combine AND and OR, which ignored brackets and operator precedence and could return the wrong rows.

  • If resetting a queue's concurrency override fails, the override now stays in place so you can retry the reset.

  • Creating public tokens from scoped task credentials now requires permission to read stored payloads.

  • Fix a chat message sent just as an agent run was ending occasionally going unanswered until the next message arrived.

  • The session Trace tab's "View live run" button now only shows when a run is running and the timeline isn't already zoomed to it.

Raw changeset output

Releases

@trigger.dev/core@4.9.0

Minor Changes

  • Add versionSkew: "follow-mid-turn" to chat.agent and chat.createSession. It does everything "follow" does, and also moves a turn that is still running when its version is below the skew protection threshold: the turn finishes the step it is on, and a run on the current deployment continues the same reply from the next step, so no step runs twice and the person chatting sees one reply. chat.handOverAtStep(step) does the same from your own prepareStep. chat.requestUpgrade() called during a turn now moves the turn at the next step boundary instead of waiting for the turn to end. A turn is handed over only when the agent in the current deployment was built with this release or later; otherwise the turn finishes on its own version. If the API can't be reached during a handover, the old run keeps trying to start the next run for about three minutes, and a run that continues a chat while the API can't be reached waits for it rather than answer a message again. (7662a2f83274a47f070ac1970b44f6f633e3d177)

Patch Changes

  • Fix the type of the handle returned by batch.triggerByTask(). It promised runs, isCached and idempotencyKey, which were never returned, so code like results.runs[0] compiled but threw at runtime. The handle is now typed as what it returns: batchId, runCount and publicAccessToken; use batch.retrieve(batchId) to get the run IDs, or batch.triggerByTaskAndWait() for typed results. (80fc05e8a7a647509b26a22e65dc198b94eccdc9)
  • Fix AgentChat returning another turn's reply, or several replies joined together, instead of the answer to the message you sent: for example when continuing a chat without a saved lastEventId, sending two messages in a row, or when a run answers earlier messages first. Agents now mark where each turn starts and where steered messages join one on the output stream, so redeploy them on this version; with an older agent, a reply AgentChat can't match to your message is delivered when its turn completes instead of streamed. Custom readers of the session output stream must skip control records they don't recognise. A send aborted before its stream starts now asks the agent to stop. (77fb02dd6cb08134bb5a6c911e59161e55c2b0b3)
  • Fix run metadata changes sometimes reaching the API only when the run finished, so realtime subscribers and parent runs didn't see progress while the task was still running. This also fixes a metadata append or increment occasionally being applied twice at the end of a run, and a new run that reused the previous run's process sometimes seeing that run's metadata values. (eea6b174096ae9ec3706734f61f13e48f3ff8b8d)
  • Add defineMachine() for tasks that need their own image. A machine adds apt packages or Containerfile instructions on top of the project image and sets a default preset. Set it as a task's machine and the deploy builds its image. Available only to early testers. (cef33425c683fbd21992996739bea36fdc4040b5)
  • Resume a deployed task as soon as its run is restored after a wait. A run that was suspended during a wait (wait.for, triggerAndWait, a waitpoint token or session input) could take up to 5 seconds longer than needed to continue, and the waits it finished after that, or a cancellation, could reach the task with the same delay. (27b8200f5d977f9d3a3a78822772c0afdbe2d5a9)
  • Sandbox tasks restrict outbound network access by default. sandbox.network accepts "restricted" (Trigger.dev's services and the allowed domains of granted Vault variables only), { allow: ["api.example.com", "*.example.com"] } to also allow HTTPS to those hosts, or "unrestricted". Restricted sandboxes can only make outbound connections on port 443; a blocked HTTPS request gets a 403 with an x-trigger-network-denied header. (5d4d12e5cdbee930468868e72ce36c678a3f8e16)
  • Add @trigger.dev/sdk/preview for features in preview. Adds sandboxed task runs and multiple machine configs as preview features, available only to early testers. (3e98abe3be9466968c162ea7d04547134a824a30)
  • Use sandbox: true to run a deployed task with access limited to its own payload and output. Configure sandbox.envVars and sandbox.scopes to grant environment variables or additional permissions, including the basic and oidc presets. basic lets a sandbox inspect and manage its own run (including metadata and tags), and exchange messages with its attached Session, including waiting for input. Upgrade the SDK, CLI, and (when self-hosting) server before adopting this option. trigger dev still runs locally with development credentials and is not an isolation boundary. (024c5999a53fef9c2042c0d715f1d1cf2cf1b569)
  • Add unstable_signals: send a small message to every executing run in an environment that listens for its name, with unstable_signals.send(name, payload), listen inside a task with unstable_signals.on(name, handler), read the current latest once with unstable_signals.latest(name), and forget the latest with unstable_signals.clear(name). A run that starts listening receives the latest signal of that name first. Unstable: names and behavior may change. (7662a2f83274a47f070ac1970b44f6f633e3d177)

@trigger.dev/sdk@4.9.0

Minor Changes

  • Add versionSkew: "follow-mid-turn" to chat.agent and chat.createSession. It does everything "follow" does, and also moves a turn that is still running when its version is below the skew protection threshold: the turn finishes the step it is on, and a run on the current deployment continues the same reply from the next step, so no step runs twice and the person chatting sees one reply. chat.handOverAtStep(step) does the same from your own prepareStep. chat.requestUpgrade() called during a turn now moves the turn at the next step boundary instead of waiting for the turn to end. A turn is handed over only when the agent in the current deployment was built with this release or later; otherwise the turn finishes on its own version. If the API can't be reached during a handover, the old run keeps trying to start the next run for about three minutes, and a run that continues a chat while the API can't be reached waits for it rather than answer a message again. (7662a2f83274a47f070ac1970b44f6f633e3d177)
  • Add @trigger.dev/sdk/preview for features in preview. Adds sandboxed task runs and multiple machine configs as preview features, available only to early testers. (3e98abe3be9466968c162ea7d04547134a824a30)

Patch Changes

  • Fix the type of the handle returned by batch.triggerByTask(). It promised runs, isCached and idempotencyKey, which were never returned, so code like results.runs[0] compiled but threw at runtime. The handle is now typed as what it returns: batchId, runCount and publicAccessToken; use batch.retrieve(batchId) to get the run IDs, or batch.triggerByTaskAndWait() for typed results. (80fc05e8a7a647509b26a22e65dc198b94eccdc9)
  • Fix AgentChat returning another turn's reply, or several replies joined together, instead of the answer to the message you sent: for example when continuing a chat without a saved lastEventId, sending two messages in a row, or when a run answers earlier messages first. Agents now mark where each turn starts and where steered messages join one on the output stream, so redeploy them on this version; with an older agent, a reply AgentChat can't match to your message is delivered when its turn completes instead of streamed. Custom readers of the session output stream must skip control records they don't recognise. A send aborted before its stream starts now asks the agent to stop. (77fb02dd6cb08134bb5a6c911e59161e55c2b0b3)
  • The bundled chat agent skills now use claude-sonnet-5-5 in their examples. They used claude-sonnet-4-5, which Anthropic retires on November 30, 2026, so agents following the skills would have generated code that stops working. (59dc6636b39147c1297984050181facbf9420bd5)
  • A chat.agent channel's final reply is now the turn's last non-empty run of text (tool calls split the text into runs), instead of every step's text joined together. Notes the model wrote before its tool calls no longer end up in the posted reply, unless nothing follows the last tool call, in which case the text just before it is posted. reply.message still has every part. (7a2dd6ba86a1dcc334a0e853018780b5d8fa05e7)
  • TriggerChatTransport no longer replays the previous answer when a chat is sent to or reconnected without a saved lastEventId, for example after a page reload that doesn't restore it. Only the current turn's answer reaches the UI, and a reload mid-answer resumes it live. With older agents that write no turn markers, the answer can arrive when its turn completes rather than streaming, and with the oldest, which record no input cursor, a send made while the agent is idle can still get the previous answer. (04352350bd0ce807f89dc6af15f1d7c4948fbec1)
  • With AI SDK 7's useChat({ resume: true }), a chat that remounts while a reply is still streaming (for example under React StrictMode in development) now rejoins the reply from its start instead of showing nothing until the next message. (85a3dbc612b09f2530073d7d5e7ab589307c6bc2)
  • A chat message sent while an earlier reply is still running, for example after Stop on a reply resumed after a reload, now gets only its own answer instead of the rest of that reply and an error. (73061256bb2e39c335f8ca55b7c8ae98b855f1bb)
  • Add defineMachine() for tasks that need their own image. A machine adds apt packages or Containerfile instructions on top of the project image and sets a default preset. Set it as a task's machine and the deploy builds its image. Available only to early testers. (cef33425c683fbd21992996739bea36fdc4040b5)
  • Sandbox tasks restrict outbound network access by default. sandbox.network accepts "restricted" (Trigger.dev's services and the allowed domains of granted Vault variables only), { allow: ["api.example.com", "*.example.com"] } to also allow HTTPS to those hosts, or "unrestricted". Restricted sandboxes can only make outbound connections on port 443; a blocked HTTPS request gets a 403 with an x-trigger-network-denied header. (5d4d12e5cdbee930468868e72ce36c678a3f8e16)
  • Use sandbox: true to run a deployed task with access limited to its own payload and output. Configure sandbox.envVars and sandbox.scopes to grant environment variables or additional permissions, including the basic and oidc presets. basic lets a sandbox inspect and manage its own run (including metadata and tags), and exchange messages with its attached Session, including waiting for input. Upgrade the SDK, CLI, and (when self-hosting) server before adopting this option. trigger dev still runs locally with development credentials and is not an isolation boundary. (024c5999a53fef9c2042c0d715f1d1cf2cf1b569)
  • Add unstable_signals: send a small message to every executing run in an environment that listens for its name, with unstable_signals.send(name, payload), listen inside a task with unstable_signals.on(name, handler), read the current latest once with unstable_signals.latest(name), and forget the latest with unstable_signals.clear(name). A run that starts listening receives the latest signal of that name first. Unstable: names and behavior may change. (7662a2f83274a47f070ac1970b44f6f633e3d177)
  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/build@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

trigger.dev@4.9.0

Patch Changes

  • Upgrade the CLI's zod dependency to 4.6.7. (a093664ec1c4f07b2430b497eca1445630f33405)

  • When you use Trigger.dev Cloud, the CLI and its MCP server now report usage analytics tied to your logged-in account: which commands run and which MCP tools are called, never the arguments you pass. Nothing is reported for self-hosted or local instances. Turn it off with --skip-telemetry or the TRIGGER_TELEMETRY_DISABLED environment variable. (9cc017fff59ca645e313c69addfa6264715b38eb)

  • The MCP server's list_runs tool now accepts before to list the page before a given cursor, using the previous cursor it shows. (37efe87e254c2d2abba6674ecb201d71cb8943a2)

  • The MCP server's trigger_task tool now accepts metadata, idempotencyKeyTTL, concurrencyKey, concurrency, debounce, lockToVersion and priority, matching the options you can pass when triggering from the SDK or the dashboard. Calls without them behave as before. (ea9405ed624126adb741eb3667c8f9a7b1219cb8)

    trigger_task no longer sets a 10 minute ttl on its own when you pass any option, including existing ones such as tags. A run now gets the ttl you pass, otherwise the task's ttl, otherwise 10 minutes in dev and the server's maximum ttl elsewhere (14 days on Trigger.dev Cloud; no expiry on a self-hosted server without one), and a ttl longer than the server's maximum is capped at it. Pass ttl: "10m" to keep the old behaviour.

  • Add defineMachine() for tasks that need their own image. A machine adds apt packages or Containerfile instructions on top of the project image and sets a default preset. Set it as a task's machine and the deploy builds its image. Available only to early testers. (cef33425c683fbd21992996739bea36fdc4040b5)

  • Resume a deployed task as soon as its run is restored after a wait. A run that was suspended during a wait (wait.for, triggerAndWait, a waitpoint token or session input) could take up to 5 seconds longer than needed to continue, and the waits it finished after that, or a cancellation, could reach the task with the same delay. (27b8200f5d977f9d3a3a78822772c0afdbe2d5a9)

  • Add unstable_signals: send a small message to every executing run in an environment that listens for its name, with unstable_signals.send(name, payload), listen inside a task with unstable_signals.on(name, handler), read the current latest once with unstable_signals.latest(name), and forget the latest with unstable_signals.clear(name). A run that starts listening receives the latest signal of that name first. Unstable: names and behavior may change. (7662a2f83274a47f070ac1970b44f6f633e3d177)

  • Updated dependencies:

    • @trigger.dev/core@4.9.0
    • @trigger.dev/build@4.9.0
    • @trigger.dev/schema-to-json@4.9.0

@trigger.dev/linear@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/python@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/react-hooks@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/redis-worker@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/rsc@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/schema-to-json@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/slack@4.9.0

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.9.0

@trigger.dev/convex@4.9.0

No changes in this release.

@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dd050951-eaec-4eb1-a272-c1d0f0a95408

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from d244ef0 to 0d5f89f Compare November 24, 2026 09:40
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 0d5f89f to 49b3769 Compare November 24, 2026 09:59
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 49b3769 to 629375f Compare November 24, 2026 11:20
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 629375f to 78bb3e4 Compare November 24, 2026 11:43
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 78bb3e4 to c0e5381 Compare November 24, 2026 11:48
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from c0e5381 to 5986e4a Compare November 24, 2026 11:54
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 1 new potential issue.

Devin Review

Comment thread packages/trigger-sdk/CHANGELOG.md Outdated

### Patch Changes

- Fix the type of the handle returned by `batch.triggerByTask()`. It promised `runs`, `isCached` and `idempotencyKey`, which were never returned, so code like `results.runs[0]` compiled but threw at runtime. The handle is now typed as what it returns: `batchId`, `runCount` and `publicAccessToken`; use `batch.retrieve(batchId)` to get the run IDs, or `batch.triggerByTaskAndWait()` for typed results. ([`80fc05e8a`](https://github.com/triggerdotdev/trigger.dev/commit/80fc05e8a7a647509b26a22e65dc198b94eccdc9))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Batch migration note omits polling

The SDK and Core release notes point to batch.retrieve() without noting that the first response can omit run IDs. The batch triggering guide shows when to stop polling and where to check for processing errors.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 5986e4a to 5d2916d Compare November 24, 2026 12:13
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 5d2916d to 9d214a4 Compare November 24, 2026 14:20
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 9d214a4 to 337eaf1 Compare November 24, 2026 14:47
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from f894c34 to 55e8ddd Compare November 24, 2026 17:50
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 55e8ddd to d898290 Compare November 24, 2026 20:09
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 24, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from d898290 to 090e14e Compare November 24, 2026 21:01
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 25, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 090e14e to 3419349 Compare November 25, 2026 08:38
@github-actions github-actions Bot changed the title chore: release chore: release v4.8.11 Nov 25, 2026
@github-actions github-actions Bot changed the title chore: release v4.8.11 chore: release Nov 27, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 3419349 to bb4b5c0 Compare November 27, 2026 12:42
@github-actions github-actions Bot changed the title chore: release chore: release v4.9.0 Nov 27, 2026

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 3 new potential issues.

Devin Review


### Minor Changes

- Add `versionSkew: "follow-mid-turn"` to `chat.agent` and `chat.createSession`. It does everything `"follow"` does, and also moves a turn that is still running when its version is below the skew protection threshold: the turn finishes the step it is on, and a run on the current deployment continues the same reply from the next step, so no step runs twice and the person chatting sees one reply. `chat.handOverAtStep(step)` does the same from your own `prepareStep`. `chat.requestUpgrade()` called during a turn now moves the turn at the next step boundary instead of waiting for the turn to end. A turn is handed over only when the agent in the current deployment was built with this release or later; otherwise the turn finishes on its own version. If the API can't be reached during a handover, the old run keeps trying to start the next run for about three minutes, and a run that continues a chat while the API can't be reached waits for it rather than answer a message again. ([`7662a2f83274a47f070ac1970b44f6f633e3d177`](https://github.com/triggerdotdev/trigger.dev/commit/7662a2f83274a47f070ac1970b44f6f633e3d177))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Undocumented mid-turn handover prerequisite

follow-mid-turn cannot react to a threshold change during a turn on self-hosted instances without S2. The handover guide explains that those instances move sessions between turns instead.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

- With AI SDK 7's `useChat({ resume: true })`, a chat that remounts while a reply is still streaming (for example under React StrictMode in development) now rejoins the reply from its start instead of showing nothing until the next message. ([`85a3dbc612b09f2530073d7d5e7ab589307c6bc2`](https://github.com/triggerdotdev/trigger.dev/commit/85a3dbc612b09f2530073d7d5e7ab589307c6bc2))
- A chat message sent while an earlier reply is still running, for example after Stop on a reply resumed after a reload, now gets only its own answer instead of the rest of that reply and an error. ([`73061256bb2e39c335f8ca55b7c8ae98b855f1bb`](https://github.com/triggerdotdev/trigger.dev/commit/73061256bb2e39c335f8ca55b7c8ae98b855f1bb))
- Sandbox tasks restrict outbound network access by default. `sandbox.network` accepts `"restricted"` (Trigger.dev's services and the allowed domains of granted Vault variables only), `{ allow: ["api.example.com", "*.example.com"] }` to also allow HTTPS to those hosts, or `"unrestricted"`. Restricted sandboxes can only make outbound connections on port 443; a blocked HTTPS request gets a `403` with an `x-trigger-network-denied` header. ([`5d4d12e5cdbee930468868e72ce36c678a3f8e16`](https://github.com/triggerdotdev/trigger.dev/commit/5d4d12e5cdbee930468868e72ce36c678a3f8e16))
- Use `sandbox: true` to run a deployed task with access limited to its own payload and output. Configure `sandbox.envVars` and `sandbox.scopes` to grant environment variables or additional permissions, including the `basic` and `oidc` presets. `basic` lets a sandbox inspect and manage its own run (including metadata and tags), and exchange messages with its attached Session, including waiting for input. Upgrade the SDK, CLI, and (when self-hosting) server before adopting this option. `trigger dev` still runs locally with development credentials and is not an isolation boundary. ([`024c5999a53fef9c2042c0d715f1d1cf2cf1b569`](https://github.com/triggerdotdev/trigger.dev/commit/024c5999a53fef9c2042c0d715f1d1cf2cf1b569))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Missing sandbox worker prerequisite

Upgrading the SDK, CLI, and server alone does not make sandbox: true runnable on self-hosted workers. The attempt-start gate rejects restricted runs unless the worker supports both network enforcement and the secret proxy.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@github-actions github-actions Bot changed the title chore: release v4.9.0 chore: release Nov 27, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from bb4b5c0 to 59351c0 Compare November 27, 2026 14:17
@github-actions github-actions Bot changed the title chore: release chore: release v4.9.0 Nov 27, 2026
@github-actions github-actions Bot changed the title chore: release v4.9.0 chore: release Nov 27, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 59351c0 to b293c60 Compare November 27, 2026 14:41
@github-actions github-actions Bot changed the title chore: release chore: release v4.9.0 Nov 27, 2026
@github-actions github-actions Bot changed the title chore: release v4.9.0 chore: release Nov 27, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b293c60 to e72777b Compare November 27, 2026 15:20
@github-actions github-actions Bot changed the title chore: release chore: release v4.9.0 Nov 27, 2026
@github-actions github-actions Bot changed the title chore: release v4.9.0 chore: release Nov 27, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from e72777b to 5560136 Compare November 27, 2026 15:32
@github-actions github-actions Bot changed the title chore: release chore: release v4.9.0 Nov 27, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Devin Review

- The MCP server's `trigger_task` tool now accepts `metadata`, `idempotencyKeyTTL`, `concurrencyKey`, `concurrency`, `debounce`, `lockToVersion` and `priority`, matching the options you can pass when triggering from the SDK or the dashboard. Calls without them behave as before. ([`ea9405ed624126adb741eb3667c8f9a7b1219cb8`](https://github.com/triggerdotdev/trigger.dev/commit/ea9405ed624126adb741eb3667c8f9a7b1219cb8))

`trigger_task` no longer sets a 10 minute ttl on its own when you pass any option, including existing ones such as `tags`. A run now gets the ttl you pass, otherwise the task's ttl, otherwise 10 minutes in dev and the server's maximum ttl elsewhere (14 days on Trigger.dev Cloud; no expiry on a self-hosted server without one), and a ttl longer than the server's maximum is capped at it. Pass `ttl: "10m"` to keep the old behaviour.
- Add `defineMachine()` for tasks that need their own image. A machine adds apt packages or Containerfile instructions on top of the project image and sets a default preset. Set it as a task's `machine` and the deploy builds its image. Available only to early testers. ([`cef33425c683fbd21992996739bea36fdc4040b5`](https://github.com/triggerdotdev/trigger.dev/commit/cef33425c683fbd21992996739bea36fdc4040b5))

@devin-ai-integration devin-ai-integration Bot Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Missing preview import for named machines

The defineMachine() note leaves out the preview entry point, which exports both the helper and the compatible task() factory.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

This branch has not been deployed

No deployments
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.

0 participants