Skip to content

Commit f615fd2

Browse files
committed
Merge remote-tracking branch 'origin/main' into oskar/feat-supervisor-privatelink-label
2 parents 064da04 + f261ff2 commit f615fd2

213 files changed

Lines changed: 10054 additions & 4063 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/ai-sdk-7-support.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Adds AI SDK 7 support. The `ai` peer range now includes v7, and the `chat.agent` / chat surfaces work against v7's ESM-only build. On v7, install `@ai-sdk/otel` alongside `ai` and the SDK registers it for you so `experimental_telemetry` spans keep flowing into your run traces (v7 stopped emitting them from `ai` core). v5 and v6 keep working unchanged.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Add optional `shouldPauseScaling` to the supervisor consumer pool scaling options to freeze scale-up while it returns true (scale-down stays allowed).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
`useTriggerChatTransport` now recovers when restored session state points at a session that no longer exists in the current environment
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Fix `@trigger.dev/core` build: cast the underlying log record exporter when calling `forceFlush` so it typechecks against the updated OpenTelemetry `LogRecordExporter` type (which no longer declares `forceFlush`).
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@trigger.dev/core": patch
3+
"@trigger.dev/sdk": patch
4+
---
5+
6+
Offload large trigger payloads to object storage before sending the trigger API request. The SDK uploads packets at or above the existing 128KB limit and sends an `application/store` pointer instead of embedding large JSON in the request body. `TriggerTaskRequestBody` now validates that `application/store` payloads are non-empty storage paths.
7+
8+
Payload uploads use the same resolved `ApiClient` as the trigger call (including `requestOptions.clientConfig`), not only the global `apiClientManager.client` — so custom `baseURL`, access token, and preview branch apply to both presign and trigger.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
The MCP server no longer tells the AI agent to wait for a run to complete after every `trigger_task` call. Waiting is now opt-in: the agent only waits when you ask it to (for example "trigger and then wait for it to finish"). This avoids burning tokens polling runs you didn't need to block on and keeps responses clearer.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/redis-worker": patch
3+
---
4+
5+
Make mollifier buffer and drainer internals configurable. `MollifierBuffer` now accepts `ackGraceTtlSeconds`, `maxRetriesPerRequest`, `reconnectStepMs`, and `reconnectMaxMs` options, and `MollifierDrainer` accepts `maxBackoffMs` and `backoffFloorMs`. All default to their previous hardcoded values, so existing behaviour is unchanged.

.changeset/pre.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"changesets": [
2222
"agent-skills",
2323
"ai-prompts",
24+
"ai-sdk-7-support",
2425
"ai-tool-helpers",
26+
"backpressure-scale-up-freeze",
2527
"bundle-skills-single-pass",
2628
"cap-idempotency-key-length",
2729
"chat-agent-on-boot-hook",
@@ -31,17 +33,23 @@
3133
"chat-session-attributes",
3234
"chat-slim-wire-merge",
3335
"chat-start-session-action-typed-client-data",
36+
"chat-transport-recreate-missing-session",
3437
"cli-deploy-skip-rewrite-timestamp",
3538
"coerce-concurrency-key-to-string",
39+
"env-vars-tracing-forceflush-typecheck",
40+
"envvars-import-is-secret",
41+
"large-trigger-payload-offload",
3642
"locals-key-dual-package-fix",
3743
"mcp-agent-chat-sessions",
3844
"mcp-list-runs-region",
45+
"mcp-trigger-task-no-default-wait",
3946
"mock-chat-agent-test-harness",
40-
"mollifier-buffer-extensions",
4147
"mollifier-buffer-pipeline-list-entries",
42-
"mollifier-drainer-terminal-failure-callback",
48+
"mollifier-configurable-constants",
49+
"mollifier-drain-batch-size",
4350
"mollifier-redis-worker-primitives",
4451
"mollifier-tag-cap",
52+
"otel-suite-0218",
4553
"plugin-auth-path",
4654
"resource-catalog-runtime-registration",
4755
"retry-middleware-errors",

.github/workflows/changesets-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Create release PR
4646
id: changesets
47-
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
47+
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
4848
with:
4949
version: pnpm run changeset:version
5050
commit: "chore: release"

.github/workflows/check-review-md.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Run Claude Code
3333
id: claude
34-
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa # v1.0.111
34+
uses: anthropics/claude-code-action@787c5a0ce96a9a6cfb050ea0c8f4c05f2447c251 # v1.0.133
3535
with:
3636
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3737
use_sticky_comment: true

0 commit comments

Comments
 (0)