Skip to content

test: the internal-tool leak test removes its git repositories through the shared fixture - #1774

Merged
Fmarzochi merged 1 commit into
mainfrom
fix/leak-test-fixture-cleanup
Oct 8, 2026
Merged

Fmarzochi merged 1 commit into
mainfrom
fix/leak-test-fixture-cleanup

Conversation

@Fmarzochi

@Fmarzochi Fmarzochi commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

The eight cases of tests/check-internal-tool-leak.test.js built a temporary git repository each and never removed it, the one git-building test the sweep of #1768 left out (review point on #1773). Every repository is now recorded and removed at the end through removeDirWithRetries from tests/fixtures/remove-dir.js. Test 8 of 8 locally, lint clean.


Summary by cubic

Stops the internal-tool leak test from leaving temporary git repositories behind after each run. Every repo the test builds is now recorded and removed through removeDirWithRetries from tests/fixtures/remove-dir, matching what the other git-building tests already do.

Written for commit 4d3229e. Summary will update on new commits.

View guided diff Turn on auto-fix

…h the shared fixture

The eight cases built a temporary git repository each and never removed it. Every repository is now recorded and removed at the end through removeDirWithRetries, the fixture the other git-building tests use since #1765 and #1768. Review point of #1773.

Signed-off-by: Felipe Marzochi <fmarzochi@gmail.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

View guided diff | Turn on auto-fix | Re-trigger cubic

@Fmarzochi
Fmarzochi merged commit 0806eee into main Oct 8, 2026
41 checks passed
@Fmarzochi
Fmarzochi deleted the fix/leak-test-fixture-cleanup branch October 8, 2026 06:46
@Fmarzochi Fmarzochi moved this to Done in EGC Roadmap Oct 10, 2026
@Fmarzochi Fmarzochi self-assigned this Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant