Skip to content

Commit 86b39da

Browse files
authored
Merge branch 'main' into docs/realtime-docs-updates
2 parents acb2338 + 3fd8ea8 commit 86b39da

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

docs/upgrade-to-v4.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,3 +1183,18 @@ We recommend enabling this option and testing in a staging or preview environmen
11831183
- Gracefully shutdown task run processes using SIGTERM followed by SIGKILL after a 1s timeout. This also prevents cancelled or completed runs from leaving orphaned task run processes behind ([#2299](https://github.com/triggerdotdev/trigger.dev/pull/2299))
11841184

11851185
</Update>
1186+
1187+
<Update label="August 1, 2025" description="v4.0.0-beta.26">
1188+
[Release
1189+
v4.0.0-beta.26](https://github.com/triggerdotdev/trigger.dev/releases/tag/trigger.dev%404.0.0-v4-beta.26).
1190+
1191+
- Allow any runs to finish after SIGTERM but disable warm starts ([#2316](https://github.com/triggerdotdev/trigger.dev/pull/2316))
1192+
- Switch to profile after successful login ([#2192](https://github.com/triggerdotdev/trigger.dev/pull/2192))
1193+
- Fixed importing from runEngine/index.js breaking non-node runtimes ([#2328](https://github.com/triggerdotdev/trigger.dev/pull/2328))
1194+
- Added and cleaned up the run ctx param ([#2322](https://github.com/triggerdotdev/trigger.dev/pull/2322)):
1195+
- New optional properties `ctx.run.parentTaskRunId` and `ctx.run.rootTaskRunId` reference the current run's root/parent ID
1196+
- Removed deprecated properties from `ctx`
1197+
- Added a new `ctx.deployment` object that contains information about the deployment associated with the run
1198+
- Updated `metadata.root` and `metadata.parent` to work even when the run is a "root" run (meaning it doesn't have a parent or a root associated run)
1199+
1200+
</Update>

internal-packages/run-engine/src/engine/systems/executionSnapshotSystem.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ export class ExecutionSnapshotSystem {
277277
description: snapshot.description,
278278
previousSnapshotId,
279279
runId: run.id,
280-
runStatus: run.status,
280+
// We can't set the runStatus to DEQUEUED because it will break older runners
281+
runStatus: run.status === "DEQUEUED" ? "PENDING" : run.status,
281282
attemptNumber: run.attemptNumber ?? undefined,
282283
batchId,
283284
environmentId,

0 commit comments

Comments
 (0)