cloudflare / workers-sdk

⛅️ Home to Wrangler, the CLI for Cloudflare Workers®
https://developers.cloudflare.com/workers/
Apache License 2.0
2.65k stars 694 forks source link

Remote Caching for Builds, Tests, and Checks using TurboRepo Remote Cache API #3440

Closed JacobMGEvans closed 1 year ago

JacobMGEvans commented 1 year ago

Implement remote caching functionality in TurboRepo to speed up builds, tests, checks, and other processes. This feature will utilize the TurboRepo Remote Cache API. See the documentation for details.

Custom implementation will be using R2 on Workers.

Follow up work to https://github.com/cloudflare/workers-sdk/pull/3261

helloimalastair commented 1 year ago

@JacobMGEvans I have a working implementation with Corsica that I recently revived, which may be able to serve as a reference implementation, or can be used directly.

Still need to work on a better way of managing API tokens, but it should be able to serve as a Proof-of-Concept.

JacobMGEvans commented 1 year ago

@JacobMGEvans I have a working implementation with Corsica that I recently revived, which may be able to serve as a reference implementation, or can be used directly.

Still need to work on a better way of managing API tokens, but it should be able to serve as a Proof-of-Concept.

Will definitely consider this!

@Skye-31 I think has something as well and I was looking at another Worker example implementing the TurboRepo Custom Cache API

Skye-31 commented 1 year ago

It's the same one Jacob 😅

JacobMGEvans commented 1 year ago

Once I finish working on some templates related work for Quick Wins I will hit you all up for a call or something, some time this week.