persistRepoData causes failures after first run #44075
Unanswered
duckblaster
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate CLI
Which platform you running Renovate on?
Azure DevOps
Which version of Renovate are you using?
43.220.0
Please tell us more about your question or problem
When persistRepoData is set to true, the first run completes successfully, but later runs fail as the first run left http.extraheader set in /tmp/renovate/repos/azure/projectname/reponame/.git/config, and subsequent runs don't update it causing it to fail when the original token expires.
Logs (if relevant)
Logs
Full logs at https://gist.github.com/duckblaster/ed857303e55b59666f0449014377dcdd ``` 2026-06-18T02:28:45.4154418Z DEBUG: fetchBranchCommits(): url=https://**redacted**@dev.azure.com/btwnz/BTW/_git/btw-software (repository=BTW/btw-software) 2026-06-18T02:28:45.6415245Z DEBUG: Git function thrown (repository=BTW/btw-software) 2026-06-18T02:28:45.6415455Z "err": { 2026-06-18T02:28:45.6415537Z "task": { 2026-06-18T02:28:45.6415810Z "commands": [ 2026-06-18T02:28:45.6415930Z "ls-remote", 2026-06-18T02:28:45.6416027Z "--heads", 2026-06-18T02:28:45.6416163Z "https://**redacted**@dev.azure.com/btwnz/BTW/_git/btw-software" 2026-06-18T02:28:45.6416251Z ], 2026-06-18T02:28:45.6416336Z "format": "utf-8", 2026-06-18T02:28:45.6416417Z "parser": "[function]" 2026-06-18T02:28:45.6416490Z }, 2026-06-18T02:28:45.6416649Z "message": "fatal: could not read Password for 'https://**redacted**@dev.azure.com': No such device or address\n" 2026-06-18T02:28:45.6416750Z } 2026-06-18T02:28:45.6416912Z Error: fatal: could not read Password for 'https://**redacted**@dev.azure.com': No such device or address 2026-06-18T02:28:45.6417012Z 2026-06-18T02:28:45.6417211Z at Object.action (file:///home/azure-devops-agent/devops-agent/_work/2/s/node_modules/simple-git/src/lib/plugins/error-detection.plugin.ts:42:29) 2026-06-18T02:28:45.6417453Z at PluginStore.exec (file:///home/azure-devops-agent/devops-agent/_work/2/s/node_modules/simple-git/src/lib/plugins/plugin-store.ts:54:29) 2026-06-18T02:28:45.6417681Z at file:///home/azure-devops-agent/devops-agent/_work/2/s/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:123:42 2026-06-18T02:28:45.6417805Z at new Promise () 2026-06-18T02:28:45.6418015Z at GitExecutorChain.handleTaskData (file:///home/azure-devops-agent/devops-agent/_work/2/s/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:120:14) 2026-06-18T02:28:45.6418271Z at GitExecutorChain.attemptRemoteTask (file:///home/azure-devops-agent/devops-agent/_work/2/s/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:96:40) 2026-06-18T02:28:45.6418429Z at processTicksAndRejections (node:internal/process/task_queues:104:5) 2026-06-18T02:28:45.6418819Z at GitExecutorChain.attemptTask (file:///home/azure-devops-agent/devops-agent/_work/2/s/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:61:18) ```Beta Was this translation helpful? Give feedback.
All reactions