Skip to content

fix: pin worker-build to 0.1.4#252

Merged
augustoccesar merged 2 commits intomainfrom
augustoccesar/pin-worker-build-to-0.1.4
Feb 25, 2026
Merged

fix: pin worker-build to 0.1.4#252
augustoccesar merged 2 commits intomainfrom
augustoccesar/pin-worker-build-to-0.1.4

Conversation

@augustoccesar
Copy link
Member

@augustoccesar augustoccesar commented Feb 25, 2026

Description

From workers-rs@^0.7 the worker-build and worker crate have aligned versions, so worker-build must be pinned to the version of worker to avoid build failures.

There has been breaking changes to worker-rs since the version that we are using (0.5) that needs further investigation to bump. Mainly the structure of the build directory.

To make it simple for now and make so that current builds of the project work, I went ahead and locked the worker-build to the latest version that we know for sure was working on this project (by the date of last build), which is 0.1.4.

As a follow-up to this PR, we should look into what needs to change for us to be able to bump to worker@^0.7 (and consequentially worker-build@^0.7).

Closes SHIP-2520

Failure example

https://github.com/mentimeter/linkup/actions/runs/22395633731/job/64832633000?pr=251

Resources

### Description
From workers-rs 0.7.0 the worker-build and worker crate have aligned versions,
so worker-build must be pinned to the version of worker to avoid build failures.

There has been breaking changes to worker-rs since the version that we are using (0.5)
that needs further investigation to bump. Mainly the structure of the `build` directory.

To make it simple for now and make so that current builds of the project work,
I went ahead and locked the worker-build to the latest version that we know for
sure was working on this project (by the date of last build), which is 0.1.4.

As a follow-up to this PR, we should look into what needs to change for us to be
able to bump to worker@^0.7 (and consequentially worker-build@^0.7).

Closes SHIP-2520

### Resources
- https://github.com/cloudflare/workers-rs/releases/tag/v0.7.0
- https://crates.io/crates/worker-build/versions
@augustoccesar augustoccesar self-assigned this Feb 25, 2026
@augustoccesar augustoccesar merged commit 2198c43 into main Feb 25, 2026
6 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/pin-worker-build-to-0.1.4 branch February 25, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants