Repository navigation
fix(update): batch every declaration of a dependency in a file - #126
Merged
Merged
Conversation
A PR records each file once among its targets, but a file can declare the dependency several times, such as one action in many workflow jobs. The batch matched one declaration per target, so it moved the first and left the rest, which the next run proposed again.
sweepies
force-pushed
the
fix/batch-every-occurrence
branch
from
October 31, 2026 04:13
60ea1eb to
ad08b5b
Compare
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Rust | Oct 31, 2026 4:13a.m. | Review ↗ | |
| JavaScript | Oct 31, 2026 4:13a.m. | Review ↗ | |
| Shell | Oct 31, 2026 4:13a.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found by the batch run on main. The batch #115 carried
jdx/mise-action5.1.2 → 5.2.4 andjdx/mr-boxington-action1.7.2 → 1.7.3. Inci.ymlandrelease.yml, which use those actions in several jobs, it moved only the firstuses:in each file. The next run then opened #122 and #123 for the remaining ones.A PR records each file once among its batch targets, and
plan::batch_planmatched one declaration per target with.find. It now takes every declaration in that file whose current value matches the target. Declarations already taken by another target are skipped. The first declaration is still the fallback when none match.a_batch_moves_every_declaration_of_a_dependency_in_a_filebatches a workflow that uses one action in three jobs, and asserts all three move. It fails without the fix. The engine batching tests still pass.