Skip to content

fix: remove --json-schema from Claude review action to prevent hanging#56

Merged
enginerd-kr merged 3 commits into
mainfrom
fix/claude-review-remove-json-schema
Apr 4, 2026
Merged

fix: remove --json-schema from Claude review action to prevent hanging#56
enginerd-kr merged 3 commits into
mainfrom
fix/claude-review-remove-json-schema

Conversation

@enginerd-kr

Copy link
Copy Markdown
Owner

Summary

  • Remove --json-schema from claude_args which caused the Claude review CI step to hang indefinitely
  • Remove Debug structured output step (no longer needed without structured output)
  • Add prompt-based label output format (LABELS: label1, label2)
  • Parse labels from execution_file output instead of structured_output
  • Add validation to only apply labels from the managed labels allowlist

Test plan

  • Verify Claude review action completes without hanging on a test PR
  • Verify labels are correctly parsed and applied

🤖 Generated with Claude Code

enginerd-kr and others added 2 commits April 4, 2026 14:05
Replace structured_output with execution_file parsing and prompt-based
label output format, as --json-schema caused infinite wait in CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…cution

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 062aa118ea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/pr-checks.yml Outdated
@enginerd-kr

Copy link
Copy Markdown
Owner Author

Coverage report

This PR does not seem to contain any modification to coverable code.

Add || true to grep pipeline so the step doesn't fail under set -e
when Claude's output lacks or deviates from the expected LABELS format.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@enginerd-kr
enginerd-kr merged commit 5e5185b into main Apr 4, 2026
2 of 3 checks passed
@enginerd-kr
enginerd-kr deleted the fix/claude-review-remove-json-schema branch April 4, 2026 05:14
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