Skip to content

ci: run checks on PRs to feat/** and test vmm UI and vmm-cli - #1559

Merged
kvinwang merged 2 commits into
nextfrom
ci/feature-branch-checks
Nov 11, 2026
Merged

kvinwang merged 2 commits into
nextfrom
ci/feature-branch-checks

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

PRs that target feature branches (e.g. feat/kms-epochs-combined) currently get only the Foundry checks.

  • Add feat/** to pull_request.branches of rust, sdk, prek-check, spdx-check and vmm-ui. foundry-test.yml has no branch filter, so it already runs on every PR and is left unchanged.
  • rust.yml: run cryptsetup --version before the tests. The LUKS tests in dstack-util print "cryptsetup is unavailable; skipping" and pass when it is missing. With this step, a runner without cryptsetup fails the job.
  • vmm-ui.yml: run npm run test --if-present after the build, and add a vmm-cli job that runs dstack/vmm/src/tests/test_vmm_cli.py with unittest. It installs dstack/vmm/requirements.txt when that file exists. The UI test script and the requirements file exist only on feature branches for now, so these steps do nothing on next until they land.

PRs targeting feature branches only got the Foundry checks. Also fail the
Rust job when cryptsetup is missing so the LUKS tests cannot silently skip.

Signed-off-by: Kevin Wang <wy721@qq.com>
cryptography 50.0.0 needs cffi 2.0.0 or later, so requirements.txt could
not be installed with cffi pinned to 1.17.1. The file exists on every
branch, so install it unconditionally.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit e3c5252 into next Nov 11, 2026
16 checks passed
@kvinwang
kvinwang deleted the ci/feature-branch-checks branch November 11, 2026 07:51
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.

1 participant