fix(oci): bump rust-builder-glibc to v1.0.2 and guard dx/dioxus match #53

Merged
nrupard merged 1 commit from fix/dx-dioxus-guard-LINKS-19 into main 2026-06-08 23:31:36 +02:00
Owner

What

Fixes the dx/dioxus version mismatch surfaced in OCI build run #136 (LINKS-19). The rust-builder-glibc base image pinned dx 0.7.7, but this repo resolves dioxus to 0.7.9 in Cargo.lock, so dx build --release printed dx and dioxus versions are incompatible! and continued, risking a silently broken WASM client bundle.

Changes

  • Bump oci-build/Dockerfile FROM tag v1.0.1-rust1.94-trixie -> v1.0.2-rust1.94-trixie. v1.0.2 ships dx 0.7.9, published by the companion niceguyit/oci-images change (fix(rust-builder-glibc): bump dioxus-cli to 0.7.9).
  • Add a build-time guard before the dependency build that parses dx --version and the dioxus version from Cargo.lock and exit 1s on a mismatch. A future dx/dioxus drift now fails fast instead of warning and continuing. The check is exact-patch: dx 0.7.7 vs dioxus 0.7.9 share the 0.7 minor yet dx still flags them incompatible, so a minor-only compare would miss it.

Merge ordering (IMPORTANT)

Do NOT merge this until the oci-images PR is merged AND its CI has published ghcr.io/niceguyit/rust-builder-glibc:v1.0.2-rust1.94-trixie. Merging earlier makes the rusty-links build fail: the FROM tag will not resolve, and once it does, the guard correctly rejects any base image still on dx 0.7.7.

Acceptance criteria

  • oci-build/Dockerfile:3 FROM bumped to the dx-0.7.9 tag (AC2).
  • CI fails fast on a future dx/dioxus mismatch (AC4).
  • AC1 (base image ships dx 0.7.9 + new tag) lands in niceguyit/oci-images (GitHub); branch fix/dioxus-cli-0.7.9-LINKS-19 is committed locally, pending push by a maintainer with GitHub access.
  • AC3 (dx build no longer warns) verified by the first main build after both merge.

Refs LINKS-19.

## What Fixes the dx/dioxus version mismatch surfaced in OCI build run #136 (LINKS-19). The `rust-builder-glibc` base image pinned dx 0.7.7, but this repo resolves `dioxus` to 0.7.9 in `Cargo.lock`, so `dx build --release` printed `dx and dioxus versions are incompatible!` and continued, risking a silently broken WASM client bundle. ## Changes - Bump `oci-build/Dockerfile` FROM tag `v1.0.1-rust1.94-trixie` -> `v1.0.2-rust1.94-trixie`. v1.0.2 ships dx 0.7.9, published by the companion `niceguyit/oci-images` change (`fix(rust-builder-glibc): bump dioxus-cli to 0.7.9`). - Add a build-time guard before the dependency build that parses `dx --version` and the `dioxus` version from `Cargo.lock` and `exit 1`s on a mismatch. A future dx/dioxus drift now fails fast instead of warning and continuing. The check is exact-patch: dx 0.7.7 vs dioxus 0.7.9 share the 0.7 minor yet dx still flags them incompatible, so a minor-only compare would miss it. ## Merge ordering (IMPORTANT) Do NOT merge this until the `oci-images` PR is merged AND its CI has published `ghcr.io/niceguyit/rust-builder-glibc:v1.0.2-rust1.94-trixie`. Merging earlier makes the rusty-links build fail: the FROM tag will not resolve, and once it does, the guard correctly rejects any base image still on dx 0.7.7. ## Acceptance criteria - [x] `oci-build/Dockerfile:3` FROM bumped to the dx-0.7.9 tag (AC2). - [x] CI fails fast on a future dx/dioxus mismatch (AC4). - [ ] AC1 (base image ships dx 0.7.9 + new tag) lands in `niceguyit/oci-images` (GitHub); branch `fix/dioxus-cli-0.7.9-LINKS-19` is committed locally, pending push by a maintainer with GitHub access. - [ ] AC3 (`dx build` no longer warns) verified by the first main build after both merge. Refs LINKS-19.
fix(oci): bump rust-builder-glibc to v1.0.2 and guard dx/dioxus match
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 49s
Create release / Create release from merged PR (pull_request) Has been skipped
ff1061845e
The base image pinned dx 0.7.7 while this repo resolves dioxus to 0.7.9 (Cargo.lock), so `dx build --release` printed `dx and dioxus versions are incompatible!` and continued, risking a silently broken WASM client bundle (seen in OCI build run #136). Bump the FROM tag to v1.0.2-rust1.94-trixie, which ships dx 0.7.9 (published by the matching niceguyit/oci-images change).

Add a build-time guard before the dependency build that compares `dx --version` against the dioxus version resolved in Cargo.lock and fails the build on a mismatch, so a future dx/dioxus drift fails fast instead of warning and continuing. Exact patch comparison is required: dx 0.7.7 vs dioxus 0.7.9 share the 0.7 minor yet dx still flags them incompatible.

#LINKS-19

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nrupard deleted branch fix/dx-dioxus-guard-LINKS-19 2026-06-08 23:31:37 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
a8n-tools/rusty-links!53
No description provided.