Repository navigation
Retry credential fill after transient Git config access failures - #2150
Merged
Tyrie Vella (tyrielv) merged 4 commits intoNov 3, 2026
Merged
Tyrie Vella (tyrielv) merged 4 commits into
Tyrie Vella (tyrielv) merged 4 commits into
Conversation
Retry only complete, empty-output failures that report both a transient file-access warning and Git's config-read failure. Apply the same policy to repository credentials and certificate passwords. Bound the retry count and preserve the remaining process timeout. Report retries and exhaustion without credential data or stderr. Add focused unit tests and real Git config-lock regression tests. Assisted-by: GPT-6.1 Sol Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
Reject additional stderr diagnostics so a helper refusal does not match the config-read retry policy. Name the event for a config-read failure, including non-retryable exhaustion. Align the delay field with the config-read retry schema. Add assertions for infinite timeouts, busy-file errors, CRLF diagnostics, retry metadata fields, and timeout results after a config-read failure. Assisted-by: GPT-6.1 Sol Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
Reject a transient access warning when Git also reports a non-transient config failure. Assisted-by: GPT-6.1 Sol Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
Tyrie Vella (tyrielv)
marked this pull request as ready for review
November 2, 2026 18:56
|
[KeithBot]: Validation
🤖 KeithBot · claude-opus-5.5, gpt-6.1-sol, gemini-4-argon · reply on a thread to dispute |
A successful timed WaitForExit does not wait for redirected stdout and stderr callbacks. Drain those callbacks after Git exits so credential config-read failures and successful credential output reach their callers. Leave the timeout-failure path unchanged. Add a real-Git regression test that pauses an output callback. The timed case fails without the drain, while the infinite-wait case remains valid. Exercise locked-config credential fills with finite and infinite timeouts. Assisted-by: GPT-6.1 Sol Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
|
[KeithBot]: ✅ Resolved · iteration 2 (
Validation
Approving. 🤖 KeithBot · claude-opus-5.5, gpt-6.1-sol, gemini-4-argon · reply on a thread to dispute |
Keith Klein (KeithIsSleeping)
approved these changes
Nov 2, 2026
Nathan Baird (ShiningMassXAcc)
approved these changes
Nov 3, 2026
Nathan Baird (ShiningMassXAcc)
left a comment
Member
There was a problem hiding this comment.
Reviewed the current head: the previous concerns are addressed and current-head validation passed.
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.
Problem and Context
Mount runs credential retrieval and local Git config writes in parallel. On Windows, a config replacement can make a concurrent reader report
Permission denied.git credential fillreads Git config before it returns credentials. VFS for Git treats a transient config-read failure as a credential failure. A mount with a cache server can then continue without the server config.A timed process wait can also return before redirected output callbacks finish. The retry classifier can then miss the config error, or a successful fill can lose its credential output.
PR #2130 retries explicit Git config reads. This change covers
credential fill, which also reads config. It does not depend on #2130.Changes
Permission deniedorDevice or resource busy.CredentialConfigReadFailurefor each matching failed attempt, including exhaustion.WillRetrydistinguishes a retry from the final failure. UseRetryDelayMillisecondsfor the delay.