Repository navigation
LCORE-1057: create the parent directory in the A2A SQLite store - #2847
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (23)
🔇 Additional comments (1)
WalkthroughBefore creating a SQLite engine, the storage factory creates the configured database path’s parent directories when the parent is not the current directory. The connection string and engine configuration remain unchanged. ChangesSQLite path setup
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The change creates missing parent directories for configured SQLite file paths before opening the database. No concrete merge-blocking risk is established. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The database location remains controlled by application configuration, not A2A request data. Creating its parent directory does not introduce new caller authority or weaken an existing security boundary. Created directories persist across shutdown and failed initialization. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
🚥 Pre-merge checks | ✅ 7✅ Passed checks (7 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
36fd6bc to
8f19bc3
Compare
Description
SQLight does not create missing parent directories. The A2A message/send request opens /tmp/data/a2a-state.db before that directory exists, which fails GitHub Actions CI with:
(sqlite3.OperationalError) unable to open database file
link : https://github.com/snuryyeva/lightspeed-stack/actions/runs/37062953377/job/111023767535
This PR adds creation of the parent directory when the A2A SQLite store is opened, the same way feedback and transcript storage create theirs.
Type of change
pyproject.toml+uv.lock]requirements.*.txtfor Konflux]Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit