Skip to content

fix(build): split windows git-log retry from #1367#1370

Open
lamplis wants to merge 2 commits intotcgdex:masterfrom
lamplis:pr/u-loadlastedits-windows-retry
Open

fix(build): split windows git-log retry from #1367#1370
lamplis wants to merge 2 commits intotcgdex:masterfrom
lamplis:pr/u-loadlastedits-windows-retry

Conversation

@lamplis
Copy link
Copy Markdown
Contributor

@lamplis lamplis commented Apr 11, 2026

Summary

  • move the Windows git log retry/backoff logic into a standalone compiler-only PR
  • keep the change scoped to server/compiler/utils/util.ts (loadLastEdits)
  • reduce win32 concurrency and keep retry diagnostics for files that still fail

Test plan

  • cd server && bun run compile
  • bun run validate
  • cd server && bun run --bun validate
  • cd .bruno && bru run --env Developpement

Transient exec() failures on Windows CI cause missing lastEdit entries,
which can destabilize the compile pipeline. Add exponential backoff
retry (3 attempts), reduce Windows concurrency from 10 to 5, and
log the count of files that still fail after retries.
@Aviortheking
Copy link
Copy Markdown
Member

What does this fix ?
The files currently failing on windows are the same as the ones on the others OSs

@lamplis
Copy link
Copy Markdown
Contributor Author

lamplis commented Apr 14, 2026

What does this fix ? The files currently failing on windows are the same as the ones on the others OSs

From time to time, the github build fails and I have to re trigger a build.
I had the problem 2 times in a row then I proposed this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants