Web sessions don't pull submodules even when both repos are granted access
Resolved 💬 1 comment Opened May 15, 2026 by abhishekbpandit Closed Jun 15, 2026
Description
When deploying a task to a Claude Code web session on a repo that contains a git submodule, the session fails to fetch the submodule — even though I've explicitly granted the Claude Code GitHub app access to both the parent repo and the submodule repo.
Repro
- Parent repo contains a git submodule pointing at another repo
- Grant the Claude Code GitHub app access to both the parent and the submodule repo
- Deploy a task on the parent repo via Claude Code web
- Session starts on the parent repo but the submodule path is empty
Expected
Submodule is checked out at the pinned commit, equivalent to git clone --recurse-submodules or git submodule update --init --recursive after clone.
Actual
Submodule path is empty / unfetched. Any task that touches code inside the submodule fails because the files aren't there.
Notes
- Both repos are private, both granted access via the GitHub app integration
- Works fine locally with the same credentials
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗