Repository navigation
Remove the dead Datastore abstraction (Step 0 of #422) - #423
Merged
Merged
Conversation
The Datastore/DatastoreBucket/MemoryDatastore family carried no data: its only consumer chain was ActionbaseProvider -> Actionbase -> GraphController.getV3(), which read the class name as a string. Remove it (Step 0 of #422) so the store backend consolidates on StorageBackend/StorageTable. - Delete Datastore, DatastoreBucket, MemoryDatastore, MemoryDatastoreBucket, Actionbase, and ActionbaseProvider. - GraphController drops the Actionbase dependency; getV3() returns a constant. DatastoreDescriptor/DatastoreType (core) and the DatastoreController v3 endpoint are unaffected. The datastore compatibility tests exercise ByteArrayStore/HBase directly (not the deleted classes) and are left in place. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
Author
|
Optimistic |
6 of 8 tasks
Closed
8 of 21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Step 0 of #422 (unify store-backend acquisition): remove the dead
Datastoreabstraction so the store backend can consolidate onStorageBackend/StorageTable.The
Datastore/DatastoreBucket/MemoryDatastorefamily carried no data. Its only consumer chain wasActionbaseProvider→Actionbase→GraphController.getV3(), which merely read the engine class name as a string (MemoryDatastoreBucketitself just wrapped aByteArrayStore).Part of #422.
Changes
Datastore,DatastoreBucket,MemoryDatastore,MemoryDatastoreBucket,Actionbase, andActionbaseProvider.GraphControllerdrops theActionbasedependency;getV3()returns a constant ({"engine": "v3"}).Not touched
DatastoreDescriptor/DatastoreType(core) and theGET /graph/v3/datastoreendpoint (DatastoreController) — they use only the core descriptor, not the deleted engine classes.DatastoreCompatibilityTestand subclasses) — they exerciseByteArrayStoreand raw HBase through a test-onlyStorageOperationsinterface, not the deleted classes, so they keep their coverage.How to Test
./gradlew :engine:test :server:test— all green; spotless clean. No remaining reference to the deleted classes (the surviving "Actionbase" mentions are the product name in comments/logs).AI Assistance