-
Notifications
You must be signed in to change notification settings - Fork 31
fix: startup uneasyness #4024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
callicles
merged 9 commits into
main
from
nico/eng-2768-moose-dev-dockerless-crashes-on-re-invocation-with
Apr 20, 2026
Merged
fix: startup uneasyness #4024
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
afa849c
fix: startup uneasyness
callicles 5f568bf
fixes
callicles 57b52f2
fix vendored
callicles dba62be
fix: kill ClickHouse by its watchdog comm name
claude 55b751f
fix: use platform-specific ClickHouse watchdog comm name
claude 48e651a
fix compilation
callicles fbbc346
fixes for end to end tests
callicles 4172c48
fix for binding error message reading
callicles 9427e83
fixes
callicles File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Local cross-compile config for dec-bench harness tests. | ||
| # CI uses manylinux_2_28 directly; this is the convenience path for | ||
| # `cross build --target aarch64-unknown-linux-gnu -p moose-cli`. | ||
| [build.env] | ||
| # Tell openssl-sys to skip the vendored build (it strips deprecated symbols | ||
| # like SSL_get_peer_certificate that librdkafka still calls) and link the | ||
| # system OpenSSL 1.1 inside the container instead. OPENSSL_NO_VENDOR is the | ||
| # documented opt-out for the `vendored` feature — it keeps moose-cli's | ||
| # Cargo.toml unchanged so regular native builds keep vendoring. | ||
| passthrough = [ | ||
| "OPENSSL_NO_VENDOR", | ||
| "OPENSSL_LIB_DIR", | ||
| "OPENSSL_INCLUDE_DIR", | ||
| "OPENSSL_STATIC", | ||
| ] | ||
|
|
||
| [target.aarch64-unknown-linux-gnu] | ||
| # The pinned 0.2.5 image ships libssl 1.0.0, which lacks SSL_get_peer_certificate | ||
| # as an exported symbol and fails librdkafka's final link. `:main` is Ubuntu | ||
| # 20.04 with libssl 1.1.1, which has the symbol. | ||
| image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main" | ||
| # cross's /opt/toolchain.cmake pins CMAKE_FIND_ROOT_PATH to /usr/aarch64-linux-gnu | ||
| # (sysroot layout), but apt multiarch installs arm64 libs to | ||
| # /usr/lib/aarch64-linux-gnu (Debian layout). rdkafka-sys's cmake build of | ||
| # librdkafka does FIND_PACKAGE(ZLIB) / FIND_PACKAGE(OpenSSL) and can't see | ||
| # across that gap — so we symlink the multiarch lib/headers into the sysroot. | ||
| pre-build = [ | ||
| "dpkg --add-architecture arm64", | ||
| "apt-get update", | ||
| "apt-get install -y --no-install-recommends protobuf-compiler libprotobuf-dev cmake pkg-config zlib1g-dev:arm64 libssl-dev:arm64", | ||
| "mkdir -p /usr/aarch64-linux-gnu/lib /usr/aarch64-linux-gnu/include", | ||
| "ln -sf /usr/lib/aarch64-linux-gnu/libz.so /usr/aarch64-linux-gnu/lib/libz.so", | ||
| "ln -sf /usr/lib/aarch64-linux-gnu/libz.a /usr/aarch64-linux-gnu/lib/libz.a", | ||
| "ln -sf /usr/include/zlib.h /usr/aarch64-linux-gnu/include/zlib.h", | ||
| "ln -sf /usr/include/zconf.h /usr/aarch64-linux-gnu/include/zconf.h", | ||
| "for f in libssl.so libssl.a libcrypto.so libcrypto.a; do ln -sf /usr/lib/aarch64-linux-gnu/$f /usr/aarch64-linux-gnu/lib/$f; done", | ||
| "ln -sfn /usr/include/openssl /usr/aarch64-linux-gnu/include/openssl", | ||
|
callicles marked this conversation as resolved.
|
||
| ] | ||
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.