You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classroom50 shows an error when checking the GitHub Actions spending cap for an organization whose billing is managed at the GitHub Enterprise level (not at the organization level).
Actual behavior
The "My classrooms" list shows: Couldn't verify the Actions spending cap.
The spending cap setting is displayed as Unreadable.
The "View on GitHub" link points to https://github.com/organizations/<org>/settings/billing/budgets, which does not exist for this organization.
Navigating manually to https://github.com/organizations/<org>/settings/billing/summary shows:
This organization is part of "" and is billed at the enterprise level. For details of your organization's usage and spend, access your enterprise account billing settings.
The actual spending limits are correctly configured in the Enterprise billing settings.
Screenshots
What did you expect to happen?
As confirmed in #463, there is no corrective action an admin can take from classroom50 or from the organization's own billing page when billing is managed at the Enterprise level — the setting simply does not exist there, and classroom50's token cannot read Enterprise billing data. An error message with no possible remediation is not useful and should not be shown by default as an alarming failure.
Suggested fixes, in order of preference:
Treat the specific failure as a reliable signal, not a generic error. Per couldn't verify the Actions spending cap (read failed (400)) #463, the underlying API call fails with a 400 specifically when billing is Enterprise-managed. Classroom50 can catch this specific failure mode (rather than a generic "unreadable" state) and treat it as a known, expected condition instead of an error.
Auto-detect and downgrade/hide the check by default for such organizations: on detecting the Enterprise-billing failure, skip the org-level spending cap check entirely, or replace the alarming error with a neutral, dismissible informational note (matching the maintainer's own description of it as "only an advisory warning").
Fix or remove the dead link. Regardless of the above, "View on GitHub" should not point to a nonexistent .../settings/billing/budgets page for Enterprise-billed orgs. Either omit the link, or point it to the org's billing summary page (which correctly explains the Enterprise billing relationship) or to enterprise-level billing settings if the enterprise slug is determinable.
Manual opt-out fallback, if reliable auto-detection is not feasible: a setting to suppress/dismiss the spending-cap warning for a given classroom/organization.
Steps to reproduce
Open the "My classrooms" list in classroom50 for an organization that is part of a GitHub Enterprise account.
Observe the error message shown on the page.
Open the classroom/organization settings related to the Actions spending cap.
Click "View on GitHub" from that settings page.
Version and environment
actual web clasroom50.org
Classroom 50 diagnostics
Version: 1.52.2 (450e4fa)
Built: 2026-09-18T05:52:21.150Z
Generated: 2026-09-19T05:35:33.409Z
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36
Language: cs-CZ
OAuth scopes: admin:org, read:user, repo, workflow
Org: xxxxxxx — plan: enterprise (supported)
Recent errors: none
Relevant logs or output
Before submitting
I searched existing issues and this is not a duplicate.
I removed any tokens, secrets, or private student data from the logs above.
Which part is affected?
Web app (classroom50.org)
What happened?
Description
Classroom50 shows an error when checking the GitHub Actions spending cap for an organization whose billing is managed at the GitHub Enterprise level (not at the organization level).
Actual behavior
Couldn't verify the Actions spending cap.Unreadable.https://github.com/organizations/<org>/settings/billing/budgets, which does not exist for this organization.https://github.com/organizations/<org>/settings/billing/summaryshows:Screenshots
What did you expect to happen?
As confirmed in #463, there is no corrective action an admin can take from classroom50 or from the organization's own billing page when billing is managed at the Enterprise level — the setting simply does not exist there, and classroom50's token cannot read Enterprise billing data. An error message with no possible remediation is not useful and should not be shown by default as an alarming failure.
Suggested fixes, in order of preference:
.../settings/billing/budgetspage for Enterprise-billed orgs. Either omit the link, or point it to the org's billing summary page (which correctly explains the Enterprise billing relationship) or to enterprise-level billing settings if the enterprise slug is determinable.Steps to reproduce
Version and environment
actual web clasroom50.org
Classroom 50 diagnostics
Version: 1.52.2 (450e4fa)
Built: 2026-09-18T05:52:21.150Z
Generated: 2026-09-19T05:35:33.409Z
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36
Language: cs-CZ
OAuth scopes: admin:org, read:user, repo, workflow
Org: xxxxxxx — plan: enterprise (supported)
Recent errors: none
Relevant logs or output
Before submitting