Skip to content

Commit ed4f30c

Browse files
committed
ci(instrumentations): use supported Confluent Node versions
@confluentinc/kafka-javascript does not ship an ABI 147 prebuild, and its bundled librdkafka source fallback cannot build on Node 26.
1 parent 77cd463 commit ed4f30c

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/instrumentation.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,38 @@ jobs:
101101
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
102102
- uses: ./.github/actions/instrumentations/test
103103

104+
# @confluentinc/kafka-javascript does not provide a Node 26 prebuild and its
105+
# bundled librdkafka cannot build from source there. Keep this aligned with
106+
# the Kafka-backed plugin matrix until upstream supports Node 26.
104107
instrumentation-confluentinc-kafka-javascript:
108+
strategy:
109+
fail-fast: false
110+
matrix:
111+
node-version: [18, 20, 22]
112+
range: [">=1.0.0"]
113+
include:
114+
- node-version: 24
115+
range: ">=1.4.0"
105116
runs-on: ubuntu-latest
106117
permissions:
107118
id-token: write
108119
env:
109120
PLUGINS: confluentinc-kafka-javascript
121+
PACKAGE_VERSION_RANGE: ${{ matrix.range }}
110122
steps:
111123
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
112-
- uses: ./.github/actions/instrumentations/test
124+
- uses: ./.github/actions/node
125+
with:
126+
version: ${{ matrix.node-version }}
127+
- uses: ./.github/actions/install
128+
- run: npm run test:instrumentations:ci
129+
- uses: ./.github/actions/coverage
130+
with:
131+
flags: instrumentations-${{ github.job }}-${{ matrix.node-version }}
132+
- uses: ./.github/actions/upload-junit-artifacts
133+
if: "!cancelled()"
134+
with:
135+
id: ${{ github.job }}-${{ strategy.job-index }}
113136

114137
instrumentation-connect:
115138
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)