ci: run Windows gateway stop checks with serial coordination

This commit is contained in:
Xubin Ren committed 2026-11-05 11:33:08 +08:00
1 parent 72e4297c7a
commit ef9409dc89
2 files changed
+15 -1

No files matched your search

+4 -1
View File
@@ -76,7 +76,7 @@ jobs:
# scheduling below so one file cannot serialize all real venv work.
# Bound real persistence contention: six workers can delay session
# startup beyond its watchdog. Keep every assertion and test enabled.
pytest_args: "-n 4 --dist loadfile --ignore=tests/cli/test_commands.py --ignore=tests/cli/test_cli_input.py --ignore=tests/cli/test_desktop_target.py --ignore=tests/cli/test_desktop_target_entrypoints.py --ignore=tests/tools/test_exec_platform.py --ignore=tests/cli/test_wsl_browser.py --ignore=tests/test_install_scripts.py --ignore=tests/test_update_jobs.py --ignore=tests/test_update_profiles.py"
pytest_args: "-n 4 --dist loadfile --ignore=tests/cli/test_commands.py --ignore=tests/cli/test_cli_input.py --ignore=tests/cli/test_desktop_target.py --ignore=tests/cli/test_desktop_target_entrypoints.py --ignore=tests/tools/test_exec_platform.py --ignore=tests/cli/test_wsl_browser.py --ignore=tests/test_install_scripts.py --ignore=tests/test_update_jobs.py --ignore=tests/test_update_profiles.py --ignore=tests/test_update_stop.py"
steps:
- uses: actions/checkout@v4
@@ -136,10 +136,13 @@ jobs:
- name: Check Windows update coordination before the full suite
if: runner.os == 'Windows'
# Real gateway startup/stop must not compete with the parallel package
# and session-index fixtures. Keep its startup and lease assertions intact.
run: >-
uv run --no-sync python -m pytest
tests/test_installation_lock.py
tests/test_update_profiles.py
tests/test_update_stop.py
tests/utils/test_helpers.py::test_atomic_record_reader_does_not_block_concurrent_replacement
tests/gateway/test_runtime.py::test_runtime_state_publish_keeps_existing_snapshot_readable
tests/gateway/test_runtime.py::test_runtime_state_reader_does_not_block_publish_while_decoding