Skip to content

chore: release v4.5.0-rc.8#3998

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

chore: release v4.5.0-rc.8#3998
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

2 new features, 7 improvements, 3 bug fixes.

Highlights

  • Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. (#4023)
  • Add a redis_worker.queue.oldest_message_age observable gauge (unit ms, labeled worker_name) reporting the age of the oldest overdue message in each queue. This is a generic queue-stall signal: it stays at 0 while a queue drains healthily and rises only when due work sits undrained (e.g. a blocked dequeue, a dead consumer, or backpressure), even when no items are being processed. Orphaned queue entries are resolved against the items hash so they don't report a phantom stall. Also exposes SimpleQueue.oldestMessageAge(). (#4086)

Improvements

  • Adds trigger.dev mint-token, which mints a short-lived delegated token from your stored personal access token. The token authenticates against the API as you, can be narrowed with --cap and given a lifetime with --ttl, and prints to stdout so it can be captured. (#3997)

    UAT=$(trigger.dev mint-token --ttl 3600 --cap read:runs)
  • Runner debug logs are now disabled by default. Set SEND_RUN_DEBUG_LOGS=true on the supervisor to re-enable them. (#3992)

  • Add request and response schemas for the new Errors API (error groups). These back the env-scoped HTTP endpoints for listing error groups, retrieving a single group, and changing its state (resolve, ignore, unresolve), plus a filter[error] option on the runs list to fetch the runs behind a group. Exported from @trigger.dev/core/v3 so the SDK can reuse them. (#4005)

  • Add an optional skipBodyParsing flag to the internal HTTP server route definition, letting a route respond without reading or parsing the request body. (#4009)

  • Redact credential-bearing flag values (e.g. --password, --token) from Exec command debug logs (#4087)

  • chat.headStart now accepts an apiClient option (base URL + access token), so the head-start route can create the session and trigger the agent run against a different project/environment than the warm server's ambient Trigger config. Useful when your chat.agent lives in a separate project from the app serving the route. Mirrors the apiClient option on chat.createStartSessionAction; your LLM provider keys stay in the run callback and are unaffected. (#4018)

    export const POST = chat.headStart({
      agentId: "my-agent",
      apiClient: { baseURL, accessToken },
      run: async ({ chat }) =>
        streamText({
          ...chat.toStreamTextOptions({ tools }),
          model: anthropic("claude-sonnet-4-6"),
        }),
    });
  • chat.createStartSessionAction now accepts an apiClient option, so you can scope a chat session start to a specific environment's API config (baseURL / accessToken) without setting a global TRIGGER_SECRET_KEY. Useful when one server starts chats across more than one environment. (#4018)

    const startSession = chat.createStartSessionAction("my-chat", {
      apiClient: { baseURL, accessToken },
    });
    
    await startSession({ chatId, clientData });

Bug fixes

  • Fix idempotency key metadata (original key + scope) being silently dropped when a single run creates more than 1000 idempotency keys. The in-process catalog that maps a key's hash back to its original key/scope is no longer bounded to 1000 entries, so idempotencyKeys.create() results retain their metadata regardless of how many are created in a run. The catalog is now cleared at each run boundary so it does not accumulate across warm-start runs. (#4094)
  • Fix chat.agent / AgentChat when the agent is deployed to a Trigger.dev preview branch. The realtime message-append and stream-subscribe calls now send the x-trigger-branch header (sourced from the same resolver sessions.start uses), so messaging a preview-branch chat agent no longer fails with x-trigger-branch header required for preview env. (#4018)
  • Fix Head Start handovers breaking when a chat.agent also defines a prepareMessages hook. A handover hands the first turn's pending tool call to the agent as a tool-approval round whose trailing tool message must reach the model untouched. A prepareMessages hook that rewrites the last message (for example the recommended prompt-caching breakpoint) could disturb it, so the turn failed with "tool_use ids were found without tool_result". The agent now preserves that approval tail across prepareMessages, so caching and Head Start compose cleanly. (#4018)
Raw changeset output

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@trigger.dev/build@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

trigger.dev@4.5.0-rc.8

Patch Changes

  • Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. (#4023)

  • Fix idempotency key metadata (original key + scope) being silently dropped when a single run creates more than 1000 idempotency keys. The in-process catalog that maps a key's hash back to its original key/scope is no longer bounded to 1000 entries, so idempotencyKeys.create() results retain their metadata regardless of how many are created in a run. The catalog is now cleared at each run boundary so it does not accumulate across warm-start runs. (#4094)

  • Adds trigger.dev mint-token, which mints a short-lived delegated token from your stored personal access token. The token authenticates against the API as you, can be narrowed with --cap and given a lifetime with --ttl, and prints to stdout so it can be captured. (#3997)

    UAT=$(trigger.dev mint-token --ttl 3600 --cap read:runs)
  • Runner debug logs are now disabled by default. Set SEND_RUN_DEBUG_LOGS=true on the supervisor to re-enable them. (#3992)

  • Updated dependencies:

    • @trigger.dev/core@4.5.0-rc.8
    • @trigger.dev/build@4.5.0-rc.8
    • @trigger.dev/schema-to-json@4.5.0-rc.8

@trigger.dev/core@4.5.0-rc.8

Patch Changes

  • Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. (#4023)
  • Add request and response schemas for the new Errors API (error groups). These back the env-scoped HTTP endpoints for listing error groups, retrieving a single group, and changing its state (resolve, ignore, unresolve), plus a filter[error] option on the runs list to fetch the runs behind a group. Exported from @trigger.dev/core/v3 so the SDK can reuse them. (#4005)
  • Add an optional skipBodyParsing flag to the internal HTTP server route definition, letting a route respond without reading or parsing the request body. (#4009)
  • Fix idempotency key metadata (original key + scope) being silently dropped when a single run creates more than 1000 idempotency keys. The in-process catalog that maps a key's hash back to its original key/scope is no longer bounded to 1000 entries, so idempotencyKeys.create() results retain their metadata regardless of how many are created in a run. The catalog is now cleared at each run boundary so it does not accumulate across warm-start runs. (#4094)
  • Redact credential-bearing flag values (e.g. --password, --token) from Exec command debug logs (#4087)

@trigger.dev/python@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/sdk@4.5.0-rc.8
    • @trigger.dev/core@4.5.0-rc.8
    • @trigger.dev/build@4.5.0-rc.8

@trigger.dev/react-hooks@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/redis-worker@4.5.0-rc.8

Patch Changes

  • Add a redis_worker.queue.oldest_message_age observable gauge (unit ms, labeled worker_name) reporting the age of the oldest overdue message in each queue. This is a generic queue-stall signal: it stays at 0 while a queue drains healthily and rises only when due work sits undrained (e.g. a blocked dequeue, a dead consumer, or backpressure), even when no items are being processed. Orphaned queue entries are resolved against the items hash so they don't report a phantom stall. Also exposes SimpleQueue.oldestMessageAge(). (#4086)
  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/rsc@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/schema-to-json@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/sdk@4.5.0-rc.8

Patch Changes

  • Fix chat.agent / AgentChat when the agent is deployed to a Trigger.dev preview branch. The realtime message-append and stream-subscribe calls now send the x-trigger-branch header (sourced from the same resolver sessions.start uses), so messaging a preview-branch chat agent no longer fails with x-trigger-branch header required for preview env. (#4018)

  • Fix Head Start handovers breaking when a chat.agent also defines a prepareMessages hook. A handover hands the first turn's pending tool call to the agent as a tool-approval round whose trailing tool message must reach the model untouched. A prepareMessages hook that rewrites the last message (for example the recommended prompt-caching breakpoint) could disturb it, so the turn failed with "tool_use ids were found without tool_result". The agent now preserves that approval tail across prepareMessages, so caching and Head Start compose cleanly. (#4018)

  • chat.headStart now accepts an apiClient option (base URL + access token), so the head-start route can create the session and trigger the agent run against a different project/environment than the warm server's ambient Trigger config. Useful when your chat.agent lives in a separate project from the app serving the route. Mirrors the apiClient option on chat.createStartSessionAction; your LLM provider keys stay in the run callback and are unaffected. (#4018)

    export const POST = chat.headStart({
      agentId: "my-agent",
      apiClient: { baseURL, accessToken },
      run: async ({ chat }) =>
        streamText({
          ...chat.toStreamTextOptions({ tools }),
          model: anthropic("claude-sonnet-4-6"),
        }),
    });
  • chat.createStartSessionAction now accepts an apiClient option, so you can scope a chat session start to a specific environment's API config (baseURL / accessToken) without setting a global TRIGGER_SECRET_KEY. Useful when one server starts chats across more than one environment. (#4018)

    const startSession = chat.createStartSessionAction("my-chat", {
      apiClient: { baseURL, accessToken },
    });
    
    await startSession({ chatId, clientData });
  • Updated dependencies:

    • @trigger.dev/core@4.5.0-rc.8

@trigger.dev/plugins@4.5.0-rc.8

Patch Changes

  • Updated dependencies:
    • @trigger.dev/core@4.5.0-rc.8
@github-actions github-actions Bot changed the title chore: release (rc) Jun 19, 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: No Issues Found

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

Open in Devin Review
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 21, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from ae55093 to 136f0f1 Compare June 21, 2026 08:30
@github-actions github-actions Bot changed the title chore: release (rc) Jun 21, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 21, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 136f0f1 to c156016 Compare June 21, 2026 12:48
@github-actions github-actions Bot changed the title chore: release (rc) Jun 21, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from c156016 to 0c8a043 Compare June 22, 2026 07:52
@github-actions github-actions Bot changed the title chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 0c8a043 to 616d755 Compare June 22, 2026 09:04
@github-actions github-actions Bot changed the title chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 616d755 to b9a6bba Compare June 22, 2026 12:49
@github-actions github-actions Bot changed the title chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from b9a6bba to cca62fb Compare June 22, 2026 14:32
@github-actions github-actions Bot changed the title chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 22, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from cca62fb to f4824a4 Compare June 22, 2026 16:33
@github-actions github-actions Bot changed the title chore: release (rc) Jun 22, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 24, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from f4824a4 to 7574c5d Compare June 24, 2026 16:57
@github-actions github-actions Bot changed the title chore: release (rc) Jun 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 24, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 7574c5d to 8d70f1f Compare June 24, 2026 18:06
@github-actions github-actions Bot changed the title chore: release (rc) Jun 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 24, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 26, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 2a245cd to db92175 Compare June 26, 2026 14:12
@github-actions github-actions Bot changed the title chore: release (rc) Jun 26, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 26, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from db92175 to 5e8a257 Compare June 26, 2026 15:14
@github-actions github-actions Bot changed the title chore: release (rc) Jun 26, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 27, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 5e8a257 to 6eebcd3 Compare June 27, 2026 14:52
@github-actions github-actions Bot changed the title chore: release (rc) Jun 27, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 28, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 6eebcd3 to c68dd49 Compare June 28, 2026 16:28
@github-actions github-actions Bot changed the title chore: release (rc) Jun 28, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 29, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from c68dd49 to 261e3e9 Compare June 29, 2026 09:55
@github-actions github-actions Bot changed the title chore: release (rc) Jun 29, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 29, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 261e3e9 to a500557 Compare June 29, 2026 18:11
@github-actions github-actions Bot changed the title chore: release (rc) Jun 29, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 30, 2026
@github-actions github-actions Bot changed the title chore: release (rc) Jun 30, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from a500557 to 1262b1b Compare June 30, 2026 08:16
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 30, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 1262b1b to d45c73e Compare June 30, 2026 11:36
@github-actions github-actions Bot changed the title chore: release (rc) Jun 30, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 30, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from d45c73e to 3fbe081 Compare June 30, 2026 12:36
@github-actions github-actions Bot changed the title chore: release (rc) Jun 30, 2026
@github-actions github-actions Bot changed the title chore: release v4.5.0-rc.8 Jun 30, 2026
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 3fbe081 to 1450668 Compare June 30, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants