Skip to content

ci: Re-enable wasmtime tests (and fix/cleanup) - #48434

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-wasmtime-fix
Oct 22, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-wasmtime-fix

Conversation

@phlax

@phlax phlax commented Oct 19, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions
github-actions Bot requested a balanced review from Copilot October 19, 2026 17:20
@phlax phlax changed the title ci: Re-enable wasmtime tests (and fix) [WIP] ci: Re-enable wasmtime tests (and fix) Oct 19, 2026
@phlax
phlax marked this pull request as draft October 19, 2026 17:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The selected Wasmtime module remains on the older version and does not consume the registry’s build fixes.

No open issues 🎉

What changed in this PR

Restores Wasmtime testing in Envoy CI and updates the shared Bazel registry revision.

Changes:

  • Runs Wasmtime tests unless explicitly skipped.
  • Updates registry URLs and corresponding lockfile entries across workspaces.
File Description
MODULE.bazel.lock Updates root registry references.
mobile/​MODULE.bazel.lock Updates mobile registry references.
ci/​do_ci.sh Corrects the Wasmtime skip condition.
bazel/​tests/​external/​.bazelrc Updates the external-test registry pin.
bazel/​tests/​codeql/​MODULE.bazel.lock Updates CodeQL registry references.
bazel/​tests/​codeql/​.bazelrc Updates the CodeQL registry pin.
api/​MODULE.bazel.lock Updates API registry references.
api/​.bazelrc Updates the API registry pin.
.bazelrc Updates the root registry pin.

Review effort: Balanced

@phlax
phlax force-pushed the ci-wasmtime-fix branch 11 times, most recently from adb746f to 657acae Compare October 22, 2026 12:52
@phlax phlax changed the title [WIP] ci: Re-enable wasmtime tests (and fix) [WIP] ci: Re-enable wasmtime tests (and fix/cleanup) Oct 22, 2026
@phlax phlax changed the title [WIP] ci: Re-enable wasmtime tests (and fix/cleanup) ci: Re-enable wasmtime tests (and fix/cleanup) Oct 22, 2026
@phlax
phlax marked this pull request as ready for review October 22, 2026 12:56
@phlax
phlax requested a review from kyessenov as a code owner October 22, 2026 12:56
Comment thread ci/do_ci.sh
;;

compile_time_options)
compile_time_options|cto)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😬

jwendell
jwendell previously approved these changes Oct 22, 2026
@phlax
phlax enabled auto-merge (squash) October 22, 2026 14:28
@phlax

phlax commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

/retest flakey android

@phlax
phlax merged commit 6b08712 into envoyproxy:main Oct 22, 2026
27 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 6, 2026
Partial backport of envoyproxy#48434: `ENVOY_SKIP_CTO_WASMTIME` skipped the wasmtime leg unless set
(inverted since envoyproxy#43249), and add the `cto` alias.

(cherry picked from commit 6b08712ef7b0c1c0e1c1e3c3a9a4ae1c4f3ec2d7)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 6, 2026
…roxy#48473)

Port of envoyproxy#48473 to release/v1.39. Rust code linked into the Envoy binary (the hickory built-in module, the static test modules and now the wasmtime engine) was built as staticlibs, each bundling its own copy of std and the allocator shim, which lld rejects as duplicate symbols once two of them meet in one binary. Built-in modules are now always-linked rlibs built through envoy_rust_static_module; a symbol_prefix build setting and transition compile one SDK instance per module, with the exported hooks named via export_name instead of #[no_mangle] + objcopy renaming, and the SDK's empty rust_runtime staticlib supplies std and the allocator shim exactly once. The wasmtime extension depends on rust_runtime for the same reason (envoyproxy#48434).

Unlike main at the time, this SDK still exported every hook with a plain #[no_mangle], so all 191 hook sites are converted here. The builtin_extensions Cargo.toml crate-type is left as-is to avoid a crate_universe repin; Bazel does not use it.

(cherry picked from commit ec0f57f)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 9, 2026
Partial backport of #48434: `ENVOY_SKIP_CTO_WASMTIME` skipped the wasmtime leg unless set
(inverted since #43249), and add the `cto` alias.

(cherry picked from commit 6b08712)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 9, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 6b08712)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 6b08712)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 6b08712)
Signed-off-by: Ryan Northey <[email protected]>
jwendell pushed a commit that referenced this pull request Nov 11, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 6b08712)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Partial backport of envoyproxy#48434: `ENVOY_SKIP_CTO_WASMTIME` skipped the wasmtime leg unless set
(inverted since envoyproxy#43249), and add the `cto` alias.

(cherry picked from commit 6b08712)
Signed-off-by: Ryan Northey <[email protected]>
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.

3 participants