Repository navigation
ci: enable show_full_output for all Claude workflows - #1593
Conversation
Adds `show_full_output: true` to the claude-review workflow so Claude Code's console output is visible in the GitHub Actions job log, not just in the session log artifact. Closes #1591 Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
@worktrunk-bot diagnose error please |
|
The From the run log: The session log confirms the bot had already reviewed the PR, found no issues with the one-line change, and was polling CI in the background when the API returned a 500. The actual review logic completed successfully before the error. All other CI checks (lint, test on linux/macos/windows, code-coverage, codecov/patch, codecov/project, pre-commit) passed. The PR change itself is correct. |
|
ok, please rerun |
|
Rerun triggered. |
|
should we do the on the other workflows too? |
Extends show_full_output: true to the remaining 6 Claude workflows (issue-triage, mention, nightly-cleaner, renovate, ci-fix, hourly-review-reviewers) so real-time output is visible in the job log for all bot runs, not just PR review. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Good call — pushed a commit adding |
All 3 review sessions in the past window shortcut the codecov step to a single `grep 'codecov'` instead of using the prescribed 5-iteration polling loop. This works only when codecov has already reported — a faster run would report "done" with codecov still pending. Evidence: - Run 23222427261 (PR #1599): `gh pr checks | grep 'codecov'` - Run 23221928911 (PR #1598): `gh pr checks | grep 'codecov/patch'` - Run 23221490674 (PR #1593): `gh pr checks | grep -E 'codecov|...'` Changes: - running-in-ci: Add CRITICAL marker to codecov step, add anti-pattern example showing what NOT to do - review-pr: Explicitly mention codecov polling loop in step 5 instead of relying on indirect delegation to running-in-ci Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
one question: did we previously have this turned on, and then maybe we turned it off? Was that because it leaked our anthropic token? while it's not the end-of-the-world — we document this — it does require rotating the token, so we prefer if it doesn't leak regularly |
|
No — However, your concern is well-founded. The action.yml for
The risk is that if Claude Code reads or echoes environment variables (e.g., via a Given this risk, I'd recommend reverting this PR and keeping |
|
ok, can you check whether there's something to mask keys? I had a faint memory that there was |
|
Yes — GitHub Actions automatically masks all So The TL;DR: The API token won't leak. Safe to enable |
…idance Addresses two behavioral patterns observed in recent CI runs: 1. **Self-contradictory responses**: On PR #1593, the bot recommended reverting based on an action.yml warning (run 23263300366), then said it was safe after researching GitHub's secret masking (run 23264003070) — without acknowledging the reversal. Adds guidance to check prior comments and explicitly note position changes. 2. **Premature recommendations**: The revert recommendation was based on a single data point (a warning message) without researching the actual masking mechanism. Adds guidance to research all relevant systems before making strong recommendations. 3. **Acknowledge-then-act waste**: On PR #1605, the bot posted "fair point" (run 23263219755) without acting, requiring a second CI run (23263575657) to make the actual change. Adds guidance to act immediately when direction is clear. Evidence: runs 23263300366, 23264003070, 23263219755, 23263575657 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Summary
show_full_output: trueacross all Claude workflows (review, issue-triage, mention, nightly-cleaner, renovate, ci-fix, hourly-review-reviewers)Previously, only the posted review/comment and the session log artifact were available. With this change, real-time output is visible directly in the job log for quick debugging without downloading artifacts.
Closes #1591
Test plan
🤖 Generated with Claude Code