forked from elastic/apm-agent-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tav.yml
518 lines (479 loc) · 21.8 KB
/
.tav.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# This file is used by tool TAV - Test All Versions.
# See: https://github.com/watson/test-all-versions
'@apollo/server':
versions: ^4.0.0
peerDependencies: graphql@^16.6.0
node: '>=14.16.0'
commands: node test/instrumentation/modules/@apollo/server.test.js
generic-pool:
versions: ^2.0.0 || ^3.1.0
commands: node test/instrumentation/modules/generic-pool.test.js
# Testing 'got' was initially added to test an issue in its usage of
# [email protected]. However, this test case serves to sanity test 'got'
# usage with the agent. Got@12 is pure ESM, so cannot currently be tested with
# the current test script.
#
# Supported got versions: '>=4 <12'. As of v11.8.6, this range includes 103
# got versions. Testing all these versions as a "sanity test" is a waste of
# resources. Instead we test just a few: the latest 8.x, 9.x, and 10.x (all
# no longer getting releases); and >=11.8.6.
got:
versions: '8.3.2 || 9.6.0 || 10.7.0 || >=11.8.6 <12'
commands: node test/instrumentation/modules/http/github-423.test.js
mysql:
versions: ^2.0.0
commands:
- node test/instrumentation/modules/mysql/mysql.test.js
- node test/instrumentation/modules/mysql/pool-release-1.test.js
# mysql2
# - v1.6.2 is broken: https://github.com/sidorares/node-mysql2/issues/869
# - v2.2.3 has a github dep ("@types/mysql": "types/mysql") that hits
# npm v6 install issue https://github.com/npm/cli/issues/4896
# - v3: It isn't clear what the min supported Node.js version is. "engines" says
# 8.0.0, however it uses an lru-cache that supports only node >=16.14! From
# trial and error the effective min supported node is v14.6.0.
# See https://github.com/elastic/apm-agent-nodejs/pull/3301#issuecomment-1530138870
mysql2:
- versions: '>=1.0.0 <1.6.0'
commands:
- node test/instrumentation/modules/mysql2/mysql.test.js
- node test/instrumentation/modules/mysql2/pool-release-1.test.js
- versions: '>=1.6.0 <1.6.2 || >=1.6.3 <2.2.3 || >=2.2.4 <3'
node: '>=8.0.0'
commands:
- node test/instrumentation/modules/mysql2/mysql.test.js
- node test/instrumentation/modules/mysql2/pool-release-1.test.js
- versions: '>=3.0.0 <4'
node: '>=14.6.0'
commands:
- node test/instrumentation/modules/mysql2/mysql.test.js
- node test/instrumentation/modules/mysql2/pool-release-1.test.js
redis:
- versions: '>=2.0.0 <4.0.0'
commands: node test/instrumentation/modules/redis-2-3.test.js
- versions: '4.0.0 || 4.0.6 || 4.1.1 || 4.2.0 || 4.3.1 || 4.4.0 || 4.5.1 || ^4.6.12'
commands:
- node test/instrumentation/modules/redis.test.js
- node test/instrumentation/modules/redis-disabled.test.js
- node test/instrumentation/modules/redis4-legacy.test.js
update-versions:
mode: latest-minors
include: '>=4.0.0 <5'
# [email protected] was a bad release, it accidentally broke node v14 support.
exclude: '4.6.9'
# We want these version ranges:
# # v3.1.3 is broken in older versions of Node because of https://github.com/luin/ioredis/commit/d5867f7c7f03a770a8c0ca5680fdcbfcaf8488e7
# versions: '>=2 <3.1.3 || >3.1.3 <4'
# versions: '^4.0.0'
# However, there are a *lot* of ioredis releases, so we statically list a
# subset (the first, plus then the latest in each major.minor).
ioredis:
- versions: '2.0.0 || 2.0.1 || 2.1.0 || 2.2.0 || 2.3.1 || 2.4.3 || 2.5.0 || 3.0.0 || 3.1.4 || ^3.2.2'
commands: node test/instrumentation/modules/ioredis.test.js
update-versions:
mode: latest-minors
include: '>=2.0.0 <4'
- versions: '4.0.0 || 4.7.0 || 4.12.1 || 4.17.2 || 4.24.4 || 4.28.0 || ^4.28.5'
commands: node test/instrumentation/modules/ioredis.test.js
# Test v4.0.0, latest v4 and 5 versions in between.
update-versions:
mode: max-5
include: '>=4.0.0 <5'
- versions: '5.0.0 || 5.0.6 || 5.1.0 || 5.2.6 || ^5.3.2'
commands: node test/instrumentation/modules/ioredis.test.js
update-versions:
mode: latest-minors
include: '>=5.0.0 <6'
pg:
# We want this version range:
# versions: '>=4 <9'
# but test a subset to reduce the test matrix. The last 4.x release was in
# 2017, 5.x in 2017, 6.x in 2017, 7.x in 2020.
#
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
- versions: '4.0.0 || 4.5.7 || 5.2.1 || 6.4.2 || 7.18.2 || 8.0.3 || 8.1.0 || 8.2.2 || 8.3.3 || 8.4.2 || 8.5.1 || 8.6.0 || 8.7.3 || 8.8.0 || 8.9.0 || 8.10.0 || >8.10.0 <9'
node: '<14'
peerDependencies:
- knex@^0.20 # latest knex that supports back to node v8
commands:
- node test/instrumentation/modules/pg/pg.test.js
- node test/instrumentation/modules/pg/knex.test.js
# We want this version range:
# versions: '>=8.0.3 <9' # Prior versions didn't work in Node.js 14
# but only the latest MAJOR.MINOR.x to reduce the test matrix.
#
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
- versions: '8.0.3 || 8.1.0 || 8.2.2 || 8.3.3 || 8.4.2 || 8.5.1 || 8.6.0 || 8.7.3 || 8.8.0 || 8.9.0 || 8.10.0 || >8.10.0 <9'
node: '>=14'
commands:
- node test/instrumentation/modules/pg/pg.test.js
- node test/instrumentation/modules/pg/knex.test.js
# Latest mongodb-core release (v3.2.7) was released in 2019. We test a subset
# of the full supported range.
mongodb-core:
versions: '1.2.19 || 1.2.32 || 1.3.21 || 2.0.14 || 2.1.20 || 3.0.11 || 3.1.11 || ^3.2.7'
commands: node test/instrumentation/modules/mongodb-core.test.js
update-versions:
mode: latest-minors
include: '>=1.2.19 <4' # latest minors subset of '>=1.2.19 <4'
mongodb:
- versions: '3.3.0 || 3.5.5 || 3.6.6 || 4.0.1 || 4.5.0 || 4.15.0 || ^4.17.2'
commands: node test/instrumentation/modules/mongodb/mongodb.test.js
# Test v3.3, latest v4 and 5 versions in between.
update-versions:
mode: max-5
include: '>=3.3 <5'
- versions: '>=5 <6'
node: '>=14.20.1'
commands: node test/instrumentation/modules/mongodb/mongodb.test.js
- versions: '>=6 <7'
node: '>=15.0.0'
commands: node test/instrumentation/modules/mongodb/mongodb.test.js
# Bluebird is effectively deprecated (https://github.com/petkaantonov/bluebird#%EF%B8%8Fnote%EF%B8%8F).
# Testing the full set of supported bluebird releases (`>=2 <4`) is currently
# 119 releases. The last release was in 2019. Testing that many is a waste of
# resources. Instead we test just the latest 3.x release.
bluebird:
versions: '3.7.2'
commands:
- node test/instrumentation/modules/bluebird/bluebird.test.js
- node test/instrumentation/modules/bluebird/cancel.test.js
# knex (https://github.com/knex/knex/blob/master/UPGRADING.md)
# - knex 0.18.0 min supported node is v8
# - knex 0.21.0 min supported node is v10
# - knex 1.0.0 min supported node is v12
# - knex 3.0.0 min supported node is v16
knex:
# Latest 0.16 release was in 2019, therefore only test first and last in this range.
- versions: '0.10.0 || 0.16.5'
commands: node test/instrumentation/modules/pg/knex.test.js
# Latest 0.20.x release was 2020-04, there only test first and last in this range.
- versions: '0.17.0 || 0.20.15'
node: '>=8.6.0'
commands: node test/instrumentation/modules/pg/knex.test.js
- versions: '0.21.21 || ^0.95.15' # latest majors subset of '>=0.21 <1'
node: '>=10.22.0'
commands: node test/instrumentation/modules/pg/knex.test.js
- versions: '1.0.7 || ^2.5.1' # latest majors subset of '>=1 <3'
node: '>=12.0.0'
commands: node test/instrumentation/modules/pg/knex.test.js
- versions: '^3.0.1'
node: '>=16'
commands: node test/instrumentation/modules/pg/knex.test.js
ws:
- versions: '>=1 <7'
commands: node test/instrumentation/modules/ws.test.js
- versions: '>=7 <8'
node: '>=8.6.0'
commands: node test/instrumentation/modules/ws.test.js
graphql:
- versions: '>=0.7.0 <0.11.0 || >=0.11.1 <16'
commands: node test/instrumentation/modules/graphql.test.js
- versions: '>=16.0.0 <17'
node: '>=12'
commands: node test/instrumentation/modules/graphql.test.js
express:
versions: '4.0.0 || 4.1.2 || 4.2.0 || 4.3.2 || 4.4.5 || 4.5.1 || 4.6.1 || 4.7.4 || 4.8.8 || 4.9.8 || 4.10.8 || 4.11.2 || 4.12.4 || 4.13.4 || 4.14.1 || 4.15.5 || 4.16.4 || 4.17.3 || ^4.18.2'
commands:
- node test/instrumentation/modules/express/basic.test.js
- node test/instrumentation/modules/express/capture-exceptions-off.test.js
- node test/instrumentation/modules/express/capture-exceptions-on.test.js
- node test/instrumentation/modules/express/set-framework.test.js
update-versions:
mode: latest-minors
# include requires an upper bound. v5 is still in beta
# (5.0.0-beta.1": "2022-02-15T01:11:25.229Z) but we use 6 to make sure any
# future release is included if we udpate
include: '>=4 <6' # latest minors subset of '>=4 <6'
apollo-server-express:
# We want this version range:
# versions: '>=2.9.16 <2.2 || >= 2.3.2 <3'
# but only the latest MAJOR.MINOR.x to reduce the test matrix.
#
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
- versions: '2.9.16 || 2.10.1 || 2.11.0 || 2.12.0 || 2.13.1 || 2.14.5 || 2.15.1 || 2.16.1 || 2.17.0 || 2.18.2 || 2.19.2 || 2.20.0 || 2.21.2 || 2.22.2 || 2.23.0 || 2.24.1 || 2.25.0 || >2.25.x <3'
peerDependencies: graphql@^14.0.0
node: '>=6'
commands: node test/instrumentation/modules/apollo-server-express.test.js
# We want this version range (2.12.0 was the first release of
# apollo-server-express after graphql@15 was released):
# versions: '>=2.12.0 <3'
# but only the latest MAJOR.MINOR.x to reduce the test matrix.
#
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
- versions: '2.15.1 || 2.16.1 || 2.17.0 || 2.18.2 || 2.19.2 || 2.20.0 || 2.21.2 || 2.22.2 || 2.23.0 || 2.24.1 || 2.25.0 || >2.25.x <3'
peerDependencies: graphql@^15.0.0
# Per https://github.com/graphql/graphql-js/releases/tag/v15.0.0
# graphql v15 supports node v8 as a minimum.
node: '>=8'
commands: node test/instrumentation/modules/apollo-server-express.test.js
# We want this version range:
# versions: '^3.0.0'
# but only test the latest MAJOR.MINOR.x to reduce the test matrix.
#
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
- versions: '3.0.2 || 3.1.2 || 3.2.0 || 3.3.0 || 3.4.1 || 3.5.0 || 3.6.8 || 3.7.0 || 3.8.2 || 3.9.0 || ^3.10.2'
peerDependencies: graphql@^15.0.0
commands: node test/instrumentation/modules/apollo-server-express.test.js
express-queue:
versions: '>=0.0.11'
commands: node test/instrumentation/modules/express-queue.test.js
koa-router:
versions: '>=5.2.0 <13'
peerDependencies: koa@2
commands: node test/instrumentation/modules/koa-router/old-name.test.js
'@koa/router':
versions: '>=8 <13'
peerDependencies: koa@2
commands: node test/instrumentation/modules/koa-router/new-name.test.js
elasticsearch:
versions: '>=8.0.0'
commands: node test/instrumentation/modules/elasticsearch.test.js
# @elastic/elasticsearch
# - Version 7.7.0 included a change that broke usage with Node.js < 10.
# Fixed in 7.7.1: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/changelog-client.html#_7_7_1
# Note: When this repo drops Node.js v8 support, `versions` can be simplified.
# - Version 7.12.0 dropped support for node v8.
# - Version 8.0.0 dropped node v10 support.
# - Version 8.2.0 dropped node v12 support.
# - Skip "8.2.0" because https://github.com/elastic/elasticsearch-js/pull/1688
# - The ES client team uses "8.2.0-patch.N" for patch releases *after*
# "8.2.0" because they are stuck with stack version numbers. However,
# semver (and TAV) consider "-patch.N" to be a *prereleases*. This
# leads to some tortured "versions:" ranges below.
'@elastic/elasticsearch':
- versions: '>=7.0.0 <7.7.0 || >7.7.0 <7.12.0'
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
- versions: '>=7.12.0 <8.2'
node: '>=12.0.0'
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
- versions: '>=8.2.0-patch.1 <8.2.0 || >8.2.0'
node: '>=14.0.0'
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
handlebars:
versions: '*'
commands: node test/instrumentation/modules/handlebars.test.js
# Pug v3 dropped node v8 support (https://github.com/pugjs/pug/releases/tag/pug%403.0.0).
pug:
- versions: '0.1.0 || >2.0.0 <3.0.0'
commands: node test/instrumentation/modules/pug.test.js
- versions: '>=3.0.0'
node: '>8'
commands: node test/instrumentation/modules/pug.test.js
# @hapi/hapi
# - Package name: Starting with v17.9.0 and v18.2.0 the name changed from
# 'hapi' to '@hapi/hapi'. Starting in elastic-apm-node@4, only the newer
# '@hapi/hapi' is instrumented.
# - Node version compat:
# - @hapi/hapi@19: supports node >=v12 (judging from commit 50d8d7d)
# - @hapi/hapi@20: appears (from travis template refs) to support node >=v12
# - @hapi/[email protected] fixed an issue (https://github.com/hapijs/hapi/pull/4225)
# needed to work with node >=16. Earlier versions of Hapi will crash when
# handling a POST.
# - @hapi/hapi@21: dropped support for node v12, and requires v14.10.0
# for 'performance.eventLoopUtilization'
'@hapi/hapi':
- versions: '>=17.0.0 <19.0.0'
node: '>=8.12.0 <16.0.0'
commands:
- node test/instrumentation/modules/hapi/hapi.test.js
- node test/instrumentation/modules/hapi/set-framework.test.js
- versions: '>=19.0.0 <20.1.2'
node: '>=12.0.0 <16.0.0'
commands:
- node test/instrumentation/modules/hapi/hapi.test.js
- node test/instrumentation/modules/hapi/set-framework.test.js
- versions: '>=20.1.2 <21.0.0'
node: '>=12.0.0'
commands:
- node test/instrumentation/modules/hapi/hapi.test.js
- node test/instrumentation/modules/hapi/set-framework.test.js
- versions: '>=21.0.0'
node: '>=14.10.0'
commands:
- node test/instrumentation/modules/hapi/hapi.test.js
- node test/instrumentation/modules/hapi/set-framework.test.js
tedious:
# latest majors subset of '>=1.9.0 <4.0.0 || >4.0.1 <11'
- versions: '1.9.0 || 1.15.0 || 2.7.1 || 3.0.1 || 4.2.0 || 5.0.3 || 6.7.1 || 7.0.0 || 8.3.1 || 9.2.3 || 10.0.0'
node: '>=6'
commands: node test/instrumentation/modules/tedious.test.js
- versions: '11.0.0 || 11.8.0' # first and last subset of '11.x'
node: '>=10.17.0'
commands: node test/instrumentation/modules/tedious.test.js
# first and last majors subset of '12.x || 13.x || 14.x'
- versions: '12.0.0 || 12.3.0 || 13.0.0 || 13.2.0 || 14.0.0 || 14.7.0 || >14.7.0 <15'
node: '>=12.3.0'
commands: node test/instrumentation/modules/tedious.test.js
- versions: '15.0.0 || 15.1.3 || >15.1.3 <16' # first and last majors subset of '15.x'
node: '>=14'
commands: node test/instrumentation/modules/tedious.test.js
- versions: '16.0.0 || 16.1.0 || >16.1.0 <17' # first and last majors subset of '16.x'
node: '>=16'
commands: node test/instrumentation/modules/tedious.test.js
cassandra-driver:
# 3.1.0 is broken
versions: '>=3 <3.1.0 || >3.1.0 <5'
commands: node test/instrumentation/modules/cassandra-driver/cassandra-driver.test.js
# Restify
# - restify <v10 doesn't work with node v18+ (https://github.com/restify/node-restify/issues/1888)
# - restify v9 used `require('node:...')` that requires node >v14.18.0
# (https://nodejs.org/api/modules.html#core-modules)
restify:
- versions: '>=5.2.0 <8.0.0'
node: '<18.0.0'
commands:
- node test/instrumentation/modules/restify/basic.test.js
- node test/instrumentation/modules/restify/set-framework.test.js
- versions: '>=8.0.0 <9.0.0'
node: '>=8.6.0 <18.0.0'
commands:
- node test/instrumentation/modules/restify/basic.test.js
- node test/instrumentation/modules/restify/set-framework.test.js
- versions: '>=9.0.0 <10.0.0'
node: '>=14.18.0 <18.0.0'
commands:
- node test/instrumentation/modules/restify/basic.test.js
- node test/instrumentation/modules/restify/set-framework.test.js
- versions: '>=10.0.0 <12.0.0'
node: '>=14.18.0'
commands:
- node test/instrumentation/modules/restify/basic.test.js
- node test/instrumentation/modules/restify/set-framework.test.js
# https://www.fastify.io/docs/latest/LTS/
# - #1086 suggests [email protected] was a broken release, skip it.
# - [email protected] is broken: https://github.com/fastify/fastify/issues/3998#issuecomment-1153662513
# - [email protected] - 4.16.2 (inclusive) are broken releases
# - Do not run "test/sanitize-field-names/fastify.test.js" for older fastify,
# because the test file uses '@fastify/formbody', which only has versions
# for fastify >=3.
fastify:
- versions: '1.0.0 || 1.14.6' # subset of '1.x'
node: '>=6 <12'
commands:
- node test/instrumentation/modules/fastify/fastify.test.js
- node test/instrumentation/modules/fastify/async-await.test.js
- node test/instrumentation/modules/fastify/set-framework.test.js
- versions: '2.0.0 || 2.15.3' # subset of '>=2.0.0 <2.4.0 || >2.4.0 <3'
node: '>=6 <15'
commands:
- node test/instrumentation/modules/fastify/fastify.test.js
- node test/instrumentation/modules/fastify/async-await.test.js
- node test/instrumentation/modules/fastify/set-framework.test.js
- versions: '3.0.0 || 3.6.0 || 3.14.2 || 3.20.1 || 3.24.0 || 3.29.0 || ^3.29.5'
peerDependencies: '@fastify/formbody@^6.0.1'
node: '>=10'
commands:
- node test/instrumentation/modules/fastify/fastify.test.js
- node test/instrumentation/modules/fastify/async-await.test.js
- node test/instrumentation/modules/fastify/set-framework.test.js
- node test/sanitize-field-names/fastify.test.js
update-versions:
mode: max-5
include: '>=3 <4'
- versions: '4.0.0 || 4.5.1 || 4.9.2 || 4.15.0 || 4.22.0 || 4.24.3 || ^4.25.2'
peerDependencies: '@fastify/formbody@^7'
node: '>=14.6.0'
commands:
- node test/instrumentation/modules/fastify/fastify.test.js
- node test/instrumentation/modules/fastify/async-await.test.js
- node test/instrumentation/modules/fastify/set-framework.test.js
- node test/sanitize-field-names/fastify.test.js
update-versions:
mode: max-5
include: '>=4 <5'
exclude: '4.0.1 || >=4.16.0 <=4.16.2'
finalhandler:
versions: '*'
commands: node test/instrumentation/modules/finalhandler.test.js
memcached:
versions: '>=2.2.0'
commands: node test/instrumentation/modules/memcached.test.js
aws-sdk:
# We want this version range:
# versions: '>=2.858 <2.1372.0 || >2.1372.0 <3'
# However, awk-sdk releases *very* frequently (almost every day) and there
# is no need to test *all* those releases. Instead we statically list a subset
# of versions to test.
#
# - v2.1372.0 changed the SQS client protocol from "query" to "json", which
# isn't supported in localstack. It was reverted in v2.1373.0.
# - v2.1491.0 and up changed protocol to "json" again, eventually supported
# in localstack v3.
#
# Maintenance note: This should be updated periodically using:
# node ./dev-utils/update-tav-versions.js
#
# Test v2.858.0, every N=122 of 614 releases, and current latest.
versions: '2.858.0 || 2.991.0 || 2.1124.0 || 2.1257.0 || 2.1391.0 || 2.1524.0 || ^2.1528.0'
commands:
- node test/instrumentation/modules/aws-sdk/aws4-retries.test.js
- node test/instrumentation/modules/aws-sdk/s3.test.js
- node test/instrumentation/modules/aws-sdk/sns.test.js
- node test/instrumentation/modules/aws-sdk/sqs.test.js
- node test/instrumentation/modules/aws-sdk/dynamodb.test.js
update-versions:
mode: max-5
include: '>=2.858.0 <3'
exclude: '2.1372.0'
# For all AWS-SDK clients want this version range:
# versions: '>=3.15.0 <4'
# However, @awk-sdk/client-* releases *very* frequently (almost every day) and there
# is no need to test *all* those releases. Instead we statically list a subset
# of versions to test.
# Maintenance note: This should be updated periodically using:
# node ./dev-utils/update-tav-versions.js
'@aws-sdk/client-s3':
versions: '3.15.0 || 3.78.0 || 3.186.0 || 3.288.0 || 3.373.0 || 3.474.0 || ^3.484.0'
commands:
- node test/instrumentation/modules/@aws-sdk/client-s3.test.js
node: '>=14'
# Test v3.15.0, current latest and 5 versions in between.
# - 3.377.0 was a bad release (https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1828#issuecomment-1834276719)
update-versions:
mode: max-5
include: '>=3.15.0 <4'
exclude: '3.377.0'
'@aws-sdk/client-dynamodb':
versions: '3.15.0 || 3.78.0 || 3.193.0 || 3.282.0 || 3.369.0 || 3.477.0 || ^3.484.0'
commands:
- node test/instrumentation/modules/@aws-sdk/client-s3.test.js
node: '>=14'
# Test v3.15.0, current latest and 5 versions in between.
update-versions:
mode: max-5
include: '>=3.15.0 <4'
'@aws-sdk/client-sns':
versions: '3.15.0 || 3.76.0 || 3.190.0 || 3.278.0 || 3.360.0 || 3.474.0 || ^3.484.0'
commands:
- node test/instrumentation/modules/@aws-sdk/client-sns.test.js
node: '>=14'
# Test v3.15.0, current latest and 5 versions in between.
update-versions:
mode: max-5
include: '>=3.15.0 <4'
'@aws-sdk/client-sqs':
versions: '3.15.0 || 3.76.0 || 3.192.0 || 3.282.0 || 3.369.0 || 3.476.0 || ^3.484.0'
commands:
- node test/instrumentation/modules/@aws-sdk/client-sqs.test.js
node: '>=14'
# Test v3.15.0, current latest and 5 versions in between.
update-versions:
mode: max-5
include: '>=3.15.0 <4'
# - [email protected] added its diagnostics_channel support.
# - In [email protected] the `request.origin` property was added, which we need
# in the 'undici:request:create' diagnostic message.
undici:
- versions: '^6.0.0'
node: '>=18'
commands: node test/instrumentation/modules/undici/undici.test.js
update-versions:
mode: max-5
include: '>=6.0.0 <7'
- versions: '4.7.1 || 4.10.4 || 5.1.1 || 5.12.0 || 5.22.0 || 5.27.1 || ^5.28.2'
commands: node test/instrumentation/modules/undici/undici.test.js
# Test v4.7.1, latest v5 and 5 versions in between.
update-versions:
mode: max-5
include: '>=4.7.1 <6'