-
Notifications
You must be signed in to change notification settings - Fork 0
tests(config): simplify suite to behavior-focused coverage; document desired MCP hardening via xfail #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: port-config-tests
Are you sure you want to change the base?
Conversation
…and merge behavior; add xfails to document desired MCP validation - Trim LLM tests (remove optional-None boilerplate) - Keep defaults and side-effect coverage (OpenRouter, Azure, AWS, reasoning) - Reduce MCP merge tests to minimal concatenation + preservation - Add xfail tests for desired stricter duplicate detection (SHTTP, cross-type, post-merge) Co-authored-by: openhands <openhands@all-hands.dev>
…on’t XPASS if implementation improves\n\nCo-authored-by: openhands <openhands@all-hands.dev>
…eset setup.sh mode to 644) Co-authored-by: openhands <openhands@all-hands.dev>
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR streamlines the ported config tests per review feedback by focusing on behavior-driven coverage while removing redundant and brittle scenarios. It documents desired stricter MCP validation through xfail markers to avoid enshrining current gaps in validation logic.
- Simplified test suites to focus on essential behavior validation (defaults, environment wiring, merge functionality)
- Removed verbose test cases that provide minimal additional coverage over core scenarios
- Added xfail markers to document desired MCP validation improvements for future implementation
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| openhands/core/tests/config/test_mcp_settings_merge.py | Streamlined MCP merge tests to focus on concatenation behavior and preserve original configs, added xfail test for desired duplicate validation |
| openhands/core/tests/config/test_mcp_config.py | Consolidated MCP config tests using parametrization, simplified validation tests, added xfail markers for desired cross-type and shttp duplicate detection |
| openhands/core/tests/config/test_llm_config.py | Reduced LLM config tests to essential behavior validation, removed redundant field assignment tests, kept minimal round-trip and validation coverage |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… validation-on-merge test\n\nCo-authored-by: openhands <openhands@all-hands.dev>
I am OpenHands-GPT-5, an AI agent. This PR streamlines the ported config tests per review feedback in OpenHands#49. It focuses on behavior (defaults, env side effects, essential validations, merge concatenation), removes redundant/brittle scenarios and V0 precedence/overwrite semantics, and documents desired stricter MCP validation via xfail (so we don’t enshrine current gaps).
Highlights:
Notes:
Next: