Skip to content

test: added lock file mechanism - #2702

Merged
abhilash-sivan merged 11 commits into
mainfrom
test-lock-files
Aug 10, 2026
Merged

test: added lock file mechanism#2702
abhilash-sivan merged 11 commits into
mainfrom
test-lock-files

Conversation

@kirrg001

@kirrg001 kirrg001 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
  • update lock files only on production bumps on packages
  • add lock file on new currency version
  • each lock file in each test folder pins all versions from Instana & currency & others (such as tmp package.json)

@@ -1,6 +1,6 @@
{
"dependencies": {
"@aws-sdk/client-sqs": "latest",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We have to find a solution later to update these.

Comment thread bin/generate-lock-files.js Outdated

@aryamohanan aryamohanan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm able to find some more places we install latest dependencies:

  1. packages/collector/test/integration/misc/require-esm/package.json 
  2. packages/collector/test/integration/currencies/frameworks/typeorm/package.json 
  3. packages/collector/test/integration/currencies/frameworks/@koa/router/package.json 
  4. packages/collector/test/integration/currencies/frameworks/tsoa/package.json  - @tsoa/runtime: "*" (any version)
  5. packages/collector/test/integration/misc/esbuild-external - @vscode/vsce (latest)

@abhilash-sivan

Copy link
Copy Markdown
Contributor

I'm able to find some more places we install latest dependencies:

  1. packages/collector/test/integration/misc/require-esm/package.json
  2. packages/collector/test/integration/currencies/frameworks/typeorm/package.json
  3. packages/collector/test/integration/currencies/frameworks/@koa/router/package.json
  4. packages/collector/test/integration/currencies/frameworks/tsoa/package.json  - @tsoa/runtime: "*" (any version)
  5. packages/collector/test/integration/misc/esbuild-external - @vscode/vsce (latest)
  1. resolved
  2. we can pin a stable version
  3. not a monorepo, so we can test with a pinned stable versions and see
  4. Allowed (*), what to do?
  5. requires latest, release pattern show frequent releases

@aryamohanan aryamohanan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pre-approving.

@abhilash-sivan abhilash-sivan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

tested scripts and they work as expected 🚀

@abhilash-sivan
abhilash-sivan marked this pull request as ready for review August 7, 2026 11:34
@abhilash-sivan
abhilash-sivan requested a review from a team as a code owner August 7, 2026 11:34
@abhilash-sivan abhilash-sivan changed the title test: added lock file mechanismn test: added lock file mechanism Aug 10, 2026
@abhilash-sivan
abhilash-sivan merged commit b673c1a into main Aug 10, 2026
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.

3 participants