A used-up plan no longer turns your pull request red.

1 day ago

A used-up plan no longer turns your pull request red. Until now, an expired token or a spent Claude plan failed the explainer job, and a contributor saw a red check they could do nothing about. In version 1.8.0 the same run passes with one warning and publishes nothing.

Ask about this presentation

Chapters

  1. 0:00A spent plan no longer fails the check
  2. 0:18An expired token leaves a note, a usage limit leaves none
  3. 0:39Only the provider's last answer decides
  4. 1:04Public explainer comments count their views
  5. 1:21Your checks read differently now
  6. 1:42Upgrade without changing your workflow
  7. 1:59A used-up plan no longer fails a pull request's checks
Show transcript
  1. A used-up plan no longer turns your pull request red. Until now, an expired token or a spent Claude plan failed the explainer job, and a contributor saw a red check they could do nothing about. In version 1.8.0 the same run passes with one warning and publishes nothing.

    Slide text
    bisque-cloud/presenter · v1.8.0

    A used-up plan no longer turns your pull request red.

    explainer failed: plan out of usage
    explainer passed 1 warning
  2. The new refused output says which of the two happened. If the provider turned down the key, the run passes and leaves one line on the pull request, naming the secret to replace. If the plan is out of usage, the run passes and leaves no comment at all, because a limit clears on its own. A later step can read the output to tell them apart.

    Slide text

    An expired token leaves a note. A usage limit leaves no comment.

    auth
    The provider refused the key: expired or revoked. One line names the secret to replace.
    limit
    The plan or account is out of quota. No comment, because it clears on its own.
    refused = auth | limit new output in action.yml
  3. Here is how it decides. The key proxy now records the status of every response from the model provider, and never the body, which can quote the key. A 401 or 403 counts as auth. A 402 or 429 counts as limit. When the agent then fails, the action reads the final recorded line. A rate limit the run retried through, followed by a failure for some other reason, still fails the check.

    Slide text

    The run ends green only when the provider's last answer was a refusal.

    action/src/provider-refusal.ts · classifyResponse
    if (status === 401 || status === 403) return "auth";
    if (status === 402 || status === 429) return "limit";
    lastRefusal
    const last = lines.trim().split("\n").pop() ?? "";
    Only the last response counts.
  4. On a public repository, the explainer comment now shows how many times it has been watched. The count sits beside the link as an image that is drawn fresh on each fetch, so it keeps climbing long after the run has finished. Until the first view, it stays blank.

    Slide text

    The comment now shows how many times it was watched.

    Public repositories only. The count keeps going up after the run ends.
    explainer comment on a pull request
    Watch the explainer
    31
    views
    example count
  5. A passing check no longer promises an explainer, so read the refused output when you need to know. Release runs are the exception. A refused key there still fails, because the person who sees that check is the maintainer who can fix it. And any 401 or 403 from the provider counts as a refused key, whatever the cause.

    Slide text

    Your checks read differently now.

    A pass can mean no explainer.
    Read the refused output when you need to know.
    Releases still fail.
    A refused key on a release run still fails, so the maintainer sees it.
    Any 401 or 403 reads as auth.
    The provider's last answer decides, whatever the cause.
  6. The release adds an output and changes no inputs, so pointing your workflow at version 1.8.0 is the whole upgrade. If a run warns about auth, replace the secret the note names and re-run the job. If it warns about a limit, re-run once the limit resets.

    Slide text

    Upgrading needs no change to your workflow.

    uses: bisque-cloud/presenter@v1.8.0
    The warning says auth
    Replace the secret the note names, then re-run the job.
    The warning says limit
    Re-run the job once the limit resets.
  7. That is version 1.8.0. A used-up plan no longer fails a pull request's checks. The one reason to hold off is a workflow that depends on a red check to tell you a key expired. For an expired key the check now passes, and the note on the pull request is where you find out. The full release notes are on the project's releases page.

    Slide text

    A used-up plan no longer fails a pull request's checks.

    Wait if you rely on a red check to tell you a key expired.
    github.com/bisque-cloud/presenter/releases/tag/v1.8.0

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built in New York with ❤️