Add GitHub API archive fallback#84
Merged
Merged
Conversation
792928f to
5afb9f8
Compare
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.
Why
GitHub HTTPS bundle sources can fail in agent environments when the default
git clonetransport receives a proxy 403 before repository access is resolved. Skul should keep Git as the default transport while offering a GitHub API archive fallback for working-tree-only bundle materialization.Changes
git cloneas the default remote source transport, withSKUL_GITHUB_TRANSPORT=archiveas an opt-in archive-first mode for GitHub HTTPS sources.fetchGitHub REST API archive transport that usesGH_TOKENbeforeGITHUB_TOKEN, resolves branches, tags, commit SHAs, and default branches, and downloads/repos/{owner}/{repo}/tarball/{ref}without invokingghornode -ehelper scripts.applyruns and git transport clones..git, and use that metadata for inspect, update, and restore flows.