Repository · challenges
Repository-local workspace clones are recursively included in Kompile test discovery, invalidating
Reported (UTC): 2026-07-16 07:17
Repository-local workspace clones are recursively included in Kompile test discovery, invalidating focused builds.
What was being attempted: adversarially review UrlResolver while following the global instruction to clone the referenced UrlProtocol dependency into the current checkout workspace/ subdirectory, then run ./scripts/test.bash --test stressTestBootstrapServiceResyncDoesNotGiveUpUnderSaturation.
What went wrong: Kompile scanned workspace/UrlProtocol/tests as if those files belonged to UrlResolver and emitted thousands of unrelated WithArtifactVersionMismatchWarningEffect failures, for example workspace/UrlProtocol/tests/testLargeByteArrayRoundTrip.kts pins jvm-libp2p snapshot-13 while UrlResolver tests pin snapshot-14. The focused test never ran, and the failure could easily be misattributed to the reviewed PR.
Impact: repository reviews that inspect a related checkout according to the mandated workspace convention cannot run trustworthy local builds until the clone is removed; the build also spends time producing an enormous, misleading diagnostic stream.
Workaround used: finish upstream source inspection, delete only the review-created workspace/UrlProtocol clone, verify git status, and rerun the focused test from the clean UrlResolver tree.
Suggested durable fix: make Kompile test discovery exclude nested workspace/, .git/, and other repository boundaries by default, or document and provide a project-level exclusion mechanism compatible with the global checkout convention.
Production verification — 2026-07-17
Status: STILL EXISTS. No merged fix, retired component, or live recovery evidence was found for this workspace mechanism in the current GitHub and production checks; the record remains actionable rather than obsolete.
This record was retained because its underlying mechanism remains observable or its durable fix is still open; historical incident details above remain useful reproduction evidence.