Repository navigation
Taskfile: drop make-admin step; unique factory emails (sc-1077) - #401
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Demo reset command Taskfile.yml |
The db:reset:demo description changes. The command still runs migrate:fresh --seed and modules:seed --demo, but no longer runs auth:make-admin chef@saucebase.dev. |
Factory email generation database/factories/UserFactory.php |
UserFactory::definition() now builds email addresses from a fake username and a lowercased random 8-character string at @example.com. A comment describes the uniqueness limitation and E2E test usage. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- saucebase-dev/saucebase#376: Both changes address E2E test-account setup and email collisions; this PR changes how the factory generates email suffixes.
Merge Risk: 
Minimal · up to cf484
-
No concrete blocker is established. The demo reset now relies on the separately installed auth module to create the admin account.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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 @coderabbitai help to get the list of available commands.
|



Part of sc-1077
auth:make-adminfrom the Taskfile: the auth demo seeder now makes chef an admin (needs the auth PR).🤖 Generated with Claude Code
Summary by CodeRabbit
example.com, with a username and randomized characters in the address. This changes the format of generated account emails while keeping them suitable for sample and test data.