Repository navigation
build: pin @contember/* and Contember images to 2.1.0-rc.6 - #152
Merged
Merged
Conversation
Caret ranges let a lockfile regeneration pull a newer @contember/schema than the CLI image used in CI, which then refuses to run migrations. Pin all @contember/* dependencies exactly, use the same version for the engine and cli images, and fail CI early when they drift apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Review round 1 on
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Browser Tests on main fail at "Migrate & seed":
@contember/schema@2.1.0-rc.6 does not match version of CLI 2.1.0-rc.4.The release script regenerates
bun.lock, so the^2.1.0-beta.1ranges resolved to the newest@contember/*release (rc.6), while the engine and CLI images stayed pinned to rc.4.Change
@contember/*dependency to exactly2.1.0-rc.6(no caret).contember/engine:2.1.0-rc.6andcontember/cli:2.1.0-rc.6in CI anddocker-compose.yaml.@contember/schemaversion.Bumping Contember now means changing the package versions and the image tags together; the check catches a mismatch.
Status
🤖 Generated with Claude Code