Skip to content

Conversation

juj
Copy link
Collaborator

@juj juj commented Sep 11, 2025

@@ -315,6 +315,7 @@ commands:
environment:
EMTEST_DETECT_TEMPFILE_LEAKS: "0"
EMTEST_HEADLESS: "1"
EMTEST_RETRY_FLAKY: "3"
Copy link
Member

Choose a reason for hiding this comment

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

What are these changes for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

When I added the @flaky annotation in this PR, CircleCI would just complain about the flaky test that it is failing.

The CircleCI bots don't seem to be restarting flaky tests in browser suite. Not sure if that happened after PR #25246 , or some other refactor.

So I added the EMTEST_RETRY_FLAKY directives in this PR so that CircleCI will retry the flaky browser tests.

Copy link
Member

Choose a reason for hiding this comment

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

I see. I haven't followed all the recent work on flakiness, so sgtm but deferring to @brendandahl @sbc100

@@ -995,6 +1002,8 @@ jobs:
"
test-browser-firefox-wasm64:
executor: focal
environment:
EMTEST_RETRY_FLAKY: "3"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you revert the changes to this file, and we can discuss this is a seperate PR?

There is an existing mechanism in .circleci/config.yml in the form of set-retry-flaky-tests. TBH I can't remember why I wanted it only for PRs.. but any refactoring can/should be separate from marking test_wasm_worker_lock_async_acquire itself as flaky.

lgtm without the changes in this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can you revert the changes to this file, and we can discuss this is a seperate PR?

That would mean landing this in a way that breaks CircleCI. I.e. before I did this change, all the CI bots started showing red, as they started failing on this test.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted the EMTEST_RETRY_FLAKY now, but it didn't pass in CircleCI, as adding the @flaky stopped the flaky test from being re-run.

Copy link
Collaborator

@sbc100 sbc100 Sep 15, 2025

Choose a reason for hiding this comment

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

Yes, sorry, I guess I should have said that we need some further discussion/thought about how/when/where to enable EMTEST_RETRY_FLAKY more widely.

lgtm to this change now even if the CI is still red, or if you like we can have the above discussion here before landing. either way sgtm.

@juj juj force-pushed the test_wasm_worker_lock_async_acquire_is_flaky branch from 38d9c00 to fe18217 Compare September 15, 2025 17:25
@juj juj merged commit 09f5255 into emscripten-core:main Sep 16, 2025
29 of 31 checks passed
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