test: cover github-actions package rules via rule outcome engine - #199
Open
thypon wants to merge 1 commit into
Open
test: cover github-actions package rules via rule outcome engine#199thypon wants to merge 1 commit into
thypon wants to merge 1 commit into
Conversation
This was referenced Aug 25, 2026
thypon
force-pushed
the
tests/github-actions-rules
branch
2 times, most recently
from
August 25, 2026 22:25
d391172 to
bf7af33
Compare
default.json gates github-actions updates behind a matrix of manager, package, update type and current age. Scenarios evaluate merged rule outcomes at the decision boundaries (7/14 day ages, trusted orgs, digest vs pin) through the pure matcher in src/lib/rules.ts, extended into the cucumber world as evaluateRuleInput.
thypon
force-pushed
the
tests/github-actions-rules
branch
from
August 25, 2026 22:32
bf7af33 to
2bb3e10
Compare
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.
What
features/github-actions-rules.feature: 6 scenarios over the github-actions rule matrix — digest disabled + 7d, old trusted-org pin/patch/minor → 14d + autoApprove + automerge, recent pin → 7d no automerge, untrusted org → manager-enable rule applies, npm digest unaffectedapplicableRules+mergeRuleOutcome: managers/updateTypes/packageNames glob prefixes/age constraints, later rule wins, matcher keys stripped)PresetWorld.evaluateRuleInputwires it into cucumberWhy
The ga rules in default.json encode a decision matrix (manager × org trust × update type × current age). Scenario-table tests at the decision boundaries catch regressions an end-to-end validator can't see.
Stack
Stack #202, above #198, below #200 → #201. Merge after #198.
Verification