You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(vz-backend): Phase 1.1 polish — Linux verification + protected-paths gate
Closes the two verified gaps surfaced in the Phase 1 self-review:
• Caveat #1: elastos-vz's Linux build path was unverified (dev work
happened entirely on macOS). The existing ci.yml runs the full
workspace check/clippy/test on ubuntu-latest but only on `main`,
so Phase 1 commits on `sash/local-test` never hit it.
• Caveat #2: scripts/check-linux-untouched.sh existed as a script
anyone *could* run, not a gate anything *must* pass. Phase 2/3
commits could theoretically modify a protected crate without
anyone noticing until manual review.
Changes:
• .github/workflows/ci.yml — extend push triggers to also include
`sash/**` and `vz/**` so the existing check/clippy/test/build
matrix runs on Vz-backend working branches. PR-to-main trigger
unchanged. Modification is two new branch patterns; no job
semantics changed.
• .github/workflows/linux-untouched.yml — new dedicated workflow
that runs scripts/check-linux-untouched.sh against the Phase 0
baseline commit (a65dad3). Triggers on push to Vz branches and
on PRs to main. Uses fetch-depth: 0 so `git merge-base` can
resolve against the baseline.
• Local cargo fmt fixes applied to elastos-vz/{config,lib,provider,
vm,tests/smoke}.rs that surfaced when running the same `cargo fmt
--all -- --check` the CI workflow uses. No semantic changes.
Verification (all green on macOS dev host):
• cargo fmt --all -- --check ✅
• cargo clippy --workspace --all-targets ✅ (with -D warnings)
• cargo test -p elastos-vz ✅ 37/37
• Linux-untouched gate vs a65dad3 ✅
Linux behaviour: still byte-equivalent to pre-Vz commit (workflow
changes don't touch source). Mac behaviour: unchanged.
Pending verifications (deferred to first CI run after push):
• Linux build of elastos-vz + workspace
• Linux test pass of elastos-vz + workspace
• Linux-untouched gate run in GitHub Actions context
Caveats #3 (mac-vz-feature-check stub) and #4 (pre-existing
darwin-arm64 setup.rs failures inherited from Pre-Work 9fc4a7e) are
intentionally not addressed here: #3 will be exercised by Phase 2's
Vz API work; #4 is a separate non-blocking fix-up.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments