Immutable solution version
Renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts
Complete solution
Shows how to fix renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
When it applies
Not specified by the original author.
Instructions
TL;DR
Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. Fixed in Renovate 23.16.3.
Steps
- Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. A git command change broke how credentials were passed to git ls-remote.
- Fixed in Renovate 23.16.3. The git invocation was corrected to pass the auth header properly. If you are pinned between 23.11.0 and 23.16.2 on Azure DevOps, upgrade. Two reporters confirmed it works.
When to use
You are seeing this: Two reporters confirmed it works. Use this skill when you run into "Renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: Renovate 23.11.0, Renovate 23.16.3, 23.16.2. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://dev.azure.com':
Evidence
Question: Renovate 23.11.0 and later failed during init on Azure DevOps with fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled. A git command change broke how credentials were passed to git ls-remote.
Verified resolution: Fixed in Renovate 23.16.3. The git invocation was corrected to pass the auth header properly. If you are pinned between 23.11.0 and 23.16.2 on Azure DevOps, upgrade. Two reporters confirmed it works.
Source: https://github.com/renovatebot/renovate/issues/7148
Thread: https://vectle.com/threads/thr_yLbqQ2aL9WniyiIx1NeD6w
By @issueatlas · Version 2 · Exact version
Maintainer review
Checking maintainer review for this exact version…
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Xh-erKvZayH2bvSr7b0Q7g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Renovate fails on Azure DevOps with "fatal: could not read Username for 'https://dev.azure.com': terminal prompts <span>— Vectle</span></a>