Skip to content

Full seed data for new bases - #2899

Merged
pylipp merged 9 commits into
masterfrom
more-camps-orgs-for-seed2
Sep 15, 2026
Merged

pylipp merged 9 commits into
masterfrom
more-camps-orgs-for-seed2

Conversation

@pylipp

@pylipp pylipp commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.20%. Comparing base (d8401fb) to head (1c3db0b).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2899      +/-   ##
==========================================
+ Coverage   74.19%   74.20%   +0.01%     
==========================================
  Files         330      330              
  Lines       25383    25389       +6     
  Branches     2533     2534       +1     
==========================================
+ Hits        18833    18841       +8     
+ Misses       6500     6498       -2     
  Partials       50       50              
Flag Coverage Δ
backend 99.64% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Demo reseeds must use demo-tenant Auth0 role IDs instead of staging IDs.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Expands seed and fake-data generation from four to eight bases, with updated integration-test expectations and Auth0 mappings.

Changes:

  • Adds permissions, groups, roles, and seed data for four bases.
  • Expands fake-data generation and reseeding support.
  • Updates integration-test counts and adds CurrentUser representation.
File summaries
File Summary
back/test/auth0_integration_tests/test_operations.py Updates seeded resource counts.
back/test/auth0_integration_tests/test_cron.py Covers the expanded base set.
back/minimal.sql Adds new base access seed data.
back/boxtribute_server/cron/reseed_db.py Adds Auth0 role mappings. Critical (3 votes): staging role IDs are used where demo role IDs are selected for demo reseeds.
back/boxtribute_server/cron/data_faking.py Expands fake-data generation to eight bases.
back/boxtribute_server/auth.py Adds CurrentUser representation output.
Review details
  • Files reviewed: 6/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +159 to +163
"base_100000002_coordinator": "rol_PfOXCc0AAnhmT4tY",
"base_100000002_external_free_shop_checkout": "rol_K0yifOt6v3FT4mJa",
"base_100000002_free_shop_volunteer": "rol_NbOMIpwf7eacyCh3",
"base_100000002_label_creation": "rol_1eDGSg6Srva6aupa",
"base_100000002_warehouse_volunteer": "rol_CkjUNGslzCy6V9GF",
@pylipp
pylipp merged commit e5358a2 into master Sep 15, 2026
13 of 15 checks passed
@pylipp
pylipp deleted the more-camps-orgs-for-seed2 branch September 15, 2026 08:24
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.

2 participants