Skip to content

Commit 3caca3b

Browse files
authored
Merge branch 'main' into feat/734-add-apify-to-the-recommended-providers-list
2 parents ccf621d + 07441a2 commit 3caca3b

84 files changed

Lines changed: 4828 additions & 398 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.
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+
The bundled `trigger-cost-savings` skill now notes that a webhook delivery starts no run when no subscriber's filter matches, so it costs no compute.
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+
Fix a `chat.agent` turn failing after a head start that ended with two or more parallel tool calls. When those tools finished out of call order, the agent sent their results to the model twice on the next step, and the provider rejected the request (Anthropic: "each tool_use must have a single result"). Each handed-over tool result is now sent once.

‎.changeset/socket-io-client-ws.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@trigger.dev/core": patch
3+
"trigger.dev": patch
4+
---
5+
6+
Upgrade `socket.io-client` to 4.8.4 so projects using the SDK and CLI install `ws` 8.21 instead of 8.17.1, which has published advisories (GHSA-96hv-2xvq-fx4p, GHSA-58qx-3vcg-4xpx). The old pin blocked upgrading `ws` without a package manager override.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: fix
4+
---
5+
6+
Fix the batch results API returning "Batch not found" for some batches that the batch retrieve API could see.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: fix
4+
---
5+
6+
Fix fetching the trace of a child run through the API sometimes being very slow or failing. These requests now return quickly.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: fix
4+
---
5+
6+
Changing your email address now requires clicking a confirmation button after opening the emailed link.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: breaking
4+
---
5+
6+
Self-hosted instances on the legacy `clickhouse` event store now use `clickhouse_v2`, so run logs and traces recorded before the upgrade no longer show. Set `EVENT_REPOSITORY_DEFAULT_STORE=clickhouse_v2`, or set `EVENT_REPOSITORY_V1_REROUTE_ENABLED=0` to stay on the legacy store.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: fix
4+
---
5+
6+
Fix a rare case where clock skew between run engine instances could leave a run executing after its task finished, or stop a wait from ever resuming. A run's state changes are now always ordered in the order they happened, regardless of clock skew.

‎apps/supervisor/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"devDependencies": {
3030
"@internal/testcontainers": "workspace:*",
3131
"@types/dockerode": "^3.3.33",
32-
"socket.io-client": "4.7.5"
32+
"socket.io-client": "4.8.4"
3333
}
3434
}

‎apps/webapp/app/components/runs/v3/trace/useRunTrace.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,25 @@ export function useRunTrace({
7171
errorsOnly,
7272
maximumLiveReloadingSetting,
7373
onRunDataStale,
74+
readContext,
7475
}: {
7576
run: RunTraceRun;
7677
trace: RunTraceInput;
7778
errorsOnly: boolean;
7879
maximumLiveReloadingSetting: number;
7980
onRunDataStale: () => void;
81+
/** Sent with every chunk read; "session" bounds completed runs' reads. */
82+
readContext?: "session";
8083
}) {
8184
const organization = useOrganization();
8285
const project = useProject();
8386
const environment = useEnvironment();
8487

8588
const { isTruncated = false, missingAnchor = false } = trace;
8689

87-
const chunkPath = v3RunTraceChunkPath(organization, project, environment, run);
90+
const chunkPath = v3RunTraceChunkPath(organization, project, environment, run, {
91+
context: readContext,
92+
});
8893
const statusPath = v3RunStatusPath(organization, project, environment, run);
8994
const {
9095
events,

0 commit comments

Comments
 (0)