Skip to content

feat: add collection and session sqlite configurations#18

Merged
pauldps merged 3 commits intomainfrom
feat-add-sqlite-configs-11847150933469752607
Feb 6, 2026
Merged

feat: add collection and session sqlite configurations#18
pauldps merged 3 commits intomainfrom
feat-add-sqlite-configs-11847150933469752607

Conversation

@pauldps
Copy link
Contributor

@pauldps pauldps commented Feb 6, 2026

This PR adds four new properties to the DpsConfig struct to support SQLite configurations for "collection" and "session" databases, alongside the existing "main" database configuration.

New properties:

  • auth_api_sqlite_collection_file_path (default: data/collection-development.db)
  • auth_api_sqlite_collection_pool_size (default: 1)
  • auth_api_sqlite_session_file_path (default: data/session-development.db)
  • auth_api_sqlite_session_pool_size (default: 1)

Each property has a corresponding getter and setter, and can be configured via environment variables. The README has been updated to reflect these changes. tests have been added to ensure correctness.


PR created automatically by Jules for task 11847150933469752607 started by @pauldps

- Added `auth_api_sqlite_collection_file_path` and `auth_api_sqlite_collection_pool_size`
- Added `auth_api_sqlite_session_file_path` and `auth_api_sqlite_session_pool_size`
- Updated `DpsConfig::new()` to load these from environment variables
- Added getters and setters with appropriate defaults
- Updated README.md with new properties and environment variable examples
- Added unit tests for new properties

Co-authored-by: pauldps <1726774+pauldps@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Co-authored-by: pauldps <1726774+pauldps@users.noreply.github.com>
@pauldps pauldps assigned pauldps and unassigned pauldps Feb 6, 2026
- Added collection and session SQLite configurations
- Updated README.md
- Added tests
- Formatted code with cargo fmt

Co-authored-by: pauldps <1726774+pauldps@users.noreply.github.com>
@pauldps pauldps merged commit 8b719ad into main Feb 6, 2026
3 checks passed
@pauldps pauldps deleted the feat-add-sqlite-configs-11847150933469752607 branch February 6, 2026 03:55
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.

1 participant