Skip to content

Add PAT scope foundation: request-context plugin, permission tagging, migrations, and models#7580

Open
cstns wants to merge 5 commits into
mainfrom
7445_scoped-pat-foundations
Open

Add PAT scope foundation: request-context plugin, permission tagging, migrations, and models#7580
cstns wants to merge 5 commits into
mainfrom
7445_scoped-pat-foundations

Add unit tests for `AccessTokenTeamScope` model and scoped PAT behavior

d97d96d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 22, 2026 in 1s

76.96% (+0.01%) compared to fab5b55

View this Pull Request on Codecov

76.96% (+0.01%) compared to fab5b55

Details

Codecov Report

❌ Patch coverage is 90.90909% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.96%. Comparing base (fab5b55) to head (d97d96d).

Files with missing lines Patch % Lines
.../db/migrations/20260622-01-add-pat-scope-fields.js 83.33% 1 Missing ⚠️
...rations/20260622-02-add-access-token-team-scope.js 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7580      +/-   ##
==========================================
+ Coverage   76.95%   76.96%   +0.01%     
==========================================
  Files         410      413       +3     
  Lines       21002    21024      +22     
  Branches     5117     5117              
==========================================
+ Hits        16162    16182      +20     
- Misses       4840     4842       +2     

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