Skip to content

Commit d41eb11

Browse files
authored
Merge branch 'main' into feat/self-serve-schedules-addon
2 parents 308bdc4 + ef04cc3 commit d41eb11

737 files changed

Lines changed: 15840 additions & 47653 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/otel-suite-0218.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@trigger.dev/core": patch
3+
"trigger.dev": patch
4+
"@trigger.dev/sdk": patch
5+
---
6+
7+
Update the bundled OpenTelemetry packages to their latest releases (`@opentelemetry/sdk-node` 0.218.0, `@opentelemetry/core` 2.7.1, `@opentelemetry/host-metrics` 0.38.3).

.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",

.claude/rules/sdk-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ paths:
99
- Default to **patch**. Get maintainer approval for minor. Never select major without explicit approval.
1010
- `@trigger.dev/core`: **Never import the root**. Always use subpath imports (e.g., `@trigger.dev/core/v3`).
1111
- Do NOT update `rules/` or `.claude/skills/trigger-dev-tasks/` unless explicitly asked. These are maintained in separate dedicated passes.
12-
- Test changes using `references/hello-world` reference project.
12+
- Test changes using the `hello-world` project in the [`triggerdotdev/references`](https://github.com/triggerdotdev/references) repo.

0 commit comments

Comments
 (0)