Skip to content

test: regression tests for #892, #881, #876#1063

Merged
lmeyerov merged 2 commits intomasterfrom
fix/issues-892-881-876
Apr 5, 2026
Merged

test: regression tests for #892, #881, #876#1063
lmeyerov merged 2 commits intomasterfrom
fix/issues-892-881-876

Conversation

@lmeyerov
Copy link
Copy Markdown
Contributor

@lmeyerov lmeyerov commented Apr 5, 2026

Summary

All three bugs were already fixed in prior PRs. This PR adds regression tests (pandas + cuDF) to lock in the correct behavior and prevent future regressions, then closes the issues.

Validation

  • pandas: 24 passed locally (Python 3.10)
  • cuDF (TEST_CUDF=1): 32/32 passed on dgx-spark (Rapids 26.02)

Closes #892
Closes #881
Closes #876

Test plan

  • python3.10 -m pytest graphistry/tests/compute/test_dataframe_primitives.py graphistry/tests/compute/test_gfql_exceptions.py — 24 passed, 8 skipped (cuDF skipped without TEST_CUDF=1)
  • dgx-spark: TEST_CUDF=1 pytest ... — 32 passed

🤖 Generated with Claude Code

lmeyerov and others added 2 commits April 5, 2026 15:50
All three bugs were resolved in prior PRs; add regression tests to prevent
future regressions:
- #892: safe_merge() must not mutate caller's right DataFrame
- #881: chain hop tag fillna must not emit FutureWarning
- #876: bool label__ column filter must not raise GFQLSchemaError

Closes #892
Closes #881
Closes #876

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds TEST_CUDF=1-gated variants:
- safe_merge: cuDF right DataFrame not mutated (same dtype, mismatched dtype,
  empty float64-inferred right — the original #892 trigger)
- chain hop: no FutureWarning on fillna with cuDF DataFrames (#881)
- bool label__ filter: no GFQLSchemaError with cuDF nodes (#876)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lmeyerov lmeyerov force-pushed the fix/issues-892-881-876 branch from aac745f to 8ff2403 Compare April 5, 2026 22:50
@lmeyerov lmeyerov merged commit 1e02371 into master Apr 5, 2026
101 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant