Repository navigation
ci,config(fix): Harden smoke test and VCS matrix - #588
Merged
Merged
Conversation
tony
force-pushed
the
fix/ci-smoke-and-config-fixes
branch
from
November 28, 2026 17:46
5d94ce1 to
25edcfc
Compare
This was referenced Nov 28, 2026
why: Source overrides and lockfile revisions must reach the installed wheel smoke test without adding development dependencies. what: Run the smoke script through an isolated, noneditable uv runtime environment. Keep CI, the explicit pytest wrapper, and contributor instructions on the same locked dependency set.
why: Missing Subversion silently skipped native sync and recovery inspection cases. what: - Install and verify native VCS prerequisites. - Select and assert the matrix interpreter with a frozen lock. - Report reasons for skipped tests.
why: The deprecation warning for top-level `rev`/`shallow`/`depth` listed each entry as the workspace key glued to the repo name. A key written without a trailing slash, such as `~/code`, printed `~/codeflask`, which is neither a path nor an entry name. what: - Quote the workspace root and repo name and join them with ` -> `, matching how config load errors name an entry - Test a workspace key without a trailing slash
why: Fetching configured remotes exposed shared checkout paths across parametrized cases and external SSH network access in sync fixtures. what: - Use isolated per-test checkout roots in write_config_remote - Use local unprefixed remote URLs in CONFIG_VARIATION_FIXTURES
tony
force-pushed
the
fix/ci-smoke-and-config-fixes
branch
from
November 28, 2026 17:52
25edcfc to
9f4f5cd
Compare
This was referenced Nov 28, 2026
why: String-matching caplog.text skips the structured vcspull_legacy_count attribute emitted by load_configs(). what: - Filter caplog.records by vcspull_legacy_count and assert the formatted separator on getMessage()
tony
force-pushed
the
fix/ci-smoke-and-config-fixes
branch
from
November 28, 2026 20:54
9f4f5cd to
06983c0
Compare
This was referenced Nov 29, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uv.lockpackages.UV_PYTHONto the matrix interpreter with--frozendependency sync.test_config_variationscheckouts per parametrized test directory.Targets released
libvcs0.46.0 on PyPI without a git source override so CI and packaging hardening can merge independently.Before / After
Before (workspace key without trailing slash):
After:
Stack
fix/ci-smoke-and-config-fixes(this PR)feat/config-v2-targets-and-gitfeat/status-and-sync-policyoptions-streamline-and-git-filteringTest plan
test_config_variationscheckouts and structuredcaplog.recordslegacy-key warning formatting:$ uv run py.test tests/test_sync.pyvcspullmodule and runs--helpacross all subcommands using only locked runtime dependencies:$ uv run py.test -m scripts__runtime_dep_smoketest scripts/test_runtime_dep_smoketest.pyruff check .,ruff format . --check, andmypy .in CI with Git, Mercurial, and Subversion installedRefs #460, #587.