Repository navigation
Delete the dead SurrealDB DDL generator (SchemaTableManager) - #1609
Conversation
SchemaTableManager generated SurrealDB DDL that the SQLite store cannot execute — the output was computed, threaded through the atomic-create API as _ddl_statements, and silently discarded. Removes the generator, its test file, the _ddl_statements params, and the DDL branches in callers. Schema-node creation/update now goes through the normal create_node/update_node path. Co-Authored-By: Claude <[email protected]>
Code Review SummaryClean, well-scoped deletion. This is a textbook "delete dead weight" PR: All 4 acceptance criteria from #1496 are met:
Verification performed beyond the stated test run:
Test coverage: No new tests added, and that's the right call here. This is a pure branch-collapse of dead/no-op code — the SQLite behavior for schema-node create/update is unchanged (it always ignored the DDL). Existing integration coverage ( FindingsCritical IssuesNone. Suggested ImprovementsNone — this is as clean as a deletion PR gets. NitpicksNone worth noting; the diff is tight and the judgment calls (keeping RecommendationApprove. Net positive with no regressions found: acceptance criteria fully met, no dead code left behind, no dangling references, and the create/update collapse is behavior-preserving (plus a minor correctness gain in execution_context propagation for schema nodes). Safe to merge. |
malibio
left a comment
There was a problem hiding this comment.
Pragmatic code review: RECOMMEND APPROVE (self-approval blocked by GitHub — see full findings in the PR comment above). Net positive dead-code deletion, all acceptance criteria met, no dangling references, create/update collapse is behavior-preserving with a minor correctness gain (execution_context now propagates for schema-node creation).
Closes #1496