Skip to content

Don't panic on metadata read error#17904

Merged
EliteTK merged 1 commit intomainfrom
tk/panic-read-fix
Feb 6, 2026
Merged

Don't panic on metadata read error#17904
EliteTK merged 1 commit intomainfrom
tk/panic-read-fix

Conversation

@EliteTK
Copy link
Contributor

@EliteTK EliteTK commented Feb 6, 2026

Summary

Help troubleshoot #17898.

Not quite ideal to be shoehorning everything into the Io error variant but for this one case it seemed somewhat fitting.

Test Plan

Not easy to test automatically in our suite.

@EliteTK EliteTK added error messages Messaging when something goes wrong bug Something isn't working labels Feb 6, 2026
@EliteTK EliteTK requested a review from konstin February 6, 2026 18:31
Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

It seems really weird that we unwrap there?

@EliteTK EliteTK merged commit deb394c into main Feb 6, 2026
52 checks passed
@EliteTK EliteTK deleted the tk/panic-read-fix branch February 6, 2026 18:52
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 15, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [uv](https://github.com/astral-sh/uv) | patch | `0.10.0` → `0.10.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>astral-sh/uv (uv)</summary>

### [`v0.10.2`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0102)

[Compare Source](astral-sh/uv@0.10.1...0.10.2)

Released on 2026-02-10.

##### Enhancements

- Deprecate unexpected ZIP compression methods ([#&#8203;17946](astral-sh/uv#17946))

##### Bug fixes

- Fix `cargo-install` failing due to missing `uv-test` dependency ([#&#8203;17954](astral-sh/uv#17954))

### [`v0.10.1`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0101)

[Compare Source](astral-sh/uv@0.10.0...0.10.1)

Released on 2026-02-10.

##### Enhancements

- Don't panic on metadata read errors ([#&#8203;17904](astral-sh/uv#17904))
- Skip empty workspace members instead of failing ([#&#8203;17901](astral-sh/uv#17901))
- Don't fail creating a read-only `sdist-vX/.git` if it already exists ([#&#8203;17825](astral-sh/uv#17825))

##### Documentation

- Suggest `uv python update-shell` over `uv tool update-shell` in Python docs ([#&#8203;17941](astral-sh/uv#17941))

</details>

---

### Configuration

📅 **Schedule**: 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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

---

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

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4zIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working error messages Messaging when something goes wrong

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants