Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): only show auto balance errors after failed checks #10407

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/10407/headmerged by maria-rcks View on GitHub

maria-rckscommented

Auto balance could show "unavailable" without a failed resource request, including while a successful machine selection was being saved. The label now requires a completed request failure with no selectable machine, and idle host samples are discarded so reopening a draft checks fresh resources.

Verified the false label with two connected environments and no eligible providers, then confirmed the corrected label with identical data and exercised manual selection and return to automatic selection. Inspected dark 1280×800 and light 900×700 layouts; web and client-runtime typechecks, 109 existing routing/toolbar/query-runtime tests, targeted lint (existing warnings), and GitHub CI passed. Two independent code reviewers approved head 21da94405; successful live provider routing remains unverified because these isolated environments have no installed providers. The interaction recording was saved on the remote preview machine and could not be retrieved by the available tools.

Before:

Before: auto balance incorrectly unavailable without a request failure

After:

After: auto balance stays neutral without a request failure

Implemented with gpt-5.6-sol in Codex.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. Approvability

      Verdict: Not approved

      Macroscope's review found this PR not approvable — The visible error-state fix is narrowly scoped, but the PR also changes host-resource query retention from the existing five-minute default to immediate disposal. That runtime default can affect caching and revalidation behavior for automatic environment checks and warrants direct review.

      Not approved because:

      • Monthly spending limit reached (workspace setting). Approvability relies on correctness review in order to determine eligibility
      Review your spending limits in [Billing settings](https://app.macroscope.com/pingdotgg/settings/billing). You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    3. maria-rcks merged this2d6a379

    4. maria-rcks closed this

Sign in to join this conversation.