Skip to content

Conversation

@eskp
Copy link
Member

@eskp eskp commented Feb 10, 2026

Summary

  • Adds a pre-flight API validation step that catches auth/credit issues with a clear error message before running claude-code-action
  • Reverts unnecessary AJV workarounds (custom CLI install, custom executable path, show_full_output) -- the root cause was depleted API credits, not an SDK bug
  • Restores workflow_run trigger and original claude_args format

Test plan

  • Verify pre-flight check passes when API key has credits
  • Verify pre-flight check fails with clear message when credits are low

The docs-sync failures were caused by depleted API credits, not the
AJV SDK bug. The cryptic error was only visible with show_full_output.

Add a pre-flight validation step that makes a minimal API call before
running claude-code-action. This catches auth errors, credit issues,
and invalid keys early with a clear error message.

Reverts unnecessary workarounds: custom CLI install, custom executable
path, show_full_output, and ANTHROPIC_MODEL env var.
@eskp eskp merged commit e256aeb into staging Feb 10, 2026
4 checks passed
@eskp eskp deleted the feature/gha-release-and-docs-sync branch February 10, 2026 06:59
@github-actions
Copy link

🧹 PR Environment Cleaned Up

The PR environment has been successfully deleted.

Deleted Resources:

  • 🗑️ Namespace: pr-303
  • 🗑️ Keeperhub Application
  • 🗑️ PostgreSQL Database (including data)
  • 🗑️ LocalStack
  • 🗑️ All associated secrets and configs

All resources have been cleaned up and will no longer incur costs.

@github-actions
Copy link

ℹ️ No PR Environment to Clean Up

No PR environment was found for this PR. This is expected if:

  • The PR never had the deploy-pr-environment label
  • The environment was already cleaned up
  • The deployment never completed successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant