• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

raystack / frontier / 19495037914
38%
main: 38%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/ui/validator-13.15.26
DEFAULT BRANCH: main
Ran 19 Nov 2025 08:43AM UTC
Jobs 1
Files 316
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2025 08:36AM UTC coverage: 37.603% (-0.01%) from 37.617%
19495037914

Pull #1294

github

whoAbhishekSah
refactor(billing): infer org_id from subscription_id for Get/Update/Cancel/Change RPCs

Major simplification: Get/Update/Cancel/Change subscription RPCs now only need subscription_id.
Both org_id and billing_id are automatically inferred from the subscription.

Changes:
- Add GetOrgIDFromSubscriptionID() helper to infer org from subscription
- Update ensureSubscriptionBelongToOrg() to take only subscription_id
  - Infers org_id from subscription via customer (billing account)
  - Returns inferred org_id for authorization check
- Update authorization interceptors for 4 RPCs to use inferred org_id
- Deprecate org_id parameter in proto definitions for:
  * GetSubscriptionRequest
  * UpdateSubscriptionRequest
  * CancelSubscriptionRequest
  * ChangeSubscriptionRequest
- Regenerate proto files with deprecated org_id fields
- Update Makefile to reference new proton commit

Result: Only subscription_id is required for Get/Update/Cancel/Change operations.
ListSubscriptions still requires org_id (can't infer without specific subscription).

Related proto changes in raystack/proton:
  commit: d90e1c2b7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #1294: refactor(billing): infer billing_id from org_id in subscription RPCs

0 of 50 new or added lines in 3 files covered. (0.0%)

15636 of 41582 relevant lines covered (37.6%)

10.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
0.0
0.0% internal/api/v1beta1connect/v1beta1connect.go
17
15.98
-0.97% internal/api/v1beta1connect/billing_subscription.go
17
0.0
0.0% pkg/server/connect_interceptors/authorization.go
Jobs
ID Job ID Ran Files Coverage
1 19495037914.1 19 Nov 2025 08:43AM UTC 316
37.6
GitHub Action Run
Source Files on build 19495037914
  • Tree
  • List 316
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1294
  • PR Base - main (#19456755801)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc