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.
This pull request introduces several updates focused on improving test coverage, refining semantic-release configuration validation, and ensuring proper handling of provider settings and API keys. The changes enhance regression and integration tests, update dependency versions, and add/adjust mock implementations for provider methods.
Semantic-release configuration and regression testing:
tests/regression_test_versioning.pyto focus on validating semantic-release configuration, required plugins, branch setup, and semantic versioning format inpyproject.tomlandpackage.json. Previous unit tests forVersionManagerwere removed in favor of regression tests that verify project-level release configuration.Provider and API key handling in tests:
.envfiles usingdotenv, and skip tests if the required environment variable is not set. This ensures reliability of tests that require external API access.@requires_api_keydecorator to relevant integration tests intests/integration_test_openai.pyto enforce API key presence. [1] [2] [3]Mock implementations and test coverage:
hatchling_to_llm_tool_callandhatchling_to_provider_tool_resultto provider test classes in both feature and registry tests, improving test coverage for provider tool call/result conversion logic. [1] [2] [3]Dependency and workflow updates:
hatchdependency inpyproject.tomlto use a stable release version (v0.5.1) instead of a feature branch.Minor test and import cleanups: