Skip to content

Cross-language refusal tests read two different env var spellings: CLDK_TEST_PYTHON_NEO4J_URI vs CLDK_TEST_NEO4J_PYTHON_URI #362

Description

@rahlk

Problem

The same concept — "a live graph of another language, to prove this backend refuses it" — is spelled two ways:

suite variable
tests/analysis/java/test_java_schema_probe.py CLDK_TEST_PYTHON_NEO4J_URI / _USER / _PASSWORD
tests/analysis/typescript/test_typescript_refuses_python_graph_live.py CLDK_TEST_NEO4J_PYTHON_URI / _USER / _PASSWORD

PYTHON_NEO4J in one, NEO4J_PYTHON in the other. Setting the wrong one is silent: the module skips, and a skip reads as a pass.

Why it matters more than a papercut

Found by running the Java suite with what I believed was every gate satisfied, seeing two skips remain, and only then noticing the transposition. The whole point of #360 was that a silently skipped module hid five legs of rot; a variable name that is nearly right is the same failure mode in miniature.

Scope boundary

In scope: one spelling, both suites, and the skip reason quoting the variable it actually reads.

Out of scope: the CLDK_TEST_NEO4J_* (read-only) and CLDK_TEST_NEO4J_WRITE_* (disposable) families, which are consistent and whose separation is deliberate (#324).

Goals

Definition of done

  • Setting one documented set of variables satisfies the cross-language refusal gate in every suite that has one.

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions