Skip to content

flaky: global_this_webassembly::namespace_members_exist_with_expected_shapes fails under parallel cargo test on current main (6/6), passes serial/solo #6926

Description

@proggeramlug

On main @ea9c5afa5 (and descendants), cargo test -p perry-runtime --lib with default parallelism fails object::global_this::global_this_webassembly::tests::namespace_members_exist_with_expected_shapes ("Module.prototype must exist") in 6/6 runs on an M-series mac; --test-threads=1 and solo runs pass 100%. Cross-thread interference on the shared closure dynamic-prop / builtin-attrs registries during create_webassembly_namespace is the likely surface. Manifestation is layout/timing sensitive — older mains passed the same suite, so this joins the gc::teardown / prop_plan parallel-flake family. Found while verifying branch size/nm-constants-devirt (whose hooks provably never execute in the suite — traced).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions