Skip to content

Commit d77d5fc

Browse files
authored
Merge branch 'main' into feat(webapp)-auto-app-logout
2 parents ba141be + b19cf6d commit d77d5fc

74 files changed

Lines changed: 1042 additions & 360 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/add-is-replay-context.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cli-no-browser-headless-init.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
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+
Fix dev workers spinning at 100% CPU after the parent CLI disconnects. Orphaned `trigger-dev-run-worker` (and indexer) processes were caught in an `uncaughtException` feedback loop: a periodic IPC send via `process.send` would throw `ERR_IPC_CHANNEL_CLOSED` once the parent closed the channel, which re-entered the same handler that itself called `process.send`, scheduled via `setImmediate` and amplified by source-map-support's `prepareStackTrace`. Fixed by (1) silently dropping packets in `ZodIpcConnection` when the channel is disconnected, (2) adding a `process.on("disconnect", ...)` handler in dev workers so they exit cleanly when the CLI closes the IPC channel, and (3) wrapping all `uncaughtException`-path `process.send` calls in a `safeSend` guard that checks `process.connected` and swallows synchronous throws.

.changeset/redact-resolve-waitpoint-log.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/session-primitive.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/truncate-error-stacks.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/VOUCHED.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ samejr
1313
isshaddad
1414
# Bots
1515
devin-ai-integration[bot]
16+
dependabot[bot]
1617
# Outside contributors
1718
gautamsi
1819
capaj

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
cooldown:
8+
default-days: 7
9+
groups:
10+
github-actions:
11+
patterns:
12+
- "*"

.github/workflows/actionlint.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Actionlint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- '.github/workflows/**'
8+
- '.github/actions/**'
9+
pull_request:
10+
paths:
11+
- '.github/workflows/**'
12+
- '.github/actions/**'
13+
14+
permissions: {}
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
actionlint:
22+
name: Actionlint
23+
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29+
with:
30+
persist-credentials: false
31+
32+
- name: Run actionlint
33+
uses: docker://rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

.github/workflows/changesets-pr.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
if: github.repository == 'triggerdotdev/trigger.dev'
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
fetch-depth: 0
3131

3232
- name: Setup pnpm
33-
uses: pnpm/action-setup@v4
33+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
3434

3535
- name: Setup node
36-
uses: buildjet/setup-node@v4
36+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3737
with:
3838
node-version: 20.20.0
3939
cache: "pnpm"
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Create release PR
4545
id: changesets
46-
uses: changesets/action@v1
46+
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
4747
with:
4848
version: pnpm run changeset:version
4949
commit: "chore: release"
@@ -81,17 +81,17 @@ jobs:
8181
contents: write
8282
steps:
8383
- name: Checkout release branch
84-
uses: actions/checkout@v4
84+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8585
with:
8686
ref: changeset-release/main
8787

8888
- name: Setup pnpm
89-
uses: pnpm/action-setup@v4
89+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
9090
with:
91-
version: 10.23.0
91+
version: 10.33.2
9292

9393
- name: Setup node
94-
uses: buildjet/setup-node@v4
94+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
9595
with:
9696
node-version: 20.20.0
9797

@@ -130,7 +130,7 @@ jobs:
130130
contents: write
131131
steps:
132132
- name: Checkout release branch
133-
uses: actions/checkout@v4
133+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
134134
with:
135135
ref: changeset-release/main
136136

0 commit comments

Comments
 (0)