Update startup log tests to account for updated Node.js behavior#6513
Update startup log tests to account for updated Node.js behavior#6513
Conversation
|
|
|
Did you run the test locally to make sure the test passes ? The CI is not going to run the test you activated right now because the declaration is |
@simon-id - yep, just confirmed it xpass'd locally for dd-trace-js v6 |
|
@bm1549 that's good, but since that doesn't add it to the CI, the risk of it starting to silently fail after you merge this, and start failing the whole system test CI once we release v6 is suboptimal |
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
|
@simon-id misinterpreted your prior feedback - just added updated the ref in the manifest so it runs on 6.x |
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: 50dd378 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
nccatoni
left a comment
There was a problem hiding this comment.
Detail: I would suggest using the last failing version with > (something like >5.90.0) or the current pre-release version directly so it is more readable
|
@nccatoni this isn't possible actually, prerelease versions cannot be compared with non-prerelease versions, and this change will only apply when v6.0.0 comes out, we don't know when |
Change from >=6.0.0-0 to >5.90.0 which is equivalent (includes all 6.0.0 prereleases) but more readable per nccatoni's review suggestion. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…nknown Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@nccatoni ah i just tried locally and our implementation does match what you're saying, it's the npm implementation that is different which is why i always get confused with prerelease stuff. The semver standard used to be ambiguous about prerelease comparison, which looks like it's been fixed in the latest draft of the spec. With our ST custom implem: In node.js: So we can use (btw your idea of using |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
LGTM but once CI passes, double check it's correctly running the test in dev, but not in prod 👍 |
|
@simon-id just double checked. Merging now Thanks for all the feedback! |
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Motivation
Changes
Workflow
🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
tests/ormanifests/is modified ? I have the approval from R&P teambuild-XXX-imagelabel is present