Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds user management functionality to the Aegis Stack project template, enabling developers to quickly create test users during development. The changes introduce CLI commands for creating single or multiple test users with auto-generated emails and passwords, along with supporting utilities.
Key changes:
- Added CLI commands for creating test users (
create-test-user,create-test-users,list-users) - Extended UserService with methods for listing users and finding existing emails
- Updated Makefile to use proper alembic configuration paths
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| user_service.py | Added list_users() and find_existing_emails_with_prefix() methods to support user management |
| database_init.py.j2 | Reformatted log messages for better readability |
| auth.py | Template placeholder file for conditional auth CLI inclusion |
| main.py.j2 | Added conditional registration of auth CLI commands |
| auth.py.j2 | Full CLI implementation with user creation, bulk creation, and listing commands |
| Makefile | Updated alembic commands to use proper configuration file path |
| AGENTS.md | Reformatted documentation guidelines for better clarity |
567ce08 to
ec99344
Compare
6 tasks
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.
Added a bunch of utilities for quick development with creating fake users, and more to the
Makefileof the generated stack.