Repository navigation
CARRY: fix(konflux): build gateway with vendored-z3 feature (RHAI-4525) - #72
Merged
Merged
Conversation
Upstream renamed the bundled-z3 Cargo feature to vendored-z3 in ai-openshell#3275, and the last upstream sync brought that into main. Dockerfile.konflux.gateway still requested bundled-z3, so cargo rejected the feature set and every gateway build failed. The new feature maps to the same z3-sys vendored build, so the resulting binary is unchanged. Signed-off-by: Emilien Macchi <emacchi@redhat.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: Comment |
mprpic
approved these changes
Oct 2, 2026
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.
Summary
The last upstream sync brought in ai-openshell#3275, which renamed the
bundled-z3Cargo feature tovendored-z3.Dockerfile.konflux.gatewaystill requestedbundled-z3, so every gateway build onmainand on open PRs (for example #68) fails right away:The old
z3-sysbundledfeature was only an alias forvendored, so the gateway binary is unchanged. Z3 is still built from thez3-srccrate prefetched by the cargo fetcher.Related Issue
Fixes RHAI-4525.
Follow-ups found while debugging this, kept out of this PR:
Z3_SYS_BUNDLED_DIR_OVERRIDEhave been unused since z3-sys 0.11, so the SBOM may report the wrong Z3.license:checkfails onmainfor fork-only Konflux files.Changes
deploy/docker/Dockerfile.konflux.gateway:bundled-z3becomesvendored-z3.Testing
cargo tree --locked -p openshell-gateway --no-default-features --features defaults-without-telemetry,bundled-z3reproduces the Konflux error locally.vendored-z3resolvesz3-srcthroughz3-sys/openshell-prover.mise run pre-commitpasses exceptlicense:check, which already fails onmain(RHAI-4527). This PR was committed with--no-verifyfor that reason.odh-openshell-gateway-on-pull-requestgreen on this PRChecklist
🤖 Generated with Claude Code