feat(bdd-db-state-mgmt): Create a helper function and a hook to capture database state - BED-9631 - #134
Conversation
database state. Resolves: BED-9631
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (4)
Included review availability: 4 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. WalkthroughThe BDD harness now matches query rows without regard to order, preserves multiple columns, formats relationships, resets state between scenarios, and detects node or relationship count changes after queries. ChangesGraph query matching
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to This updates BDD query matching and graph-state checks without an identified merge-blocking production risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 26.32% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 19 functions across 3 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
A rabbit sorts rows left and right, Comment |
| return builder.String() | ||
| } | ||
|
|
||
| // noSideEffects verifies that the query did not change graph node or relationship counts. |
There was a problem hiding this comment.
question: It looks like TCK checks properties and labels in addition to nodes and relationships as described here. Is there some sort of limitation we are running into for fully implementing no side effects or is this something we plan to add with a different changeset?
There was a problem hiding this comment.
@urangel It’s a placeholder for now. We plan to add a changeset with scenarios for creating relationships that capture the side effects.
There was a problem hiding this comment.
Okay sounds good as long as we are tracking that somewhere. Otherwise some tck tests might give false positives.
Description
Tasks:
Resolves: BED-9631
Type of Change
Testing
make test_allwithCONNECTION_STRINGset)Screenshots (if appropriate):
Driver Impact
drivers/pg)drivers/neo4j)Checklist
go.mod/go.sumare up to date if dependencies changedSummary by CodeRabbit
Bug Fixes
Tests