Skip to content

[4/9] feat: upgrade opendal + add Vercel Artifacts cache backend#3

Open
mmastrac wants to merge 2 commits intovercel/rust-basedirsfrom
vercel/opendal-upgrade-artifacts
Open

[4/9] feat: upgrade opendal + add Vercel Artifacts cache backend#3
mmastrac wants to merge 2 commits intovercel/rust-basedirsfrom
vercel/opendal-upgrade-artifacts

Conversation

@mmastrac
Copy link
Copy Markdown
Collaborator

Summary

  • Upgrades opendal to mmastrac/opendal vercel_opts branch via [patch.crates-io] (feat(services/vercel): Add additional options to Vercel cache backend apache/opendal#7334)
  • Adds layers-logging feature to retain LoggingLayer after upstream crate split
  • Adds aws-lc-sys with prebuilt-nasm feature to avoid NASM build requirement on Windows
  • Adds Vercel Artifacts cache backend with env vars:
    • SCCACHE_VERCEL_ARTIFACTS_TOKEN (required)
    • SCCACHE_VERCEL_ARTIFACTS_ENDPOINT (optional)
    • SCCACHE_VERCEL_ARTIFACTS_TEAM_ID (optional)
    • SCCACHE_VERCEL_ARTIFACTS_TEAM_SLUG (optional)
  • Supports multi-level cache chains (e.g., disk,vercel_artifacts)

Stack: 3/6

Upstream: apache/opendal#7334

@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 31, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​aws-lc-sys@​0.39.162100100100100
Updatedcargo/​cc@​1.2.16 ⏵ 1.2.5899 +110093100100
Updatedcargo/​log@​0.4.28 ⏵ 0.4.2910010093100100

View full report

@mmastrac mmastrac changed the base branch from vercel/crate-type-allow-hash to vercel/01-crate-type-allow-hash March 31, 2026 17:28
@mmastrac mmastrac changed the title feat: upgrade opendal + add Vercel Artifacts cache backend [2/5] feat: upgrade opendal + add Vercel Artifacts cache backend Mar 31, 2026
@mmastrac mmastrac changed the base branch from vercel/01-crate-type-allow-hash to vercel/crate-type-allow-hash March 31, 2026 17:29
@mmastrac mmastrac force-pushed the vercel/crate-type-allow-hash branch from 523a520 to daedab4 Compare March 31, 2026 17:35
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from ab2ea60 to 098874e Compare March 31, 2026 17:35
@mmastrac mmastrac changed the title [2/5] feat: upgrade opendal + add Vercel Artifacts cache backend [3/6] feat: upgrade opendal + add Vercel Artifacts cache backend Mar 31, 2026
@mmastrac mmastrac force-pushed the vercel/crate-type-allow-hash branch from daedab4 to adeb701 Compare March 31, 2026 17:38
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from 098874e to 207b92c Compare March 31, 2026 17:38
@mmastrac mmastrac changed the title [3/6] feat: upgrade opendal + add Vercel Artifacts cache backend [3/7] feat: upgrade opendal + add Vercel Artifacts cache backend Mar 31, 2026
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch 5 times, most recently from af3b21e to c8f18e9 Compare April 1, 2026 20:55
@mmastrac mmastrac force-pushed the vercel/crate-type-allow-hash branch from adeb701 to 1474f4d Compare April 1, 2026 20:55
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from c8f18e9 to d0fc366 Compare April 1, 2026 21:02
@mmastrac mmastrac force-pushed the vercel/crate-type-allow-hash branch 2 times, most recently from ceaf44f to a1ea5d5 Compare April 2, 2026 00:52
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch 4 times, most recently from b45d4e0 to 75c3cdf Compare April 2, 2026 16:29
@mmastrac mmastrac changed the base branch from vercel/crate-type-allow-hash to vercel/rust-basedirs April 2, 2026 16:32
@mmastrac mmastrac changed the title [3/7] feat: upgrade opendal + add Vercel Artifacts cache backend [4/9] feat: upgrade opendal + add Vercel Artifacts cache backend Apr 2, 2026
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from 75c3cdf to d8408b1 Compare April 2, 2026 17:18
@mmastrac mmastrac force-pushed the vercel/rust-basedirs branch from b8ee6b2 to 3f6f57a Compare April 2, 2026 17:18
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch 2 times, most recently from 88634f2 to 141d34f Compare April 7, 2026 18:20
@mmastrac mmastrac force-pushed the vercel/rust-basedirs branch from 3f6f57a to b1f2c15 Compare April 7, 2026 18:24
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch 2 times, most recently from 3b94df1 to 5d56579 Compare April 7, 2026 19:09
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from 5d56579 to fef9b95 Compare April 16, 2026 21:35
@mmastrac mmastrac force-pushed the vercel/rust-basedirs branch 2 times, most recently from 3031523 to 9bd1db6 Compare April 17, 2026 14:44
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from fef9b95 to 0404395 Compare April 17, 2026 14:44
mmastrac and others added 2 commits April 17, 2026 08:47
SCCACHE_BASEDIRS now normalizes cwd, CARGO_MANIFEST_DIR,
CARGO_WORKSPACE_DIR, and dep-info env var values in the Rust
compiler's hash key computation. This enables cache hits when
the same crate is compiled from different absolute paths on
different machines (e.g., CI runners with different checkout dirs).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Upgrades opendal to mmastrac/opendal vercel_opts branch via
[patch.crates-io], which tracks apache/opendal main plus additional
Vercel Artifacts builder methods (endpoint, team_id, team_slug)
from apache/opendal#7334.

Adds layers-logging feature to retain LoggingLayer after upstream
split. Adds aws-lc-sys with prebuilt-nasm and bindgen features to
avoid nasm/bindgen build requirements in CI cross-compilation.

Adds Vercel Artifacts cache backend configured via:
- SCCACHE_VERCEL_ARTIFACTS_TOKEN (required)
- SCCACHE_VERCEL_ARTIFACTS_ENDPOINT (optional)
- SCCACHE_VERCEL_ARTIFACTS_TEAM_ID (optional)
- SCCACHE_VERCEL_ARTIFACTS_TEAM_SLUG (optional)

Upstream: apache/opendal#7334

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mmastrac mmastrac force-pushed the vercel/rust-basedirs branch from 9bd1db6 to 2049b88 Compare April 17, 2026 15:08
@mmastrac mmastrac force-pushed the vercel/opendal-upgrade-artifacts branch from 0404395 to 4838c6d Compare April 17, 2026 15:09
@mmastrac mmastrac force-pushed the vercel/rust-basedirs branch 8 times, most recently from 97e9f34 to 8c030d5 Compare April 17, 2026 20:51
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.

1 participant