fix: address usage limits and merge settlement regressions #9784
Mergedmaria-rcksmerged 3 commits into
main fromrefs/pull/9784/headmerged by maria-rcks View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
- apps/web/src/components/usage/UsagePage.tsx line 86OutdatedResolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -59,0 +66,21 @@66+ !enabled67+ ? []68+ : [...get(environmentPresentations.presentationsAtom)]69+ .filter(([environmentId, presentation]) => {70+ if (71+ presentation.connection.phase !== "connected" ||72+ presentation.serverConfig === null73+ ) {74+ return false;75+ }76+ const session = Option.getOrNull(77+ AsyncResult.value(get(environmentSession.sessionStateAtom(environmentId))),78+ );79+ return (80+ session?.authenticated === true &&81+ (session.scopes === undefined || session.scopes.includes("orchestration:operate"))82+ );83+ })84+ .map(([environmentId]) => environmentId),85+ ),86+);
maria-rcks merged this98a29cb
maria-rcks closed this
Sign in to join this conversation.




cursor[bot](GitHub profile, opens in a new tab) reviewed
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.