Skip to content

flaky: probe_clojure_imports_edge intermittently fails on Windows (0 imports) #850

Open

Description

@DeusData

Observed on #840's Windows CI leg (2026-07-04): probe_clojure_imports_edge (tests/test_grammar_probe_a.c:434, ASSERT(m.imports >= 1)) failed with 0 extracted imports on windows-latest CLANG64, while all POSIX legs passed and 13 PRs merged through the same Windows gate today. The test's own comment marks it expected RED yet it normally passes — so Clojure :require IMPORTS extraction is nondeterministic, most likely an uninitialized-read / UB in the vendored Clojure tree-sitter external scanner that ASan surfaces occasionally on Windows.

Reproduce-first target: run the clojure grammar probe under ASan in a loop (or valgrind on Linux) to catch the uninitialized read in internal/cbm/vendored/grammars/clojure/scanner.c; fix the scanner (root cause) rather than loosening the probe. Until then it is a known intermittent — a Windows rerun clears it. Unrelated to #840 (TS/JS-only diff).

Activity

  1. added
    bugSomething isn't working
    parsing/qualityGraph extraction bugs, false positives, missing edges
    windowsWindows-specific issues
    priority/normalStandard review queue; useful PR with ordinary maintainer urgency.
    on Jul 4, 2026
  2. DeusData commented on Jul 8, 2026

    @DeusData
    OwnerAuthor

    Thanks for capturing this CI flake with a concrete suspect. Triage: Windows parsing flake, normal priority for now because reruns clear it, but the fix should target the Clojure scanner/UB root cause rather than weakening the probe. This does not look like something v0.9.0 explicitly fixed, so keeping it open for a targeted sanitizer reproduction.

  3. added this to the 0.9.1-rc milestone on Jul 8, 2026
  4. added
    priority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.
    and removed
    priority/normalStandard review queue; useful PR with ordinary maintainer urgency.
    on Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.windowsWindows-specific issues

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions