Skip to content

test(server): reproduce user ID reuse and file leakage after unregister - #241

Merged
allenporter merged 1 commit into
mainfrom
reproduce_user_api_test
Sep 8, 2026
Merged

test(server): reproduce user ID reuse and file leakage after unregister#241
allenporter merged 1 commit into
mainfrom
reproduce_user_api_test

Conversation

@allenporter

Copy link
Copy Markdown
Owner

Expands test_user_unregister in tests/server/routes/test_auth.py to test the full lifecycle: creating files, unregistering, creating a subsequent user, and querying files.

Currently documents and tests the existing behavior with a TODO referencing #240 where user ID recycling and file isolation will be resolved.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.91%. Comparing base (ccc1999) to head (a07c37a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #241      +/-   ##
==========================================
- Coverage   90.95%   90.91%   -0.04%     
==========================================
  Files         113      113              
  Lines       11749    11749              
==========================================
- Hits        10686    10682       -4     
- Misses       1063     1067       +4     

☔ 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.

@allenporter
allenporter merged commit 670cd70 into main Sep 8, 2026
4 checks passed
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