Fix Claude workflow push and tidy up review threads - #389
Conversation
The checkout step persisted the job's read-only GITHUB_TOKEN as a git extraheader. That header takes precedence over the app token the action puts in the remote URL, so pushes went out as github-actions[bot] and were denied. See the #369 run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #389 +/- ##
=======================================
Coverage 92.13% 92.13%
=======================================
Files 390 390
Lines 24644 24644
=======================================
Hits 22705 22705
Misses 1939 1939 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Public API, optional dependencies, published-wheel surface, Optional: the root cause is the action scrubbing Findings: none this round, and none from earlier rounds. Reviewed at 4f58fdc |
A finding the author rejected or deferred stayed open, so the PR carried threads nobody meant to act on. The review now resolves them and records them as withdrawn or accepted. Each round also posted a new summary beside the old ones. The review now minimizes its earlier summaries as outdated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Public API, optional dependencies, published-wheel surface, Findings: F1 new, F2 new. No earlier findings. Reviewed at 8f83d36 |
A Major: finding stays Blocking in Reviewable until a maintainer dismisses it, so the review no longer resolves one the author rejected. Rejected and deferred findings now share one rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Public API, optional dependencies, published-wheel surface, Findings: F1 addressed, F2 addressed, F3 new. Reviewed at 9054b76 |
Enkidu93
left a comment
There was a problem hiding this comment.
@Enkidu93 reviewed 2 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on ddaspit).
Quick summary
The @claude workflow can push its branch and open a pull request again. The code review now resolves findings the author rejects and hides its earlier summaries. No library code changes.
Where to look
The checkout step in
claude.ymlsaved the job'sGITHUB_TOKENas a git extraheader. That token only hascontents: read. The header takes precedence over the app token that claude-code-action puts in the remote URL. The push in the #369 run went out asgithub-actions[bot]and was denied with a 403. Settingpersist-credentials: falseleaves the app token as the only credential. The review workflow does not push, so I left its checkout alone.In the
pr-reviewskill, a finding the author rejects or defers is now resolved and recorded as withdrawn or accepted. It used to stay open. After posting a new summary, the review minimizes its earlier summaries as outdated. It only minimizes its own top-level comments that containReviewed at, so replies to an @claude mention stay visible.Validation
git diff --check-- clean../local_check.sh --agent-strict-- failed at test collection with 18 errors. My environment is missing the optional extras (datasets,dynaconf,sentencepiece,transformers,thot.alignment). This PR only changes a workflow file and a skill.🤖 Generated with Claude Code
This change is