Add unit test coverage for deploy, cleanup, validate retry, and git-history regression tests#4804
Draft
Venu-p1 wants to merge 3 commits into
Draft
Add unit test coverage for deploy, cleanup, validate retry, and git-history regression tests#4804Venu-p1 wants to merge 3 commits into
Venu-p1 wants to merge 3 commits into
Conversation
…istory regression tests Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
dd8b6bd to
8c10a3e
Compare
…gracefully - Remove client_id tests from test_generate_input_files_command.py since the client_id field was reverted from the command DTO source - Relocated catalog tests from source dir to tests dir. - Make SQL repository integration tests skip cleanly when no live PostgreSQL is reachable, instead of erroring on a missing/polluted postgresql dialect Signed-off-by: venu 236371043+Venu-p1@users.noreply.github.com
8c10a3e to
9b8fc62
Compare
Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
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.
Closes coverage gaps across core domains, API routes, and orchestrator logic.
Adds regression tests for bug fixes
What changed
tests/unit/core/deploy/— 19 tests for entities, services, exceptionstests/unit/core/cleanup/— 20 tests for exceptions, S3 service interfacetests/unit/core/catalog/test_adapter.py— 5 tests for K8S optional configtests/unit/core/catalog/test_extract_bundle_name.py— 9 tests for versioned filename parsingtest_validate_use_case.py— 8 tests for retry lifecycle, guard edge casesapi/deploy/test_routes.py— 4 tests for missing error handlers (400/412/500)api/local_repo/test_routes.py— 3 tests for StageAlreadyCompleted, upstream, terminal statetest_result_poller.py— 4 tests for deploy/restart failure → ImageGroup FAILEDTest results: 1247 passed, 0 failed, 12 errors (pre-existing: no PostgreSQL dialect)