-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[service-utils] trim project ID prefix #6382
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: acf883f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6382 +/- ##
==========================================
- Coverage 56.83% 56.53% -0.30%
==========================================
Files 1168 1170 +2
Lines 64793 65496 +703
Branches 5258 5310 +52
==========================================
+ Hits 36824 37031 +207
- Misses 27242 27737 +495
- Partials 727 728 +1
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
PR-Codex overview
This PR focuses on updating the
UsageV2Producer
class in theservice-utils
package to trim specific prefixes fromteam_id
andproject_id
fields.Detailed summary
TEAM_ID_PREFIX
andPROJECT_ID_PREFIX
for prefix management.team_id
to remove theteam_
prefix using the new constant.prj_
prefix fromproject_id
if present.