Skip to content

Windows Vulkan release test uses POSIX environment APIs #514

Description

@localai-bot

The exact merged-SHA release dry run fails the Windows Vulkan bundle while compiling tests/vt/test_backend_cross_device.cpp.

Evidence: https://github.com/mudler/vllm.cpp/actions/runs/31625581156/job/94211117906

The cross-device fused-chain case directly calls setenv at lines 1004 and 1048 and unsetenv at line 1050. MSVC provides neither POSIX function, so the required native Windows Vulkan target fails with C3861 before executing its release gates.

The test must set and restore VT_FUSED_TIER through a small test-local cross-platform seam: _putenv_s on Windows and checked setenv/unsetenv elsewhere. Add RED-first structural/mutation coverage and preserve the two-tier behavior and environment restoration. The exact ten-platform dry run must pass before the pre-alpha tag is created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions