-
Notifications
You must be signed in to change notification settings - Fork 41
Commit c3f388f
authored
Feat/tesktkit session run (#268)
- Authentication Refactor: Unified all auth methods under BoltConnection, removed protocol-version coupling, and standardized send()->getResponse() flow.
- Connection & Message Factory: BoltMessageFactory now uses the full connection; added state tracking, logging, and proper cleanup for unconsumed results.
- Transaction Handling: BoltUnmanagedTransaction now throws TransactionException; improved commit/rollback guards and clearer error messages.
- Session Management: Added Session::close() to discard unconsumed results; centralized retry logic in TransactionHelper; improved connection tracking and cleanup.
- TransactionHelper: Extracted and unified retry/rollback logic for consistent transaction error handling.
- SummarizedResultFormatter: Unified handling of contains-system-updates vs system-updates for cross-version compatibility.
- Query ID Tracking: Added qid to CypherList for query traceability.
- AbstractRunner: Returns more precise error responses (DriverErrorResponse, TransactionException); simplified result extraction.
- Retryable Messages: RetryablePositive now actually commits; RetryableNegative returns proper client error types.
- Metadata Decoding: All transaction methods now decode CypherMap/CypherList metadata into structured PHP values.
- DriverErrorResponse: Extended to differentiate Neo4jException and TransactionException.
- Socket Timeout: Set 24-hour timeout to ensure persistent connections for long-running sessions.1 parent 5c6e5ab commit c3f388f
File tree
75 files changed
+775
-1693
lines changed- .github/workflows
- src
- Authentication
- Bolt
- Messages
- Common
- Contracts
- Databags
- Exception
- Formatter
- Specialised
- Types
- testkit-backend
- src
- Handlers
- Requests
- Responses
- Types
- tests
- Integration
- Unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
75 files changed
+775
-1693
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | - | ||
72 | - | ||
73 | - | ||
74 | - | ||
75 | - | ||
76 | - | ||
77 | - | ||
78 | - | ||
71 | + | ||
72 | + | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | - | ||
31 | + | ||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | - | ||
56 | + | ||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | - | ||
65 | + | ||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | + | ||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
135 | + | ||
136 | + | ||
137 | + | ||
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
144 | - | ||
145 | - | ||
146 | 148 | | |
147 | 149 | | |
0 commit comments