Skip to content

Link native WebSocket transport into white-box engine tests #910

Closed

Description

@wieslawsoltes

Reproduction

The WebScene NuGet Build osx-arm64 package lane on PR #909 passed the macOS 12 floating-conversion compilation that previously blocked the job, then failed linking webscene_native_engine_tests (job 106636328130). native_v8_runtime_tests.cpp::test_native_websocket_cross_socket_fairness calls native_websocket_transport::open/send/try_pop/shutdown and constructor/destructor, but the test target only compiles its fixture source and webscene_native_dom.cpp. The production engine contains webscene_native_websocket.cpp, but does not export these C++ white-box symbols; linking its shared library does not satisfy the test executable. This is a latent test-target link failure exposed after #908's earlier compile blocker.

Proposed fix and acceptance

Compile native/webscene_native_websocket.cpp directly into webscene_native_engine_tests, as the existing DOM white-box fixture already does, while retaining the production engine's restricted C ABI. Keep ixwebsocket linked. Gate with the exact macOS 12 NuGet Build osx-arm64 target and related native engine tests. Confirm WebSocket fairness behavior and no duplicated production exports. Do not widen production C++ symbol visibility solely for test linking.

Stack this focused fix on PR #909 so the top package job validates both blockers; merge the ready stack atomically, then keep WebScene integration branches current.

Activity

  1. added
    bug
    vscode-oss/planned
    on Sep 22, 2026
  2. added
    vscode-oss/merged
    and removed
    vscode-oss/planned
    on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugvscode-oss/merged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions