Skip to content

chore: fix bitrot.js dev util for recent changes #3308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2023

Conversation

trentm
Copy link
Member

@trentm trentm commented May 2, 2023

  • There are a couple more .tav.yml files for bitrot.js to include in its processing now.
  • Also fix a regex to avoid this error:
% ./dev-utils/bitrot.js
bitrot: error: could not parse this table cell text from docs/supported-technologies.asciidoc: " https://www.npmjs.com/package/@opentelemetry/sdk-metrics[@opentelemetry/sdk-metrics]"

@trentm trentm requested a review from david-luna May 2, 2023 23:14
@trentm trentm self-assigned this May 2, 2023
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label May 2, 2023
@@ -205,7 +205,7 @@ function loadSupportedDoc () {
results.push({ name: n, versions: row[1] })
})
} else {
match = /^https:\/\/.*\[(.*)\]$/.exec(row[0])
match = /^https:\/\/.*\[(.*)\]$/.exec(row[0].trim())
Copy link
Member

Choose a reason for hiding this comment

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

Looks good. Out of curiosity: is there any reason we want to keep starting/trailing spaces in cell values?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, there is no reason to keep surrounding spaces in cell values.

@trentm trentm merged commit a01870c into main May 3, 2023
@trentm trentm deleted the trentm/bitrot-tool-fix branch May 3, 2023 20:54
v1v added a commit to v1v/apm-agent-nodejs that referenced this pull request May 8, 2023
…re/support-specific-modules

* 'main' of github.com:elastic/apm-agent-nodejs: (54 commits)
  chore: fix dev-utils/ci-tav-slow-jobs.sh (elastic#3319)
  test: reduce TAV test matrix for slowest jobs (elastic#3321)
  chore: sync package-lock so 'npm ci' can work (elastic#3318)
  docs: document `useElasticTraceparentHeader` config var (elastic#3316)
  chore, test: test driver improvements (elastic#3293)
  test: drop node 14 from RC tests now that it is EOL (elastic#3315)
  test: fix running fastify.test.js with node v8 (elastic#3317)
  feat: add @apollo/server@4 support (elastic#3203)
  chore: update nvm (elastic#3309)
  tests: stop testing 'express-graphql' instrumentation (elastic#3304)
  chore: fix bitrot.js dev util for recent changes (elastic#3308)
  test: restore testing of Azure Functions on node >=18.x (elastic#3307)
  fix: support Lambda instrumentation for `contextManager: 'patch'`; refactor Lambda tests (elastic#3305)
  test: fix fastify TAV test failures (elastic#3314)
  test: fix @aws-sdk/client-s3 TAV test failures (elastic#3312)
  feat: add instrumentation for aws-sdk S3 client (elastic#3287)
  feat(fastify): add captureBody support (elastic#2681)
  feat: mysql2@3 support (elastic#3301)
  chore(deps): bump @opentelemetry/exporter-prometheus from 0.37.0 to 0.38.0 in /test/opentelemetry-metrics/fixtures (elastic#3295)
  chore(deps-dev): bump fastify from 4.16.3 to 4.17.0 (elastic#3296)
  ...
PeterEinberger pushed a commit to fpm-git/apm-agent-nodejs that referenced this pull request Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants