Skip to content

ci(deps): bump docker/setup-buildx-action from 3 to 4 - #255

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/docker/setup-buildx-action-4
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/docker/setup-buildx-action-4

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps docker/setup-buildx-action from 3 to 4.

Release notes

Sourced from docker/setup-buildx-action's releases.

v4.0.0

Full Changelog: docker/setup-buildx-action@v3.12.0...v4.0.0

v3.12.0

Full Changelog: docker/setup-buildx-action@v3.11.1...v3.12.0

v3.11.1

Full Changelog: docker/setup-buildx-action@v3.11.0...v3.11.1

v3.11.0

Full Changelog: docker/setup-buildx-action@v3.10.0...v3.11.0

v3.10.0

Full Changelog: docker/setup-buildx-action@v3.9.0...v3.10.0

v3.9.0

Full Changelog: docker/setup-buildx-action@v3.8.0...v3.9.0

v3.8.0

Full Changelog: docker/setup-buildx-action@v3.7.1...v3.8.0

... (truncated)

Commits
  • bb05f3f Merge pull request #580 from docker/dependabot/npm_and_yarn/docker/actions-to...
  • 321c814 [dependabot skip] chore: update generated content
  • b9a36ef build(deps): bump @​docker/actions-toolkit from 0.91.0 to 0.92.0
  • ebeab24 Merge pull request #570 from docker/dependabot/npm_and_yarn/undici-6.27.0
  • 5c7b8ae [dependabot skip] chore: update generated content
  • 037e618 build(deps): bump undici from 6.25.0 to 6.27.0
  • 66080e5 Merge pull request #577 from docker/dependabot/npm_and_yarn/sigstore-4.1.1
  • 409aef0 Merge pull request #562 from docker/dependabot/npm_and_yarn/js-yaml-4.2.0
  • 49c6e42 build(deps): bump sigstore from 4.1.0 to 4.1.1
  • 2211273 [dependabot skip] chore: update generated content
  • 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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/docker/setup-buildx-action-4 branch from 2a3f0e8 to 115c566 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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/docker/setup-buildx-action-4 branch from 115c566 to a273e1d 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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/docker/setup-buildx-action-4 branch from a273e1d to d6f4efa Compare August 3, 2026 19:40
@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.

@scttfrdmn scttfrdmn closed this Aug 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/github_actions/docker/setup-buildx-action-4 branch August 3, 2026 19:44
@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: docker/setup-buildx-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4

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