Skip to content

Commit 3391b0d

Browse files
committed
Merge branch 'main' into feat(webapp)-filters-update
2 parents 999d116 + 8c56d85 commit 3391b0d

208 files changed

Lines changed: 9314 additions & 2008 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: 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/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: 4 additions & 85 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"
@@ -72,84 +72,3 @@ jobs:
7272
-f body="$ENHANCED_BODY"
7373
fi
7474
fi
75-
76-
update-lockfile:
77-
name: Update lockfile on release PR
78-
runs-on: ubuntu-latest
79-
needs: release-pr
80-
permissions:
81-
contents: write
82-
steps:
83-
- name: Checkout release branch
84-
uses: actions/checkout@v4
85-
with:
86-
ref: changeset-release/main
87-
88-
- name: Setup pnpm
89-
uses: pnpm/action-setup@v4
90-
with:
91-
version: 10.23.0
92-
93-
- name: Setup node
94-
uses: buildjet/setup-node@v4
95-
with:
96-
node-version: 20.20.0
97-
98-
- name: Install and update lockfile
99-
run: pnpm install --no-frozen-lockfile
100-
101-
- name: Clean up consumed .server-changes/ files
102-
run: |
103-
set -e
104-
shopt -s nullglob
105-
files=(.server-changes/*.md)
106-
for f in "${files[@]}"; do
107-
if [ "$(basename "$f")" != "README.md" ]; then
108-
git rm --ignore-unmatch "$f"
109-
fi
110-
done
111-
112-
- name: Commit and push lockfile + server-changes cleanup
113-
run: |
114-
set -e
115-
git config user.name "github-actions[bot]"
116-
git config user.email "github-actions[bot]@users.noreply.github.com"
117-
git add pnpm-lock.yaml
118-
if ! git diff --cached --quiet; then
119-
git commit -m "chore: update lockfile and clean up .server-changes/ for release"
120-
git push origin changeset-release/main
121-
else
122-
echo "No changes to commit"
123-
fi
124-
125-
bump-chart-version:
126-
name: Bump Helm chart version on release PR
127-
runs-on: ubuntu-latest
128-
needs: update-lockfile
129-
permissions:
130-
contents: write
131-
steps:
132-
- name: Checkout release branch
133-
uses: actions/checkout@v4
134-
with:
135-
ref: changeset-release/main
136-
137-
- name: Bump Chart.yaml
138-
run: |
139-
set -e
140-
VERSION=$(jq -r '.version' packages/cli-v3/package.json)
141-
sed -i "s/^version:.*/version: ${VERSION}/" ./hosting/k8s/helm/Chart.yaml
142-
sed -i "s/^appVersion:.*/appVersion: v${VERSION}/" ./hosting/k8s/helm/Chart.yaml
143-
144-
- name: Commit and push Chart.yaml bump
145-
run: |
146-
set -e
147-
git config user.name "github-actions[bot]"
148-
git config user.email "github-actions[bot]@users.noreply.github.com"
149-
git add hosting/k8s/helm/Chart.yaml
150-
if ! git diff --cached --quiet; then
151-
git commit -m "chore: bump helm chart version for release"
152-
git push origin changeset-release/main
153-
else
154-
echo "Chart.yaml already at target version, no-op"
155-
fi

.github/workflows/claude-md-audit.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ concurrency:
1616

1717
jobs:
1818
audit:
19-
if: github.event.pull_request.draft == false
19+
if: >-
20+
github.event.pull_request.draft == false &&
21+
github.event.pull_request.head.repo.full_name == github.repository
2022
runs-on: ubuntu-latest
2123
permissions:
2224
contents: read
@@ -25,13 +27,13 @@ jobs:
2527
id-token: write
2628
steps:
2729
- name: Checkout repository
28-
uses: actions/checkout@v4
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2931
with:
3032
fetch-depth: 0
3133

3234
- name: Run Claude Code
3335
id: claude
34-
uses: anthropics/claude-code-action@v1
36+
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa # v1.0.111
3537
with:
3638
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3739
use_sticky_comment: true

.github/workflows/claude.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626
actions: read # Required for Claude to read CI results on PRs
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
with:
3131
fetch-depth: 1
3232

3333
- name: ⎔ Setup pnpm
34-
uses: pnpm/action-setup@v4
34+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
3535
with:
36-
version: 10.23.0
36+
version: 10.33.2
3737

3838
- name: ⎔ Setup node
39-
uses: buildjet/setup-node@v4
39+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4040
with:
4141
node-version: 20.20.0
4242
cache: "pnpm"
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Run Claude Code
5151
id: claude
52-
uses: anthropics/claude-code-action@v1
52+
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa # v1.0.111
5353
with:
5454
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
5555

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
working-directory: ./docs
2727
steps:
2828
- name: 📥 Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030

3131
- name: 📦 Cache npm
32-
uses: actions/cache@v4
32+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3333
with:
3434
path: |
3535
~/.npm

.github/workflows/e2e-webapp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,25 @@ jobs:
4141
run: sudo systemctl restart docker
4242

4343
- name: ⬇️ Checkout repo
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4545
with:
4646
fetch-depth: 0
4747

4848
- name: ⎔ Setup pnpm
49-
uses: pnpm/action-setup@v4
49+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
5050
with:
51-
version: 10.23.0
51+
version: 10.33.2
5252

5353
- name: ⎔ Setup node
54-
uses: buildjet/setup-node@v4
54+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
5555
with:
5656
node-version: 20.20.0
5757
cache: "pnpm"
5858

5959
# ..to avoid rate limits when pulling images
6060
- name: 🐳 Login to DockerHub
6161
if: ${{ env.DOCKERHUB_USERNAME }}
62-
uses: docker/login-action@v3
62+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
6363
with:
6464
username: ${{ secrets.DOCKERHUB_USERNAME }}
6565
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)