Skip to content

Fix flakes in //test/extensions/dynamic_modules/http:integration_test - #47167

Merged
mathetake merged 3 commits into
envoyproxy:mainfrom
ravenblackx:flake3
Sep 2, 2026
Merged

mathetake merged 3 commits into
envoyproxy:mainfrom
ravenblackx:flake3

Conversation

@ravenblackx

@ravenblackx ravenblackx commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Commit Message: Fix flakes in //test/extensions/dynamic_modules/http:integration_test
Additional Description: Engflow log shows test failure during rust_static but that actually began to crash in the preceding /rust instance; teardown begins unloading the dynamic rust module before the thread completes.

We can call scheduler.commit() directly for the same test behavior, as it already goes through Dispatcher::post into a queue on the other thread, as the test intends. There is no need for an unmanaged thread.

The failure-flake suggests a likely recurring pattern for dangling threads, so the PR is cleaning up those other sites too.

This was assisted by Codex Sol. I have reviewed it and mostly understand it but Rust isn't really my forte.
Risk Level: test-only
Testing: yes it is
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Raven Black <[email protected]>
@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #47167 was opened by ravenblackx.

see: more, trace.

Signed-off-by: Raven Black <[email protected]>
Signed-off-by: Raven Black <[email protected]>
@mathetake
mathetake merged commit 33afff9 into envoyproxy:main Sep 2, 2026
28 checks passed
@ravenblackx
ravenblackx deleted the flake3 branch September 3, 2026 14:11
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