fix(git): check cache before context timeout in getOrCloneRepo by vmaerten · Pull Request #2669 · go-task/task
When fetching remote git taskfiles, the timeout context is shared across the entire operation including user prompt time. This caused timeouts when processing includes after the user accepted the trust prompt, even when the repository was already cloned. By checking the cache before verifying the context, we allow cache hits to succeed regardless of timeout state, since no network access is needed for cached repositories.
marked this pull request as ready for review
vmaerten
deleted the
fix/git-remote-taskfile-timeout
branch
Copilot AI pushed a commit to libor-m/task that referenced this pull request
Mar 27, 2026…sk#2669) Co-authored-by: libor-m <1497769+libor-m@users.noreply.github.com>
Copilot AI pushed a commit to libor-m/task that referenced this pull request
Mar 27, 2026This 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