Skip to content

ci(deps): bump actions/setup-node from 4 to 7 - #256

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/setup-node-7
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/setup-node-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Bumps actions/setup-node from 4 to 7.

Release notes

Sourced from actions/setup-node's releases.

v7.0.0

What's Changed

Enhancements:

Bug fixes:

Documentation updates:

Dependency update:

New Contributors

Full Changelog: actions/setup-node@v6...v7.0.0

v6.5.0

What's Changed

Full Changelog: actions/setup-node@v6.4.0...v6.5.0

v6.4.0

What's Changed

Dependency updates:

New Contributors

Full Changelog: actions/setup-node@v6...v6.4.0

v6.3.0

What's Changed

Enhancements:

... (truncated)

Commits
  • 8207627 Migrate to ESM and upgrade dependencies (#1574)
  • 04be95c Add cache-primary-key and cache-matched-key as outputs (#1577)
  • 7c2c68d docs: Update caching recommendations to mitigate cache poisoning risks (#1567)
  • 6a61c03 Merge pull request #1569 from jasongin/update-actions-cache-5.1.0
  • 30eb73b Resolve high-severity audit issues
  • 4e1a87a Update dist
  • 360237f Strict equality
  • 4f8aac5 Bump @​actions/cache to 5.1.0, log cache write denied
  • f4a67bb Only use mirrorToken in getManifest if it's provided (#1548)
  • 0355742 Remove dummy NODE_AUTH_TOKEN export (#1558)
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Assignees

The following users could not be added as assignees: objectfs/maintainers. Either the username does not exist or it does not have the correct permissions to be added as an assignee.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added dependencies Dependency updates (Dependabot) github-actions GitHub Actions workflow dependency labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

4 similar comments
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/setup-node-7 branch from e5aa9a6 to 9663264 Compare August 3, 2026 11:15
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/setup-node-7 branch from 9663264 to 4f5fb24 Compare August 3, 2026 14:45
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 7.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v4...v7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@scttfrdmn

Copy link
Copy Markdown
Owner

Superseded by #304, which takes this bump along with the other seven outdated action majors in one reviewed change.

Two reasons for consolidating rather than merging these individually:

  1. Three further majors were never proposed. docker/build-push-action 5→7, docker/login-action 3→4 and dependabot/fetch-metadata 2→3 were all outdated too. Five is open-pull-requests-limit for the github-actions ecosystem, and these five PRs were exactly that — so the queue was saturated and there was no room to propose the rest.

  2. These branches predate 68893dd (fuse: MountManager.Wait reads m.server unlocked, racing Unmount's write — and can nil-deref #267/fix: the FUSE server field is read under the lock that guards it (#267) #268), which fixed a data race in internal/fuse/mount.go. That is why test fails here; it is not caused by the action bump. They also predate the .github/dependabot.yml fix (dependabot.yml is invalid — unquoted schedule.time discards the whole config, including the automerge fix #288/fix(ci): quote schedule.time — the whole dependabot config was being discarded #289).

#304 carries the same version change, with the removed-input and removed-env checks done against this repo, and — for setup-go — a trace of what actually changes: v5 installed go1.26.0 and let Go's toolchain switching fetch go1.26.5 at build time, while v6+ reads the toolchain directive up front and sets GOTOOLCHAIN=local.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: actions/setup-node
Update Type: version-update:semver-major
Previous Version: 4
New Version: 7

Please review the changelog and breaking changes before merging.

scttfrdmn added a commit that referenced this pull request Aug 3, 2026
… cause 5 (#304)

* ci: every action to its current major, and stop switching Go toolchains mid-build

Eight actions: setup-go 5→7, setup-node 4→7, setup-python 5→7,
docker/metadata-action 5→6, docker/setup-buildx-action 3→4,
docker/build-push-action 5→7, docker/login-action 3→4,
dependabot/fetch-metadata 2→3.

Dependabot proposed five of these (#254-#258) and five is also
open-pull-requests-limit, so the other three were never proposed at all. The
queue was saturated. Worth remembering that a quiet Dependabot can mean "nothing
to do" or "no room to say so."

setup-go is the one that changes behavior, so it was traced rather than assumed.
v5 reads the `go` line and installed go1.26.0; Go's own toolchain switching then
fetched go1.26.5 on the first build, because `toolchain go1.26.5` says to. The
right compiler was used — `go version` reported 1.26.5 — but it arrived at build
time, over the network, once per job, and the tar warnings about
gotoolchain_*.txt "File exists" in every job log were that download racing the
module cache restore. v6+ parses `toolchain` directly and exports
GOTOOLCHAIN=local, so 1.26.5 installs up front and nothing switches.

Verified against the v7 sources, not the PR discussion: installer.ts
parseGoVersionFile matches /^toolchain go(1\.\d+...)/m and prefers it unless
GOTOOLCHAIN is already `local`, and main.ts calls setGoToolchain() to set exactly
that. The comment in go.mod is updated, including the new failure mode — under
GOTOOLCHAIN=local a toolchain version setup-go cannot install fails the build
rather than quietly falling back to one that works.

Checked for each of the others instead of trusting the release notes:

- buildx v4 removed the deprecated `config`, `config-inline` and `install`
  inputs. Not used here.
- build-push-action v7 removed DOCKER_BUILD_NO_SUMMARY and
  DOCKER_BUILD_EXPORT_RETENTION_DAYS. Neither appears in .github/.
- setup-python v7 removed the `pip-install` input. Not used.
- setup-node v6 limited automatic caching to npm. No `cache:` input is set on
  the Node or Python steps, so it cannot apply.
- All eight need runner >= v2.327.1 for their Node 24 runtime; ubuntu-latest
  satisfies that.

Node 20 -> 22 in the sdk-metrics job while it was open. 20 reached end of life in
April 2026 and sdks/javascript declares `node >=16`, so nothing held the pin down
except never having revisited it.

Closes #254, closes #255, closes #256, closes #257, closes #258

* fix(ci): drop the approve step — Actions can't approve, and bash -e ate the merge

Cause 5 of "46 Dependabot PRs opened, 0 merged."

Fixing #288 made .github/dependabot.yml valid. Dependabot re-evaluated it within
minutes and opened 14 PRs across ecosystems it had never touched, and the
`automerge` label arrived on every one of them — the label plumbing works.

And still nothing merged, because the step finally ran instead of being skipped,
and failed:

  failed to create review: GraphQL: GitHub Actions is not permitted to approve
  pull requests. (addPullRequestReview)

can_approve_pull_request_reviews is false at the repository level. The step body
was `gh pr review --approve` then `gh pr merge --auto --squash`, under `bash -e`,
so the failing first line aborted before the line that does the work.

The approval was never needed. Branch protection on main requires status checks
and has required_pull_request_reviews: null — nothing is waiting on a review.
Deleting the line is the fix. Enabling "Allow GitHub Actions to create and
approve pull requests" would instead grant every workflow in the repository the
ability to satisfy a review requirement, to buy something no rule asks for.

Causes 1 and 4 both kept the `if:` condition false, so the step was skipped and
this one could not produce a symptom until they were gone. That is the shape worth
recording: a fix that should have worked and didn't usually means a second cause,
not a wrong diagnosis. All five are now enumerated in the workflow header in the
order they were found, with why each hid the next.

Closes #305
@scttfrdmn
scttfrdmn deleted the dependabot/github_actions/actions/setup-node-7 branch September 20, 2026 05:25
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates (Dependabot) github-actions GitHub Actions workflow dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant