Repository navigation
fix(root): publish validated iyarc-prune pull requests - #10087
zahin-mohammad wants to merge 5 commits into
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
@claude review always |
This comment was marked as outdated.
This comment was marked as outdated.
Ticket: WAL-2232 Co-authored-by: Ralph CLI <ralph-cli@bitgo.com> Ralph: 18.12.3-bitgo.6 openrouter/openai/gpt-6.1-sol@default:high openrouter/z-ai/glm-5.3-flash@smol:low+task:medium openrouter/z-ai/glm-5.3@slow:max
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
@claude review always |
|
Claude finished @zahin-mohammad's task in 24s —— View job Review of PR #10087 (latest push
|
Ticket: WAL-2232 Co-authored-by: Ralph CLI <ralph-cli@bitgo.com> Ralph: 18.12.3-bitgo.6 openrouter/openai/gpt-6.1-sol@default:high openrouter/z-ai/glm-5.3-flash@smol:low+task:medium openrouter/z-ai/glm-5.3@slow:max
Problem
The weekly dependency-exclusion maintenance job could finish with validated edits but no pull request because the agent treated a checkout on
masteras a local run. A feature-branch manual dispatch also failed before the agent ran: the AWS role checks the workflow's branch identity, and checking outmasterdoes not change that identity. Failure investigation.Fix
masterdispatches early. Preserve the exact validated parent and file tree instead of letting publication rebase onto a newermaster.Original defect evidence and verification.
Review map
The readability refactor is d92ae022a1. It retains the previously fixed behavior.
validateChangesandpreparePullRequestfor publication policy;writeAgentSummaryandrequireSuccessfulCompletionhandle the agent result. Setup operations handle scanner installation, AWS role credentials, and prompt loading.After the agent runs, the workflow reads the helper from the original checkout commit using
git show, so modifying the working-copy helper cannot bypass publication checks. No package installation is needed to run the helper. Loader and environment.Verification
The checked-in tests cover allowed and forbidden paths, hidden staged changes, exact working-tree preservation, changed HEAD, missing reports, duplicate pull requests, GitHub query failures, case-insensitive label preservation, final-result precedence, private metadata filtering, summary-write failure, missing publication URLs, scanner checksum rejection, and modification of the working-copy helper.
Exit 0, no workflow diagnostics. Nix emitted the previously observed
eval-coresandlazy-treessetting warnings.Additional runtime checks exercised the actual YAML helper loader with the pinned publisher against a local Git remote, and installed/executed the real Linux scanner in a container without repository dependencies. Runtime evidence. GitHub verifies the refactor commit's signature.
Live verification still required
No successful hosted
masterrun is claimed. After merge, dispatch from Use workflow from: master and verify model access, generated commit signature, pull request, labels, assignment, and required checks. The repository setting allowing Actions to create pull requests could not be read with the available token (403).Generated pull requests use
GITHUB_TOKEN; a maintainer may need to select Approve workflows to run before required checks start. Current GitHub behavior.Ticket
WAL-2232