Repository navigation
feat(deployment): implement single-host SSH releases and rollback - #1775
Draft
Soner (shyim) wants to merge 1 commit into
Draft
Soner (shyim) wants to merge 1 commit into
Soner (shyim) wants to merge 1 commit into
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feat/deployment-cachetool-runtime #1775 +/- ##
=====================================================================
+ Coverage 68.46% 68.62% +0.15%
=====================================================================
Files 498 503 +5
Lines 33333 33615 +282
=====================================================================
+ Hits 22823 23069 +246
- Misses 10510 10546 +36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
What changed?
Implement the single-host SSH release lifecycle: checksum-cached uploads, deployment locking, shared paths, Deployment Helper execution, read-only releases, atomic activation, rollback, history and stored logs. Wire in CacheTool and the PHP restart fallback.
The Cobra commands are added later in #1573.
Why?
Review the release state machine and filesystem safety separately from host coordination and CLI interaction.
How was this tested?
Deployment-tagged tests and golangci-lint pass. Tests exercise successful and failed rollouts, cancellation, locking, permissions, retained activation and logs using local PHP/SSH fixtures.
Related issue or discussion
Split from #1573.