GetOrganizationsWithPrebuildStatus returns organizations with prebuilds configured and their membership status for the prebuilds system user (org membership, group existence, group membership).
(ctx context.Context, arg GetOrganizationsWithPrebuildStatusParams)
| 555 | // GetOrganizationsWithPrebuildStatus returns organizations with prebuilds configured and their |
| 556 | // membership status for the prebuilds system user (org membership, group existence, group membership). |
| 557 | GetOrganizationsWithPrebuildStatus(ctx context.Context, arg GetOrganizationsWithPrebuildStatusParams) ([]GetOrganizationsWithPrebuildStatusRow, error) |
| 558 | // Returns PR metrics grouped by the model used for each chat. |
| 559 | // Uses two CTEs: pr_costs sums cost for the PR-linked chat and its |
| 560 | // direct children (that lack their own PR), and deduped picks one row |
no outgoing calls