You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: drop the removed notify job from the release-cut permissions test - #36621
Every PR's unit tests now fail in config/scripts/release-cut-token-permissions.test.mjs ("keeps the complete effective job and reusable-workflow matrix least-privileged"). #36611 removed the dependency review Slack notification job (notify) from .github/workflows/dependency-security.yml, but this test's expected permission matrix still lists release-cut.yml#dependency-security -> dependency-security.yml#notify, so the computed matrix (56 entries) no longer equals the expected one (57).
Change
Remove that one stale row from the expected matrix. No workflow changes.
Testing
config/scripts/release-cut-token-permissions.test.mjs: 3/3 pass locally on current main.
Review path: light
Small: 0 production lines; one test file, 3 lines deleted.
Not a repeat: git log on the test file in the last 30 days shows no earlier fix for a stale matrix row and no revert.
Local effect: test-only.
Plan
Delete the one expected row for the job that no longer exists. The test compares the expected matrix to the one computed from the workflow files with exact equality, so a passing run also shows no other row is stale or missing.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Walkthrough
The release token permission test removes the expected contents: read entry for the dependency-security workflow’s notify job. No other changes are reported.
Merge Risk: Minimal · up to 00fa2
The expectation now matches the workflow, and the test retains its full-matrix check. No actionable merge risk was identified.
Pre-merge checks: 3 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description clearly explains the problem, change, scope, and local test result. It does not follow the required template structure. It omits the required ELI5, What Changed, Why, Linked Issue, Vis…
Update the description to include all required template sections. Add an ELI5 summary, explicit before-and-after details and rationale, a valid linked issue entry such as Fixes #36611 if applicable, N/A with a reason under Visual Proof,…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title clearly identifies the removal of the stale notify job from the release-cut permissions test.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Description check
Explanation
The description clearly explains the problem, change, scope, and local test result. It does not follow the required template structure. It omits the required ELI5, What Changed, Why, Linked Issue, Visual Proof, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections. It also provides only an issue reference instead of an explicit linked issue entry.
Resolution
Update the description to include all required template sections. Add an ELI5 summary, explicit before-and-after details and rationale, a valid linked issue entry such as Fixes #36611 if applicable, N/A with a reason under Visual Proof, AI disclosure or the applicable internal-contributor omission, the Agent skill upstream boundary status, Notes, and the required checklist items. Keep the existing testing and scope details.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Problem.#36611 removed the dependency review Slack notification job (notify) from .github/workflows/dependency-security.yml, but the expected permission matrix in config/scripts/release-cut-token-permissions.test.mjs still listed release-cut.yml#dependency-security -> dependency-security.yml#notify. The test checks for an exact match against the matrix it builds from the workflow files, so it failed on main and on every PR's unit tests.
Change. Removes that one stale row. No workflow or shipped code changes; users see no difference.
Verified
On current origin/main, dependency-security.yml has only the javascript and rust jobs. The removed row matches nothing else, and nothing else in config/ or .github/ refers to #notify.
ci: remove dependency review Slack notification job #36611 removed the job on purpose (it also removed the Slack webhook from release-cut.yml and updated its own tests), so dropping the row is the right fix, not putting the job back.
The branch is current main plus this edit. The test passes 3 of 3 locally and in CI. Because the test checks for an exact match, a pass means no other row is stale or missing.
No other open PR fixes this.
One fresh adversarial reviewer confirmed the light-path criteria and approved, with no code findings. Nothing was fixed or deferred.
CI is green on the head. No QA run: this PR changes only a test.
For Brennan's review: the removed row at config/scripts/release-cut-token-permissions.test.mjs:60 (on main).
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
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.
Problem
Every PR's unit tests now fail in
config/scripts/release-cut-token-permissions.test.mjs("keeps the complete effective job and reusable-workflow matrix least-privileged"). #36611 removed the dependency review Slack notification job (notify) from.github/workflows/dependency-security.yml, but this test's expected permission matrix still listsrelease-cut.yml#dependency-security -> dependency-security.yml#notify, so the computed matrix (56 entries) no longer equals the expected one (57).Change
Remove that one stale row from the expected matrix. No workflow changes.
Testing
config/scripts/release-cut-token-permissions.test.mjs: 3/3 pass locally on current main.Review path: light
git logon the test file in the last 30 days shows no earlier fix for a stale matrix row and no revert.Plan
Delete the one expected row for the job that no longer exists. The test compares the expected matrix to the one computed from the workflow files with exact equality, so a passing run also shows no other row is stale or missing.