Skip to content

chore(deps): bump watchfiles from 1.1.1 to 1.2.0 - #1358

Merged
Sinity merged 1 commit into
masterfrom
dependabot/uv/watchfiles-1.2.0
May 19, 2026
Merged

Sinity merged 1 commit into
masterfrom
dependabot/uv/watchfiles-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Copy link
Copy Markdown
Contributor

Bumps watchfiles from 1.1.1 to 1.2.0.

Release notes

Sourced from watchfiles's releases.

v1.2.0 2026-05-17

What's Changed

New Contributors

Full Changelog: samuelcolvin/watchfiles@v1.1.1...v1.2.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 19, 2026
Sinity added a commit that referenced this pull request May 19, 2026
## Summary

Gate `provenance` and `sbom` on `steps.decide.outputs.push == 'true'` in
`.github/workflows/container.yml` so attestations are emitted only on
push paths (master, tag, opt-in workflow_dispatch) where the image is
published to GHCR. PR smoke builds, which set `load: true` to import
into the local docker daemon, no longer request attestations and
therefore no longer produce a manifest list that the classic docker
image store cannot import.

## Problem

The `Container` workflow has been failing on every push to `master`
since #1319 merged (2026-05-18), and on every PR that triggers it
(dependabot #1357 / #1358 / #1359, etc.). Both matrix jobs (`build
(runtime)` and `build (distroless)`) fail with:

```
ERROR: failed to build: docker exporter does not currently support exporting manifest lists
```

Root cause (see #1373): `docker/build-push-action@v6` is configured with
`provenance: true` + `sbom: true` + `load: ${{ steps.decide.outputs.push
!= 'true' }}`. Buildx emits attestations as a manifest list even on a
single-platform build, and the classic docker image store cannot import
manifest lists via `--load`. The combination has never been compatible
(docker/buildx#1533, docker/build-push-action#820). The previous inlined
publish-container job in `release.yml` pushed directly to ghcr.io and
never hit `--load`, which is why the latent conflict only surfaced after
#1319 introduced PR smoke builds.

## Solution

`.github/workflows/container.yml`:

```yaml
provenance: ${{ steps.decide.outputs.push == 'true' }}
sbom:       ${{ steps.decide.outputs.push == 'true' }}
```

This is option 1 from the issue's recommended fixes — the minimal
coherent change.

- Push paths (master, tag, `workflow_dispatch` with `push=true`) still
produce signed provenance + SBOM attestations on the published image,
exactly as before.
- PR / `workflow_dispatch` smoke paths skip attestations. The
single-platform image loads cleanly into the local docker daemon and the
existing `docker run --rm --entrypoint ... --version` smoke test runs
unchanged.
- No code paths touched; no other workflows touched; behavior on
published images is preserved.

Alternatives rejected: containerd image store (needs runner-level daemon
config, infeasible on hosted runners); OCI tarball + skopeo (more moving
parts than the symptom warrants).

## Verification

- Reviewed the failing workflow definition and confirmed the only call
sites for `provenance`/`sbom`/`load` are the four lines edited in this
PR.
- Confirmed `steps.decide` already gates the push/load decision
symmetrically (`push=false`/`load=true` on `pull_request`,
`push=true`/no `--load` on master/tag), so reusing that boolean for
attestations preserves the published-artifact surface.
- The actual smoke is the Container workflow run on this PR;
expectation: both `build (runtime)` and `build (distroless)` go green,
and master/tag pushes continue to publish provenance- and SBOM-attested
images.

Closes #1373
Bumps [watchfiles](https://github.com/samuelcolvin/watchfiles) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/samuelcolvin/watchfiles/releases)
- [Commits](samuelcolvin/watchfiles@v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: watchfiles
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@Sinity
Sinity force-pushed the dependabot/uv/watchfiles-1.2.0 branch from d93cdf4 to a28471a Compare May 19, 2026 16:44
@Sinity
Sinity enabled auto-merge (squash) May 19, 2026 16:51
@Sinity
Sinity merged commit 886a227 into master May 19, 2026
3 of 5 checks passed
@Sinity
Sinity deleted the dependabot/uv/watchfiles-1.2.0 branch May 19, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant