finos / finos/git-proxy

Intermittent Windows CI timeouts in tests that clone from GitHub

Open
#1,580 0 comments 0 reactions 0 assignees View on 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.