Skip to content

chore: remove test_package_updates.yml workflow #6394

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
Jul 7, 2025

Conversation

OttoAllmendinger
Copy link
Contributor

The test_package_updates.yml workflow is being removed because it's failing
randomly on PRs where the code change is not actually causing the failure.

This workflow doesn't provide much value for the following reasons:

  • Results are mostly determined by external factors (new package versions on
    npmjs.com) rather than code changes in the PR, creating a frustrating
    developer experience
  • The simulation of downstream installs by removing yarn.lock isn't
    realistic, since our toplevel package.json has an extensive
    resolutions section that overrides many package versions
  • Downstream projects don't use these resolutions, making the yarn.lock
    removal pointless
  • Real downstream issues with package versions will need to be reported as
    bugs anyway

BTC-2170

The job is failing somewhat randomly on PRs where the code change is not
actually causing the failure.

The `test_package_updates.yml` workflow is not providing much value:

- The result is mostly determined by external factors like new package versions
  appearing on `npmjs.com`, not by the code changes in the PR. This is a
  frustrating experience for developers.
- The workflow seeks to simulate downstream installs by removing the
  `yarn.lock` file. However, this is not a realistic simulation. We have
  a toplevel `package.json` file with quite a long a `resolutions` section
  that overrides many package versions. Without it, the workflow would
  fail. Downstream projects do not take these resolutions into account,
  so the `yarn.lock` removal is a bit pointless.
  If there are downstream problems due to incorrect package versions, they have
  to submit a bug report instead.

Let's get rid of this workflow.

Issue: BTC-2170
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review July 4, 2025 09:39
@OttoAllmendinger OttoAllmendinger requested review from a team as code owners July 4, 2025 09:39
@OttoAllmendinger OttoAllmendinger merged commit 52c7cc2 into master Jul 7, 2025
12 checks passed
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.

2 participants