Skip to content

Initialize the StorageBackend factory at startup (Step 1 of #422) - #424

Merged
em3s merged 1 commit into
mainfrom
feat/issue-422-init-storage-backend
Jul 16, 2026
Merged

em3s merged 1 commit into
mainfrom
feat/issue-422-init-storage-backend

Conversation

@em3s

@em3s em3s commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Step 1 of #422 (unify store-backend acquisition): initialize the URI-addressed StorageBackend factory at startup so it is live and observable before any consumer depends on it. No consumer is wired yet — this is purely additive.

Part of #422.

Changes

  • Graph.create() calls DefaultStorageBackendFactory.initialize(config.hbase) right after DefaultHBaseCluster.initialize(config.hbase). Both read the same hbase config map; the factory init is idempotent, so there is no behavior change.

How to Test

./gradlew :engine:test :server:test — green; spotless clean. Startup now logs the selected backend (Initializing StorageBackend with type: ...).

Note: PerCellTTLTest is a pre-existing time-based flake (passes in isolation, unrelated to this change); if CI hits it, re-run.

AI Assistance

  • This PR was written with AI assistance.
    • Tool / model: Claude Code (Opus 4.8)

Wire DefaultStorageBackendFactory.initialize(config.hbase) alongside
DefaultHBaseCluster.initialize in Graph.create, so the URI-addressed storage
backend factory is live and observable before any consumer depends on it
(Step 1 of #422). Both read the same hbase config map; initialization is
idempotent, so this is purely additive with no behavior change yet.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Jul 16, 2026
@em3s

em3s commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Optimistic

@em3s
em3s merged commit 73a3275 into main Jul 16, 2026
3 checks passed
@em3s
em3s deleted the feat/issue-422-init-storage-backend branch July 16, 2026 08:57
@em3s em3s self-assigned this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant