Harden Replicated provisioning retries#355
Merged
Merged
Conversation
e66c8fa to
bc164b0
Compare
AnaBerg
commented
Jun 5, 2026
AnaBerg
left a comment
Collaborator
Author
There was a problem hiding this comment.
This PR is scoped to Replicated provisioning reliability, but it also changes AI config selection, external webhook trigger handling, Docker provisioning behavior, script command validation, and a UI title edge case. That broadens the risk and makes review/rollback harder. Please split these unrelated changes into separate PRs or explicitly justify why they are required for issue #271.
This reverts commit bc164b0.
Contributor
|
Reviews (1): Last reviewed commit: "chore: keep replicated PR scoped" | Re-trigger Greptile |
Contributor
|
Reviews (2): Last reviewed commit: "fix: address replicated review comments" | Re-trigger Greptile |
…isioning-reliability # Conflicts: # pkg/hub/server.go
Contributor
|
Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile |
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
Root Cause
Replicated claws could hit transient SSH connection refusal after the bridge bootstrap completed. The previous flow logged warnings for template file and GitHub credential helper failures, then still logged
Bootstrap complete, leaving GitHub issue factory claws with incomplete workspaces or missing credentials.Validation
go test ./pkg/hub -run 'TestRetryReplicatedBootstrapStep|TestReplicatedWorkspaceReadinessCommand|TestShellDoubleQuote|TestRemoteWriteFileCommand|TestBootstrapScript' -count=1go test ./pkg/hubgo test ./pkg/provider/replicated ./pkg/provider/daytona ./pkg/provider/exedevgo test ./...cr --base feat/docker-web-envuntil CodeRabbit reportedNo findings