Skip to content

Conversation

Tharun-PV
Copy link

* Fix issue devrev#14: Add unit tests and coverage

* Add devrev-mcp to dependencies

* Fix TOML syntax for dependencies; add devrev-mcp for MCP integration

* Fix TOML dependencies; add devrev-mcp for MCP integration

* Update imports to use devrev_mcp for PyPI compatibility

* Handle empty and malformed JSON responses gracefully in server.py

* Refactor MCP_TEST_MODE bypass to emit valid JSON-RPC responses for integration tests

* Fix create_work JSON parsing: use safe_json with repr fallback for empty/malformed responses

* Use safe_json in create_work for empty/malformed JSON

* JSONDecodeError handling

* Handle JSONDecodeError for empty and malformed create_work responses

* Update CI workflow to install local devrev-mcp package

* Fix CI coverage by using editable install and removing self-dependency

* Fix CI workflow artifact naming and Codecov reporting
@Tharun-PV Tharun-PV changed the title Fix issue #14: Add unit tests and coverage (#1) Add unit tests and coverage Aug 27, 2025
Tharun-PV and others added 2 commits September 5, 2025 19:55
* Fix issue devrev#14: Add unit tests and coverage

* Add devrev-mcp to dependencies

* Fix TOML syntax for dependencies; add devrev-mcp for MCP integration

* Fix TOML dependencies; add devrev-mcp for MCP integration

* Update imports to use devrev_mcp for PyPI compatibility

* Handle empty and malformed JSON responses gracefully in server.py

* Refactor MCP_TEST_MODE bypass to emit valid JSON-RPC responses for integration tests

* Fix create_work JSON parsing: use safe_json with repr fallback for empty/malformed responses

* Use safe_json in create_work for empty/malformed JSON

* JSONDecodeError handling

* Handle JSONDecodeError for empty and malformed create_work responses

* Update CI workflow to install local devrev-mcp package

* Fix CI coverage by using editable install and removing self-dependency

* Fix CI workflow artifact naming and Codecov reporting

* revised 05/09/2025
@Tharun-PV Tharun-PV marked this pull request as ready for review September 5, 2025 14:31
@Tharun-PV Tharun-PV requested a review from a team as a code owner September 5, 2025 14:31
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.

1 participant