feat(seeder): add --account-age-days to seed aged individual users - #8201
feat(seeder): add --account-age-days to seed aged individual users#8201nthompson-bitwarden wants to merge 1 commit into
Conversation
Backdate a seeded individual user's CreationDate by N days for account-age-dependent scenarios. Threads a nullable CreationDate from the CLI flag through IndividualUserOptions, the orchestrator, builder, and step into UserSeeder.Create, which applies it only when supplied. RevisionDate and AccountRevisionDate keep their UtcNow defaults.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the new Code Review DetailsNo findings. This is a scoped dev-tooling change with matching test and documentation coverage; it touches no production request paths, vault data, or cryptographic material. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8201 +/- ##
==========================================
- Coverage 68.41% 0 -68.42%
==========================================
Files 2380 0 -2380
Lines 103679 0 -103679
Branches 9386 0 -9386
==========================================
- Hits 70931 0 -70931
+ Misses 30420 0 -30420
+ Partials 2328 0 -2328 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/QA-2310
📔 Objective
Backdate a seeded individual user's CreationDate by N days for account-age-dependent scenarios. Threads a nullable CreationDate from the CLI flag through IndividualUserOptions, the orchestrator, builder, and step into UserSeeder.Create, which applies it only when supplied. RevisionDate and AccountRevisionDate keep their UtcNow defaults.
📸 Screenshots