feat: include public GitHub submodules in shared repositories (#914)

* feat: include public GitHub submodules in shared repositories

* fix: preserve submodule access across token and document contexts
This commit is contained in:
Thomas Durieux authored and GitHub committed 2026-11-02 09:00:02 +01:00
1 parent 6099356e0e
commit d0b217a448
17 files changed
+617 -87

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ describe("ZIP proxy failures", function () {
utils.getUser = async () => { throw new Error("anonymous"); };
utils.getRepo = async () => ({ repoId: "test", options: {},
model: { source: { repositoryName: "owner/repo", commit: "abc" } },
countView: async () => {}, getToken: async () => "",
countView: async () => {}, submoduleMounts: async () => [], getToken: async () => "",
generateAnonymizeTransformer: () => ({ opt: {} }),
});
upstream = new PassThrough();