Repository navigation
fix: show license purchase guidance when free credits run out - #151
Draft
ivanmilevtues wants to merge 2 commits into
Draft
ivanmilevtues wants to merge 2 commits into
ivanmilevtues wants to merge 2 commits into
Conversation
Contributor
CodeBoarding reviewStatus: 1 changed component See the full change in CodeBoarding. graph LR
n_Action_Workflow_Scripts["Action Workflow Scripts"]
classDef added fill:#1f883d,stroke:#0b5d23,color:#ffffff;
classDef modified fill:#bf8700,stroke:#7d4e00,color:#ffffff;
classDef deleted fill:#cf222e,stroke:#82071e,color:#ffffff,stroke-dasharray:5 3;
class n_Action_Workflow_Scripts modified;
|
ivanmilevtues
force-pushed
the
fix/free-credits-message
branch
from
October 17, 2026 12:42
c786341 to
f4da912
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When core reports exhausted CodeBoarding free credits, show a failure comment and job summary with Buy a CodeBoarding license, the owner-wide weekly allowance, and the
CODEBOARDING_LICENSE/llm: license/license_keysetup instructions. Keep the workflow failed with an actionable annotation.Extend the existing core exit-code handling:
4means CodeBoarding free credits are exhausted, while3retains provider-quota guidance. A run configured withllm: licensegets a license-check hint before suggesting another purchase. Core detects the currently deployed Lambda response; no AWS changes are needed.Build the PR failure body once and reuse it for the sticky comment and review job summary, preserving the guard that prevents overwriting credential-configuration guidance. Sync continues to use its existing failure summary.
Validation: all 262 Action tests passed; pre-commit/Black, actionlint, shellcheck, and diff checks passed. New subprocess tests exit with core's quota codes, exercise the adapter and actual review/sync Markdown builders, and assert the purchase link and configuration. Provider quota failures are tested across credential tiers to ensure they do not produce a CodeBoarding sales message. Workflow wiring tests check that the sticky comment posts that same file. Core's companion PR tests the HTTP boundary with a real model client against the unchanged Lambda response.
Release dependency: this PR is a draft until core #648 is released. Before marking ready, bump
codeboarding==inaction.ymland the matching engine version inscripts/action/supported-providers.jsonto that release. The current 0.15.1 pin intentionally remains valid; do not publish the Action expecting the complete fix until it consumes new core. An Action release must then update the moving v1 tag.Companion PR: core #648. Both use
fix/free-credits-message.