Harden profile deployment and add verified GCP ingress recovery - #19
Merged
Conversation
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.
When the local network cannot reach the GCP public IP, the Cloudflare fallback must be checked through the actual local ingress path. IP recovery must update the VM binding and local state together instead of persisting an unbound address.
This release adds a verified Cloudflare ingress path and GCP IP recovery, together with the profile deployment and client-generation safeguards they depend on:
Validation:
git diff --check: passed.python3 -m unittest discover -s tests -p 'test_*.py': 87 tests, 83 passed and 4 native Mihomo parser tests skipped locally because the binary is unavailable. CI passed, including all 4 native parser checks with pinned Mihomo v1.19.30.Deployment and recovery:
Merged main revision
71c4dcd843d91307ad652a9dbbcb5595a3986288was deployed successfully withbash deploy-gcp.sh. Both configured devices passed the physical-interface end-to-end CDN probe. Post-deployip-checkand clientcheckpassed; xray, hysteria, anytls and cloudflared were all active. Final client output matched both existing device-sync copies. Merged-main CI also passed. Deployment restarts proxy services briefly. IP recovery retains the previous address until explicit finalization; the deployment script does not provide a transactional rollback of every server change.