Skip to content

Updated to preserve potential ID values of `0`

261832c
Select commit
Loading
Failed to load commit list.
Open

Feature: Scoped API Tokens #885

Updated to preserve potential ID values of `0`
261832c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 14, 2026 in 1s

93.52% (+0.32%) compared to a23087b

View this Pull Request on Codecov

93.52% (+0.32%) compared to a23087b

Details

Codecov Report

❌ Patch coverage is 94.78178% with 110 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.52%. Comparing base (a23087b) to head (261832c).

Files with missing lines Patch % Lines
ghostwriter/api/models.py 90.54% 47 Missing ⚠️
ghostwriter/api/views.py 90.09% 42 Missing ⚠️
ghostwriter/api/forms.py 92.50% 9 Missing ⚠️
ghostwriter/api/tests/test_hasura_metadata.py 96.15% 8 Missing ⚠️
...ons/0004_apikey_opaque_tokens_and_user_sessions.py 86.66% 2 Missing ⚠️
ghostwriter/api/tests/test_models.py 99.74% 1 Missing ⚠️
ghostwriter/api/utils.py 97.43% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #885      +/-   ##
==========================================
+ Coverage   93.20%   93.52%   +0.32%     
==========================================
  Files         393      404      +11     
  Lines       25046    27621    +2575     
==========================================
+ Hits        23344    25833    +2489     
- Misses       1702     1788      +86     

☔ View full report in Codecov by Sentry.
📢 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.