Skip to content

Flaky JSONL lineage conformance failure under full race suite #2017

Closed

Description

@jbeda

Failure

task test:race on the locally rebased PR #2013 candidate (base ce948582151971c7128fef13d29c90078ddd9f1c) intermittently failed in the new adapters module:

--- FAIL: TestJSONLStoreLineageConformance (0.30s)
    conformance_test.go:34: read: jsonlstore: lineage partition is incomplete
FAIL github.com/stacklok/mecatl/adapters/jsonlstore

This occurred during the full race suite while other module tests were running. The PR changes no adapters/jsonlstore production or test code; the package was introduced on the base branch.

Control

cd adapters && go test -race ./jsonlstore -run '^TestJSONLStoreLineageConformance$' -count=1 passed on the same rebased candidate. It has not reproduced in isolation. Full task test:race also fails independently on standalone module resolution; that error is tracked separately.

Expected

The JSONL lineage conformance suite should be deterministic under -race and aggregate module concurrency. Investigate the test's partition setup and read/commit synchronization at adapters/jsonlstore/conformance_test.go:34; avoid making the assertion weaker without identifying the incomplete partition's cause.

Relates to #2013

Activity

  1. added
    flake
    on Sep 30, 2026
  2. jbeda commented on Oct 1, 2026

    @jbeda
    ContributorAuthor

    Fixed by merged PR #2033. The JSONL adapter now has deterministic coverage for fail-closed reads during partition publication and successful reads after save completion; the standalone published-engine conformance compatibility seam is also covered.

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

    flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions