Repository navigation
Sync upstream vitodeploy/vito 4.x (v4.1.1) - #5
Merged
Merged
Conversation
…oy#1233) * fix: resolve issue vitodeploy#1231 Co-authored-by: 9Insomnie <111763835+9Insomnie@users.noreply.github.com> * fix: pre-commit checks * fix: coderabbit findings --------- Co-authored-by: 9Insomnie <111763835+9Insomnie@users.noreply.github.com>
…d run (vitodeploy#1234) * fix: resolve backup problem where a server has been deleted * fix: code rabbit review
Updated security support table to reflect changes in versions.
…er (vitodeploy#1249) The wait loop used `continue` while the instance was not running yet, skipping both `Sleep::sleep(10)` and the `$maxWait` decrement. An instance that never became active kept the job in a tight loop, hammering the provider API forever. Poll inside the bounded loop instead, and throw `SSHConnectionError` when the server is still unreachable after the timeout, so the job fails and reports installation-failed rather than hanging. The last connection error is carried as the previous exception so a permanent auth or host-key failure is not hidden behind the generic reachability message.
) * [Fix] WebSocket handshake broken by guzzlehttp/psr7 3.x `ServerNegotiator::handshake()` sets the `Sec-WebSocket-Version` header from `getVersionNumber(): int`. guzzlehttp/psr7 3.x rejects non-string header values, so every handshake aborted and no client could connect. Introduce `HandshakeResponse`, a PSR-7 response that stringifies scalar header values, plus a `HandshakeResponseFactory` for the negotiator to use instead of Guzzle's `HttpFactory`. * Cover withAddedHeader and migrate the database for the handshake tests The tests inherit `TestCase` through the `Unit/*/` rule in `tests/Pest.php`, and `TestCase::setUp()` creates a user, so the database has to be migrated. Without `RefreshDatabase` the suite only passed against a database left over from an earlier run; on CI, which starts from an empty file, both tests failed in `setUp()`. Split the scalar-stringification assertion in two so each override is named and covered on its own. `withAddedHeader()` was untested, and it is what Ratchet uses to append `Sec-WebSocket-Extensions` when permessage-deflate is negotiated.
Conflicts resolved in favour of fork changes; upstream project-scope security fix, backup failure isolation and install wait fix adopted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Merges the 10 new upstream commits (v4.1.0 → v4.1.1):
Conflict resolution (fork changes prioritised)
public/build(still gitignored).composer.lock: kept fork's version (upstream dependency bump skipped).RunBackupCommand: kept fork'sstart()scheduling logic, added upstream's per-backup try/catch + failed count.SourceControlPolicy: kept fork'sisAdmin()bypass, added upstream token project scope check.SourceControlController: kept fork's singleEditSourceControlcall (it routes GitHub Apps internally), now passing$projectId.BelongsToProjectOrGlobaltrait with upstream'sHasProjectScopedQueries(superset, samegetByProjectId).?int $projectIdargument.🤖 Generated with Claude Code