Skip to content

test: added lock file mechanismn - #2702

Open
kirrg001 wants to merge 10 commits into
mainfrom
test-lock-files
Open

test: added lock file mechanismn#2702
kirrg001 wants to merge 10 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
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