Skip to content

Re-enable LMDB caching tests #414

Description

@kriszyp

They are currently crashing with a segmentation fault. I am not unable to reproduce outside of CI.

Activity

  1. added this to the v5.0 milestone on May 21, 2026
  2. modified the milestones: v5.0, v5.3 on Jul 23, 2026
  3. added theissue type on Aug 7, 2026
  4. kriszyp commented on Sep 16, 2026

    @kriszyp
    MemberAuthor

    Three concrete reproductions from the week of 2026-09-08, in case they help turn this from "cannot reproduce outside CI" into something with a thread to pull. All three were re-fetched on 2026-09-16 and the logs were still retrievable.

    job branch @ commit Node signature
    104087005044 fix/integration-flake-triage @ 21ad982d5 22 Segmentation fault (core dumped), exit 139, no mocha failing block
    104198556436 deps/s3-optional-peer @ 1f524205f 24 identical signature
    104232294559 deps/s3-optional-peer @ dbea34171 22 The action 'Unit tests: lmdb' has timed out after 4 minutes — a hang, not a crash

    Both segfaults land in a 9–20 second gap right after the last test completes, which points at env-close / final-commit rather than any individual test body. No core dump or backtrace was captured, so that is a plausible location, not a proven one.

    If it is the teardown path, the freelist/commit family in #685 and #686 is the obvious suspect — mdb_page_alloc reaching MDB_NOTFOUND via the fork-local me_freelist_start cache, and rejectCommit's unhandled rejection. I want to be clear that I have not established that link; it is a hypothesis worth one targeted run with a core dump enabled, not a conclusion.

    Two constraints on any archaeology here, worth writing down because they are not obvious:

    Severity framing: LMDB is deprecated and RocksDB is the supported engine, so this is CI-maintenance cost rather than product risk — which is probably the right reason to keep it at whatever tier it has rather than escalating it.

    Surfaced by finding-triage from a main-red investigation.

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

    No labels
    No labels

    Type

    Fields

    Priority

    P3

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions