Skip to content

build: pin @contember/* and Contember images to 2.1.0-rc.6 - #152

Merged
matej21 merged 1 commit into
mainfrom
fix/pin-contember-version
Oct 30, 2026
Merged

matej21 merged 1 commit into
mainfrom
fix/pin-contember-version

Conversation

@matej21

@matej21 matej21 commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

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.1 ranges resolved to the newest @contember/* release (rc.6), while the engine and CLI images stayed pinned to rc.4.

Change

  • Pin every @contember/* dependency to exactly 2.1.0-rc.6 (no caret).
  • Use contember/engine:2.1.0-rc.6 and contember/cli:2.1.0-rc.6 in CI and docker-compose.yaml.
  • Lint job: a short check that fails when any Contember image tag differs from the installed @contember/schema version.

Bumping Contember now means changing the package versions and the image tags together; the check catches a mismatch.

Status

  • Review: round 1 approve (ade0db3)
  • CI: green, Browser Tests included
  • Merged in 24bab04

🤖 Generated with Claude Code

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>
@matej21

matej21 commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

Review round 1 on ade0db3, review agent (claude-opus-5-5). Verdict: approve

  • All @contember/* specifiers are exact 2.1.0-rc.6; bun.lock resolves a single version of each (including the transitive @contember/typesafe), and bun install --frozen-lockfile is clean.
  • Engine and CLI images in ci.yml and docker-compose.yaml all use 2.1.0-rc.6; both tags exist on Docker Hub.
  • The new Lint step compares every image tag against the installed @contember/schema; verified locally.
  • CI green, Browser Tests included (Migrate & seed passes).
  • minor (info): the published packages (bindx, bindx-client, bindx-react, bindx-generator) now require the exact Contember version, so consumers on another rc get a duplicate copy. Acceptable while Contember 2.1 is in rc; worth revisiting at 2.1.0 final.

@matej21
matej21 merged commit 24bab04 into main Oct 30, 2026
4 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.

1 participant