Skip to content

feat: inmemory state storage support. - #48

Merged
dhakad22klx merged 6 commits into
mainfrom
feat/agent-state
Sep 28, 2026
Merged

dhakad22klx merged 6 commits into
mainfrom
feat/agent-state

Conversation

@dhakad22klx

@dhakad22klx dhakad22klx commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Closes #47
Add a concurrent-safe in-memory agent state store with CRUD operations and TTL expiry, using the same interface as Redis.

  • Select the backend through justsay-config.yml or .env, defaulting to inmemory.
  • Validate HITL_STATE_STORE and retain the store across pauses and approvals.
  • Document configuration and persistence differences.
  • Add tests for storage, concurrency, approval flows, and invalid configuration.

Validation: go test ./... passes; race tests passed for the storage implementation.

@dhakad22klx dhakad22klx self-assigned this Sep 28, 2026

@dhakad22klx dhakad22klx left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@dhakad22klx dhakad22klx left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to merge.

Comment thread agent/state/config_test.go Outdated
@dhakad22klx
dhakad22klx merged commit f08425a into main Sep 28, 2026
2 of 3 checks passed
@dhakad22klx
dhakad22klx deleted the feat/agent-state branch September 28, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: support in-memory agent state storage

1 participant