Skip to content

Conversation

@trentm
Copy link
Member

@trentm trentm commented Oct 28, 2025

In docs, instrumentation, and tests, the major version of the target
module being instrumented was not specified. There should be no functional
change for any current releases of modules with this change. In other
words, any changes to actual instrumentations is capping the major version
supported at the currently released major version.

Closes: #4803

… for some instrumentations

In docs, instrumentation, and tests, the major version of the target
module being instrumented was not specified. There should be no functional
change for any current releases of modules with this change. In other
words, any changes to actual instrumentations is capping the major version
supported at the *currently released* major version.

Closes: #4803
@trentm trentm self-assigned this Oct 28, 2025
@trentm trentm requested a review from a team as a code owner October 28, 2025 23:20
@github-actions
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

🔍 Preview links for changed docs

versions: '>=8.0.0'
versions:
mode: max-5
include: '>=8.0.0 <17'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change massively reduces the number of versions tested:

% TAV=elasticsearch npx tav --dry-run --verbose | rg matching
-- 54 package versions matching filter: 8.0.1, 8.1.0, 8.2.0, 9.0.0, 9.0.1, 9.0.2, 10.0.0, 10.0.1, 10.1.0, 10.1.1, 10.1.2, 10.1.3, 11.0.0, 11.0.1, 12.0.0, 12.0.1, 12.1.0, 12.1.1, 12.1.2, 12.1.3, 13.0.0, 13.0.1, 13.1.0, 13.1.1, 13.1.2, 13.2.0, 13.3.0, 13.3.1, 14.0.0, 14.1.0, 14.2.0, 14.2.1, 14.2.2, 15.0.0, 15.1.0, 15.1.1, 15.2.0, 15.3.0, 15.3.1, 15.4.0, 15.4.1, 15.5.0, 16.0.0, 16.1.0, 16.1.1, 16.2.0, 16.3.0, 16.4.0, 16.5.0, 16.6.0, 16.7.0, 16.7.1, 16.7.2, 16.7.3
[16:04:13 trentm@peach:~/el/apm-agent-nodejs6 (git:trentm-cap-major-ver-for-instrs)]
% TAV=elasticsearch npx tav --dry-run --verbose | rg matching
-- 5 package versions matching filter: 8.0.1, 12.1.0, 15.0.0, 16.7.1, 16.7.3

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We skip some major releases but I think we're fine.

versions: '>=8.0.0'
versions:
mode: max-5
include: '>=8.0.0 <17'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We skip some major releases but I think we're fine.

@trentm trentm merged commit c44a3bd into main Oct 30, 2025
35 of 37 checks passed
@trentm trentm deleted the trentm-cap-major-ver-for-instrs branch October 30, 2025 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cap the major version on supported package instrumentations

3 participants