Skip to content

Commit 9a4c59c

Browse files
authored
Merge branch 'master' into sabrenner/couchbasesegfaultfix
2 parents 51086b1 + 6eeb958 commit 9a4c59c

File tree

143 files changed

+6234
-4890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+6234
-4890
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ node-upstream-base: &node-upstream-base
9999
parameters:
100100
node-version:
101101
type: string
102-
default: "12"
102+
default: "14"
103103
docker:
104104
- image: node:<< parameters.node-version >>
105105
working_directory: ~/dd-trace-js
@@ -219,7 +219,7 @@ workflows:
219219
- node-bench-sirun-startup: &matrix-exact-supported-node-versions
220220
matrix:
221221
parameters:
222-
node-version: ["12", "14", "16"]
222+
node-version: ["14", "16", "18"]
223223
- node-bench-sirun-spans: *matrix-exact-supported-node-versions
224224
- node-bench-sirun-async_hooks: *matrix-exact-supported-node-versions
225225
- node-bench-sirun-log: *matrix-exact-supported-node-versions

.github/actions/node/17/action.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Node 12
1+
name: Node 18
22
runs:
33
using: composite
44
steps:
55
- uses: actions/setup-node@v3
66
with:
7-
node-version: '12'
7+
node-version: '18'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Node 17
1+
name: Node 18
22
runs:
33
using: composite
44
steps:
55
- uses: actions/setup-node@v3
66
with:
7-
node-version: '17'
7+
node-version: '18'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Node 12
1+
name: Node 14
22
runs:
33
using: composite
44
steps:
55
- uses: actions/setup-node@v3
66
with:
7-
node-version: '12'
7+
node-version: '14'

.github/actions/node/setup/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ runs:
55
- uses: actions/setup-node@v3
66
with:
77
cache: yarn
8+
node-version: '14'

.github/workflows/core.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Core
22

33
on:
4+
pull_request:
45
push:
6+
branches: [master]
57
schedule:
68
- cron: '0 4 * * *'
79

.github/workflows/package-size.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Package Size
2+
3+
on:
4+
pull_request:
5+
schedule:
6+
- cron: '0 4 * * *'
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
package-size-report:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: '14'
21+
- run: yarn
22+
- name: Compute module size tree and report
23+
uses: qard/heaviest-objects-in-the-universe@v1
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/plugins.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Plugins
22

33
on:
4+
pull_request:
45
push:
6+
branches: [master]
57
schedule:
68
- cron: '0 4 * * *'
79

@@ -260,8 +262,6 @@ jobs:
260262
- uses: actions/checkout@v2
261263
- uses: ./.github/actions/node/setup
262264
- run: yarn install
263-
- uses: ./.github/actions/node/12
264-
- run: yarn test:plugins:ci
265265
- uses: ./.github/actions/node/14
266266
- run: yarn test:plugins:ci
267267
- uses: ./.github/actions/node/16
@@ -370,7 +370,7 @@ jobs:
370370
- run: yarn test:plugins:upstream
371371
- uses: codecov/codecov-action@v2
372372

373-
# The grpc version ranges we support only support up to Node 12.
373+
# The grpc version ranges we support only support up to Node 14.
374374
grpc:
375375
runs-on: ubuntu-latest
376376
env:
@@ -383,7 +383,7 @@ jobs:
383383
- run: yarn test:plugins:ci
384384
- uses: codecov/codecov-action@v2
385385

386-
# The hapi version ranges we support only support up to Node 12.
386+
# The hapi version ranges we support only support up to Node 14.
387387
hapi:
388388
runs-on: ubuntu-latest
389389
env:
@@ -404,8 +404,6 @@ jobs:
404404
- uses: actions/checkout@v2
405405
- uses: ./.github/actions/node/setup
406406
- run: yarn install
407-
- uses: ./.github/actions/node/12
408-
- run: yarn test:plugins:ci
409407
- uses: ./.github/actions/node/14
410408
- run: yarn test:plugins:ci
411409
- uses: ./.github/actions/node/16
@@ -422,8 +420,6 @@ jobs:
422420
- uses: actions/checkout@v2
423421
- uses: ./.github/actions/node/setup
424422
- run: yarn install
425-
- uses: ./.github/actions/node/12
426-
- run: yarn test:plugins:ci
427423
- uses: ./.github/actions/node/14
428424
- run: yarn test:plugins:ci
429425
- uses: ./.github/actions/node/16
@@ -659,8 +655,6 @@ jobs:
659655
- uses: actions/checkout@v2
660656
- uses: ./.github/actions/node/setup
661657
- run: yarn install
662-
- uses: ./.github/actions/node/12
663-
- run: yarn test:plugins:ci
664658
- uses: ./.github/actions/node/14
665659
- run: yarn test:plugins:ci
666660
- uses: ./.github/actions/node/16
@@ -699,7 +693,7 @@ jobs:
699693
steps:
700694
- uses: actions/checkout@v2
701695
- uses: ./.github/actions/node/setup
702-
- run: yarn install
696+
- run: yarn install --ignore-engine
703697
- run: yarn test:plugins:ci
704698
- uses: codecov/codecov-action@v2
705699

@@ -711,8 +705,6 @@ jobs:
711705
- uses: actions/checkout@v2
712706
- uses: ./.github/actions/node/setup
713707
- run: yarn install
714-
- uses: ./.github/actions/node/12
715-
- run: yarn test:plugins:ci
716708
- uses: ./.github/actions/node/14
717709
- run: yarn test:plugins:ci
718710
- uses: codecov/codecov-action@v2
@@ -731,7 +723,7 @@ jobs:
731723
# - run: yarn test:plugins:upstream
732724
- uses: codecov/codecov-action@v2
733725

734-
# The pg version range we support doesn't work beyond Node 12.
726+
# The pg version range we support doesn't work beyond Node 14.
735727
postgres:
736728
runs-on: ubuntu-latest
737729
services:
@@ -827,7 +819,7 @@ jobs:
827819
- run: yarn install
828820
- uses: ./.github/actions/node/oldest
829821
- run: yarn test:plugins:ci
830-
- uses: ./.github/actions/node/latest
822+
- uses: ./.github/actions/node/16
831823
- run: yarn test:plugins:ci
832824
- uses: codecov/codecov-action@v2
833825

.github/workflows/profiling.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Profiling
22

33
on:
4+
pull_request:
45
push:
6+
branches: [master]
57
schedule:
68
- cron: '0 4 * * *'
79

@@ -25,8 +27,6 @@ jobs:
2527
- uses: actions/checkout@v2
2628
- uses: ./.github/actions/node/setup
2729
- run: yarn install
28-
- uses: ./.github/actions/node/12
29-
- run: yarn test:profiler:ci
3030
- uses: ./.github/actions/node/14
3131
- run: yarn test:profiler:ci
3232
- uses: ./.github/actions/node/16

0 commit comments

Comments
 (0)