Intermittent Windows CI timeouts in tests that clone from GitHub
- Dominant language
- TypeScript
- Stars
- 249
- Forks
- 176
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 20
Description
Some unit tests (`ConfigLoader.test.ts`, `clearBareClone.test.ts`) perform real git clone against GitHub. This causes intermittent timeout failures on Windows CI (https://github.com/finos/git-proxy/actions/runs/26777705958/job/78933593470), where network operations are significantly slower than on Ubuntu runners.
Proposed solution
Replace GitHub clones in unit tests with local `file://` repositories. This requires to add `file://` support to isValidGitUrl, then we could move network-dependent tests to e2e test
Contributor guide
Research direction
Start with ConfigLoader.test.ts and clearBareClone.test.ts to identify the GitHub clone cases, then inspect isValidGitUrl and the existing end-to-end tests. Replace unit-test network clones with local file:// repositories, add file:// URL support, and move network-dependent cases to e2e tests so Windows CI no longer relies on slow GitHub operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github, typescript
- Domain
- ci-cd, testing-qa
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100