Test/storage module coverage#1509
Merged
bryanadenhq merged 6 commits intoaden-hive:mainfrom Jan 28, 2026
Merged
Conversation
…lliantkid87/hive into test/storage-module-coverage
bryanadenhq
approved these changes
Jan 28, 2026
Collaborator
|
Hi @brilliantkid87, could you please fix the linter error? Once this is fixed, it looks good to merge. Thanks! |
Contributor
Author
|
hi @bryanadenhq, I will be fix the linter error |
Contributor
Author
|
hi @bryanadenhq, i already fix the linter error |
Collaborator
|
Hi @brilliantkid87, it seems like there is still one more left. Sorry about the inconvenience! |
Contributor
Author
|
hi @bryanadenhq, I will check |
…lliantkid87/hive into test/storage-module-coverage
Contributor
Author
|
hi @bryanadenhq , i already fix. please check it |
Collaborator
|
Hi @brilliantkid87, thanks so much for your contribution! |
Contributor
Author
|
Anytime! Happy to help @bryanadenhq |
jhalak999
pushed a commit
to jhalak999/hive
that referenced
this pull request
Feb 17, 2026
…dule-coverage Test/storage module coverage
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.
Description
Add comprehensive test coverage for the
framework/storage/module (backend.py, concurrent.py), which currently has no dedicated tests despite handling critical functionality for persisting runs and agent state.Type of Change
Related Issues
Fixes #902
Changes Made
core/tests/test_storage.pywith 32 test cases covering:FileStoragebasics: directory creation, path handlingFileStorageCRUD: save, load, delete runs and summariesFileStorageindexing: by goal, status, and nodeFileStoragelist operations: list all runs/goals, statsCacheEntryexpiration logicConcurrentStoragelifecycle: start/stopConcurrentStorageasync CRUD with cachingConcurrentStoragesync API for backward compatibilityConcurrentStoragecache management and statisticsTesting
cd core && pytest tests/test_storage.py -v)cd core && ruff check .)Checklist
Screenshots (if applicable)
N/A - Test-only changes