Skip to content

ci(deps): bump actions/setup-python from 5 to 7 - #254

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps actions/setup-python from 5 to 7.

Release notes

Sourced from actions/setup-python's releases.

v7.0.0

What's Changed

Enhancements

Bug Fix

Dependency Upgrade

New Contributors

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

v6.3.0

What's Changed

Enhancement

Dependency update

Documentation

New Contributors

Full Changelog: actions/setup-python@v6.2.0...v6.3.0

v6.2.0

What's Changed

Dependency Upgrades

... (truncated)

Commits

@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-python
Update Type: version-update:semver-major
Previous Version: 5
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-python
Update Type: version-update:semver-major
Previous Version: 5
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-python
Update Type: version-update:semver-major
Previous Version: 5
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-python
Update Type: version-update:semver-major
Previous Version: 5
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-python
Update Type: version-update:semver-major
Previous Version: 5
New Version: 7

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/setup-python-7 branch from ac7b116 to aa11e3a 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-python
Update Type: version-update:semver-major
Previous Version: 5
New Version: 7

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/setup-python-7 branch from aa11e3a to 56cc253 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-python
Update Type: version-update:semver-major
Previous Version: 5
New Version: 7

Please review the changelog and breaking changes before merging.

scttfrdmn added a commit that referenced this pull request Aug 3, 2026
…discarded (#289)

`time: 09:00` unquoted is not a string in YAML 1.1: Dependabot's parser reads it
as a sexagesimal integer, its schema requires a string, and it rejects the ENTIRE
FILE — one error per ecosystem entry, six of them.

An invalid config is not partially applied, it is ignored. So every `labels:`,
`groups:`, `reviewers:` and `ignore:` block in this file was dead and Dependabot
ran on its defaults. Present since 2025-10-15 (d4ff903), where the key was
introduced unquoted and never quoted after.

This also explains a fix that appeared to land and didn't. `automerge` was missing
from the repository, Dependabot drops unknown labels silently, and every approve
and merge step in dependabot-automerge.yml is gated on that label — 46 PRs opened,
0 merged. That was diagnosed and fixed: the label is in .github/labels.yml and on
the repository, guarded by TestDependabotLabelsAreDefined. And it still did not
work, because `labels:` sat inside a file being thrown away. Confirmed on the open
PRs — #210, #249, #254 and #258 all carry `dependencies` plus an ecosystem label
and no `automerge`. Two independent causes for one symptom; fixing the visible one
left the other invisible.

It hid for nine months because it surfaces as a failing `.github/dependabot.yml`
check on every PR, which reads like a failed job rather than an invalid config —
and the file has a `version: 2` key and six well-formed-looking entries, so
nothing about reading it suggests it is being discarded.

TestDependabotScheduleTimesAreQuoted checks the file TEXT, not the decoded value,
and that is deliberate. Asserting the decoded Go type is the obvious design and it
cannot work: gopkg.in/yaml.v2 and gopkg.in/yaml.v3 both decode 09:00, 9:00, 10:30
and 05:00 as Go `string`, because Go's YAML 1.2 core schema has no sexagesimal
integer type while Dependabot's YAML 1.1 parser does. A decode-based assertion
therefore passes on exactly the input that breaks the file — the first version of
this test did, which is how the text approach was arrived at.

The narrower claim that buys: it cannot tell `"9am"` from `"09:00"`, since both
are quoted strings and only Dependabot's own schema knows the difference. The
failing check on the PR stays the authority on validity; this stops the known
regression. Mutation-verified three ways: unquoting fails it, single-quoting
passes, renaming the key trips the scan-found-nothing guard.

Refs #288
@scttfrdmn

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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.

@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/actions/setup-python-7 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: actions/setup-python
Update Type: version-update:semver-major
Previous Version: 5
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 added a commit that referenced this pull request Aug 3, 2026
…silent

open-pull-requests-limit caps discovery, not display. Once the slots are
full Dependabot stops proposing, and the PR list can't distinguish "nothing
to update" from "no room to say so" — the same condition that hid three
outdated action majors behind #254-#258.

Measured: `go list -u -m all` shows twelve outdated direct modules against
five slots, with client_golang, go-redis, substrate and x/sys absent from
every open PR. pom.xml declares nine artifacts against three slots.

gomod 5 -> 8, maven 3 -> 6. Both npm limits stay at 3: those queues are
full of majors correctly waiting for a human, which is the limit working.
scttfrdmn added a commit that referenced this pull request Aug 3, 2026
…ork, and three TTL tests that raced themselves (#315)

* fix(ci): add typedoc to the typescript-toolchain group

The regrouped PR from #306 still failed to install. typedoc constrains the
TypeScript version as tightly as ts-jest does, and was left out of the group
because it doesn't read like a member of one.

Measuring the peer ranges instead of assuming them turned up two things:
[email protected] peers <=5.1.x, so `typescript: ^5.0.0` has been resolving to
5.1.6 all along; and TypeScript 7 is unreachable at any grouping, since
ts-jest's latest peers <7 with nothing above it. The ceiling is 6.

What the install failure was hiding is filed as #314: `npm run build` fails
with 48 tsc errors, two of which name identifiers that don't exist, and
nothing in CI runs tsc.

* fix(ci): raise the gomod and maven PR limits so outdated deps aren't silent

open-pull-requests-limit caps discovery, not display. Once the slots are
full Dependabot stops proposing, and the PR list can't distinguish "nothing
to update" from "no room to say so" — the same condition that hid three
outdated action majors behind #254-#258.

Measured: `go list -u -m all` shows twelve outdated direct modules against
five slots, with client_golang, go-redis, substrate and x/sys absent from
every open PR. pom.xml declares nine artifacts against three slots.

gomod 5 -> 8, maven 3 -> 6. Both npm limits stay at 3: those queues are
full of majors correctly waiting for a human, which is the limit working.

* fix(cache): three TTL tests raced their own assertions

They set a 100ms TTL and then asserted an entry exists "immediately after
Put". Put stamps Timestamp: now on entry and then gzips and writes to disk,
so the clock starts before the bytes land, and any delay before the Get —
GC, scheduler, slow tmpfs — spends the same 100ms the assertion needs.

TestPersistentCache_TTLExpiration failed on a PR that changed nothing but
dependabot.yml, which is the tell. Reproduced by sleeping 120ms after the
Put: the entry is gone before it is read. Optimize was worse — asserting a
final count of 1 needs a fourth Put plus a full index sweep inside the same
window, and losing that looks like Optimize evicting a fresh entry.

The tests change, not the caches: TTL from the start of the write is the
right semantic, since an entry is as old as its data. 2s budget plus an
expiryWait helper. All three verified against an isExpired-returns-false
mutant.
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