Repository navigation
feat: clone artifact - #12
Merged
Merged
Conversation
Materializes the tree at a git ref for repositories whose provider hands out no archive URLs. Mirrors the orchestrator's new clone type: shallow, single-ref, tagless, credentials on a header rather than the URL. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Greptile SummaryAdds SDK support for serializing the orchestrator's clone artifact type.
Confidence Score: 5/5The PR appears safe to merge, with no concrete defects identified in the new clone artifact serialization path. The class is PSR-4 discoverable, satisfies the generic Artifact interface, follows sibling serialization conventions, and is exercised through the job payload path without requiring additional enum dispatch updates. Important Files Changed
Reviews (1): Last reviewed commit: "feat: clone artifact" | Re-trigger Greptile |
Meldiron
added a commit
to appwrite/appwrite
that referenced
this pull request
Aug 19, 2026
Deployments::createFromVcs() owns the choice every call site used to spell out: providers with archive downloads keep handing the sidecar a presigned tarball URL, and a provider without them (the upcoming Origin) is cloned by the sidecar itself over Git HTTPS, through the orchestrator's new clone artifact. Credentials ride a header via the adapter's new clone surface, never the URL. Depends on open-runtimes/orchestrator (clone artifact), open-runtimes/sdk-for-php#12 and utopia-php/vcs#135; composer pins the two library branches until they are tagged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
loks0n
approved these changes
Aug 19, 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.
What does this PR do?
Adds
CloneArtifactand theclonecase onArtifactType, mirroring the orchestrator's new clone artifact type (open-runtimes/orchestrator#70): it materializes the tree at a git ref for repositories whose provider hands out no archive URLs, where adownload+unarchivechain has nothing to fetch.Fields mirror the wire contract:
in(repository URL, no credentials — auth ridesheaders),out, optionalref(branch, tag, or full commit hash), optionalsubdir,depends,timeoutSeconds,headers.First consumer: Appwrite's VCS deployments for the upcoming Origin (Cursor) provider, which serves content over Git HTTPS only.
Test Plan
JobsTestextended with a clone artifact in the full job-payload serialization assertion.🤖 Generated with Claude Code