Skip to content

ci: drop the removed notify job from the release-cut permissions test - #36621

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/release-cut-notify-test
Oct 31, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/release-cut-notify-test

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3
Prod 0 0 0 0

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 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.
  • Outside the risky areas: no workflow, release, build or packaging file changes; only the test's expected data is brought in line with the workflow ci: remove dependency review Slack notification job #36611 already changed on main.
  • 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.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4b36b713-9045-413a-aed7-33319517f7ed
Commits

Reviewing files that changed from the base of the PR and between 20a356e and 00fa24b.

Files selected for processing: 1
  • config/scripts/release-cut-token-permissions.test.mjs
Files with no reviewable changes: 1
  • config/scripts/release-cut-token-permissions.test.mjs

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: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning 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 Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly identifies the removal of the stale notify job from the release-cut permissions test.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Review loop status: done (light path)

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant