Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
The CI has been experiencing several build failures recently, stemming from a few core issues:
Debian 10 "Buster"base image used for builds is now End-of-Life (EOL). This causedapt-get updatecommands to fail as the package repositories are no longer available at their standard locations.minimatch, was updated to v10+, which is no longer compatible with Node.js 18. This resulted inyarn installfailing due to anenginesincompatibility error.yarn.lockfile was not committed to the repository. This allowed transitive dependencies to be updated on every CI run, leading to unpredictable builds that could randomly fail when an upstream package was updated.This PR addresses all of the above issues to ensure the CI build process is stable, reliable, and reproducible.
Changes
Upgrade Docker Base Image to Bullseye
pkg/linux/Dockerfile_linux_glibchas been updated fromnode:X-bustertonode:X-bullseye(Debian 11).Bullseyecompletely resolves theapt-get updatefailures.Add Dependency Resolution for
minimatchresolutionsfield has been added topackage.jsonto pin the version ofminimatchto^9.0.0.Commit
yarn.lockfor Deterministic Buildsyarn.lockfile has been added to version control.yarn installwill use the exact same dependency versions in both local development and CI environments, eliminating random failures from upstream dependency changes.Update CI Test Matrix
.github/workflows/ci-pr-validation.ymlhas been updated accordingly. Tests against the deprecatedbusterenvironment have been removed to align the test matrix with the new build environment.