Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.
Adjust setting|
Ran
|
Jobs
1
|
Files
316
|
Run time
1min
|
Badge
README BADGES
|
github
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>
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
| 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 |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 19495037914.1 | 316 |
37.6 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|