Skip to content

feat: add deployment smoke test selection - #797

Draft
bschwedler wants to merge 3 commits into
mainfrom
feat/smoke-mode
Draft

bschwedler wants to merge 3 commits into
mainfrom
feat/smoke-mode

Conversation

@bschwedler

Copy link
Copy Markdown
Contributor

Add a positive smoke selection for lightweight deployment checks without selecting scenarios that require seeded product state. Expose it through vip verify --smoke, composing with category and basic-mode filters.

Provide a positive smoke-test selection for cheap deployment checks instead of relying on brittle test-name filters. Tag health, version, and Package Manager homepage scenarios so workflows can run the repository-free basics without provisioning package repositories.
The text-encoding selftest requires write_text() calls to pass
encoding="utf-8" so tests behave the same on Windows. The new
--smoke selftests omitted it and failed that check.
Copilot AI balanced review requested due to automatic review settings October 22, 2026 17:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Credential preflight and authenticated fixture dependencies still block public smoke checks on URL-only deployments.

1 open issue
What changed in this PR

Adds an explicit smoke-test selection to VIP for lightweight deployment checks, separate from the broader --basic scope.

Changes:

  • Adds vip verify --smoke, composing with category and basic-mode filters.
  • Tags component reachability, product-version, and Package Manager homepage checks as smoke scenarios.
  • Documents the smoke scope and adds CLI selection tests.
File Description
src/​vip/​plugin/​configure.py Registers the smoke marker in the installed plugin.
src/​vip/​cli/​verify.py Builds smoke marker expressions with existing filters.
src/​vip/​cli/​app.py Exposes the --smoke option.
src/​vip_tests/​prerequisites/​test_versions.feature Tags version checks as smoke scenarios.
src/​vip_tests/​prerequisites/​test_components.feature Tags reachability checks as smoke scenarios.
src/​vip_tests/​package_manager/​test_ui.feature Tags the homepage rendering scenario as smoke.
selftests/​test_cli_verify.py Tests smoke selection and filter composition.
pyproject.toml Registers the smoke marker for repository test runs.
docs/​test-architecture.md Defines smoke selection and its intended scope.

Review effort: Balanced

Comment thread src/vip/cli/verify.py
Comment on lines +512 to +513
if getattr(args, "smoke", False):
marker_expr = "smoke"
@github-actions

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
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.

3 participants