feat(tests): add rehydration E2E test suite (FLPATH-3883)#19
Merged
Conversation
813f6e6 to
6bd56a2
Compare
Add comprehensive E2E tests for intent-based rehydration across 9 test files covering happy path, failover, policy/sovereignty, negative cases, data integrity, API contract, CLI, and persistence. Includes multi-provider infrastructure with 3 three-tier-app-demo service provider configs, compose overrides for east/west region testing, and new Makefile targets. Test categories: - Happy path: create → rehydrate → verify UID stable + resource_id changes - Failover: provider down → workload migration → bidirectional failover - Policy: sovereignty constraints, intent/user_values preservation - Negative: 404/424/422 error paths, deleted instance handling - Data integrity: CAS guard (FLPATH-4098), concurrent races, DNS-1035 - API contract: RFC 7807 error response shapes - CLI: dcm catalog instance rehydrate success/failure - Persistence: SPRM restart during deferred cleanup Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Chad Crum <chadcrum@users.noreply.github.com>
6bd56a2 to
795f22a
Compare
Contributor
|
lgtm |
testetson22
approved these changes
Jun 4, 2026
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
test-rehydration,test-rehydration-safe,test-rehydration-cliJira: FLPATH-3883
Test files
rehydration_helpers_test.gorehydration_happy_path_test.gorehydration_failover_test.gorehydration_policy_test.gorehydration_negative_test.gorehydration_data_integrity_test.gorehydration_api_contract_test.gorehydration_cli_test.godcm catalog instance rehydratesuccess + failurerehydration_persistence_test.goE2E results
Test plan
go vet -tags e2e ./...passes cleanmake test-e2e— 39 passed, 0 failed (multi-provider stack with podman)🤖 Generated with Claude Code