Skip to content

TestIntegration_LazyPushNeverDeletes fails: validateIdentity rejects an empty GraphRows #60

Backlog

Description

@rahlk

The live Bolt integration test TestIntegration_LazyPushNeverDeletes fails on the current main branch. The failure does not depend on the fix for #59.

To reproduce

NEO4J_TEST_URI=bolt://127.0.0.1:7687 NEO4J_TEST_PASS=cango-pass go test -tags neo4j_it ./internal/neo4j -run LazyPushNeverDeletes -v

Result

bolt_integration_test.go:86: lazy empty push: missing application anchor
--- FAIL: TestIntegration_LazyPushNeverDeletes

Cause

The test pushes an empty GraphRows{} to make sure that a lazy push deletes nothing. WriteBolt calls validateIdentity first, and validateIdentity now requires an application row. The test does not get to the delete check.

Possible fixes

  • Push a row set that contains only the application node. That push still deletes nothing, and it passes validateIdentity.
  • Or make validateIdentity accept an empty row set as a no-op push.

The neo4j_it build tag excludes this test from CI, so the failure was not seen.

Activity

  1. added
    bug
    on Nov 24, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions