• 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 / 1
38%
main: 38%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/ui/multi-dcb5c27ca1
DEFAULT BRANCH: main
Ran 19 Nov 2025 08:43AM UTC
Files 316
Run time 12s
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.1

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

15636 of 41582 relevant lines covered (37.6%)

10.5 hits per line

Source Files on job 19495037914.1
  • Tree
  • List 316
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19495037914
  • b7dd968d on github
  • Prev Job for on billing_id_simplification_subscription (#19456755801.1)
  • 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