Repository navigation
Record safe authentication configuration after credential failures - #2157
Merged
Tyrie Vella (tyrielv) merged 5 commits intoNov 9, 2026
Merged
Tyrie Vella (tyrielv) merged 5 commits into
Tyrie Vella (tyrielv) merged 5 commits into
Conversation
Capture ordered helper configuration, URL scope, and allowlisted authentication preferences after failed repository credential attempts. Omit arbitrary helper commands, arguments, URLs, and secret values from metadata. Serialize fixed helper descriptions and preserve reset order. Keep the captured environment on its invocation result. Replace URL userinfo with fixed identifiers for native matching. Disable diagnostic traces and report unsupported URL forms explicitly. Bound diagnostic queries and throttle repeated snapshots. Add real-Git configuration tests, final-sink serialization tests, and failure-path tests for the snapshot. Assisted-by: GPT-6.1 Sol Co-authored-by: Copilot <[email protected]> Signed-off-by: Tyrie Vella <[email protected]>
Tyrie Vella (tyrielv)
force-pushed
the
tyrielv/auth-config-telemetry
branch
from
November 9, 2026 18:42
d47ff63 to
f9a81d6
Compare
Share the Git config reader and transient retry policy with authentication diagnostics. Keep raw output, privacy controls, and all attempts within the existing deadline. Assisted-by: GPT-6.1 Sol Co-authored-by: Copilot <[email protected]> Signed-off-by: Tyrie Vella <[email protected]>
Add clangarm64/bin to the safe Git installation layouts. Add unit tests for Windows paths and quoted paths with spaces and mixed-case layout names. Assisted-by: GPT-6.1 Sol Co-authored-by: Copilot <[email protected]> Signed-off-by: Tyrie Vella <[email protected]>
Rename GitConfigReader to GitProcessConfigReader to identify its GitProcess scope. Update production and test references without behavior changes. Assisted-by: GPT-6.1 Sol Co-authored-by: Copilot <[email protected]> Signed-off-by: Tyrie Vella <[email protected]>
Tyrie Vella (tyrielv)
marked this pull request as ready for review
November 9, 2026 19:41
|
[KeithBot]: Validation
🤖 KeithBot · claude-opus-5.5, gpt-6.1-sol, gemini-4-argon · reply on a thread to dispute |
…lone Use the credential-fill working directory for authentication diagnostics before clone creates src. Add a regression that checks serialized telemetry with an absent working directory. Assisted-by: GPT-6.1 Sol Co-authored-by: Copilot <[email protected]> Signed-off-by: Tyrie Vella <[email protected]>
|
[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 9, 2026
This was referenced Nov 9, 2026
Merged
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
Failed credential attempts do not record the helper configuration that Git reads. This makes missing, reset, or obsolete helpers difficult to distinguish.
Authentication configuration can depend on the repository URL, configuration scope, and inherited environment. Helper values can also contain secrets or shell commands.
Changes
AuthenticationConfigurationevent after failed repository credential attempts, including successful commands that return no password.GitProcessConfigReader. Use bounded raw output for authentication diagnostics.The snapshot describes configuration after the failure. It does not prove which helper ran or whether GCM used a broker.
GCM registry defaults are outside the snapshot.
Known gaps and deliberate decisions