🧪 Service-backed tests fail loudly instead of skipping when the vector service is required - #74
Open
ebigunso wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The centralized gate consistently covers every former typed skip site, while CI enables strict failure behavior.
Pull request overview
Hardens Qdrant-backed tests so required service failures cannot be silently skipped.
Changes:
- Adds a shared environment-controlled skip-or-panic gate.
- Routes all eight typed Qdrant-unavailable paths through it and removes prose-based timeout skipping.
- Enables strict behavior in service-backed CI.
File summaries
| File | Description |
|---|---|
tests/support/base.rs |
Adds the strict Qdrant availability gate. |
tests/support/mod.rs |
Re-exports the new helper. |
tests/write_planning_tests.rs |
Hardens setup handling and removes timeout-text matching. |
tests/retrieval_guardrails_tests.rs |
Applies strict availability handling to three tests. |
tests/public_facade_tests.rs |
Applies strict availability handling to two tests. |
tests/initialization_tests.rs |
Applies strict availability handling during initialization. |
.github/workflows/pr_validation.yaml |
Requires Qdrant in the integration-test job. |
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ebigunso
force-pushed
the
impl/v0-1-6-w1-task1-live-gates
branch
from
September 3, 2026 20:49
a633b2e to
a39e955
Compare
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
v0.1.6 Wave 1, Task_1 (live-gate hardening), targeting the planning branch per the phase's merge shape.
REQUIRE_QDRANT_TESTS) honoured by the shared test support turns every typed Qdrant-unavailable skip into a panic; all eight former skip sites route through it.Validation
cargo testwith the switch set, 405 passed / 0 failed / 3 pre-existing ignored; collection census 0 before / 0 after; fmt and Clippy-D warningsclean.🤖 Generated with Claude Code