Skip to content

Comments

Skip uploads when validation reports 'Already uploaded'#17412

Merged
charliermarsh merged 1 commit intomainfrom
charlie/val
Jan 27, 2026
Merged

Skip uploads when validation reports 'Already uploaded'#17412
charliermarsh merged 1 commit intomainfrom
charlie/val

Conversation

@charliermarsh
Copy link
Member

Summary

If the file was already uploaded, /validate already tells us that.

match response.text().await {
Ok(body) => {
trace!("Response content for {validation_url}: {body}");
if body == "Already uploaded" {
Copy link
Member

Choose a reason for hiding this comment

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

Can we use something typed like JSON for this instead of parsing plain text bodies?

@charliermarsh charliermarsh marked this pull request as ready for review January 26, 2026 20:38
@charliermarsh charliermarsh merged commit 3a5c343 into main Jan 27, 2026
53 checks passed
@charliermarsh charliermarsh deleted the charlie/val branch January 27, 2026 18:45
zashfield59-boop pushed a commit to zashfield59-boop/uv that referenced this pull request Jan 28, 2026
)

## Summary

If the file was already uploaded, `/validate` already tells us that.
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 2, 2026
This MR contains the following updates:

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

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 (astral-sh/uv)</summary>

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

[Compare Source](astral-sh/uv@0.9.27...0.9.28)

Released on 2026-01-29.

##### Python

- Update CPython to use [OpenSSL 3.5.5](https://github.com/openssl/openssl/releases/tag/openssl-3.5.5) which includes fixes for high severity CVEs ([python-build-standalone#960](astral-sh/python-build-standalone#960))

##### Enhancements

- Add support for Pyodide interpreter on Windows ([#&#8203;17658](astral-sh/uv#17658))
- Warn if multiple indexes include `default = true` ([#&#8203;17713](astral-sh/uv#17713))
- Skip uploads when validation reports 'Already uploaded' ([#&#8203;17412](astral-sh/uv#17412))

##### Configuration

- Add a reflink alias for the "clone" link mode ([#&#8203;17724](astral-sh/uv#17724))

##### Bug fixes

- Ensure `uv.exe` exits when `uvw.exe` or `uvx.exe` is killed ([#&#8203;17500](astral-sh/uv#17500))

</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:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NC42IiwidXBkYXRlZEluVmVyIjoiNDIuOTQuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants