Skip to content

build(deps): update cap-std to v4 - #316

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cap-std
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cap-std

Conversation

@renovate

@renovate renovate Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
cap-fs-ext dependencies major 34
cap-std dependencies major 34

Release Notes

bytecodealliance/cap-std (cap-fs-ext)

v4.0.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • 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 PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 14, 2026
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

🌐 Demo preview: https://renovate-cap-std.eryx-bvy.pages.dev
📌 This deploy: https://d9649bce.eryx-bvy.pages.dev

@sd2k

sd2k commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Triage: blocked upstream, no fix pushed.

`eryx-vfs` gets `read_at`/`write_at` on `Arc<cap_std::fs::File>` from `system_interface::fs::FileIoExt` (crates/eryx-vfs/src/streams.rs), enabled via the `cap_std_impls` feature of `system-interface = "0.27"`. Those impls are written against cap-std 3, so bumping cap-std to 4 on its own breaks them:

error[E0599]: no method named `read_at` found for struct `Arc<cap_std::fs::File>` in the current scope
error[E0599]: no method named `write_at` found for struct `Arc<cap_std::fs::File>` in the current scope
error: could not compile `eryx-vfs` (lib) due to 5 previous errors

The blocker is that no published system-interface supports cap-std 4 — the latest (0.27.3) still declares cap-std ^3.0.0 (and cap-fs-ext ^3.0.0, cap-tempfile ^3.0.0). So there is no version pairing that makes this compile today.

Options, both of which are judgement calls rather than dependency bumps:

  1. Hold this PR until system-interface releases cap-std 4 support.
  2. Drop the FileIoExt dependency for these two operations and implement positional read/write directly against the underlying fd (std::os::unix::fs::FileExt, plus a Windows equivalent — streams.rs is used on the Windows CI target too).

Note this is the same wall #207 ("bump cap-std from 3 to 4") has been sitting behind since May; that PR only bumps the manifest and never addressed the FileIoExt impls.

Also worth noting for renovate.json5: system-interface belongs in the cap-std lockstep group. It is currently ungrouped, so Renovate can propose a cap-std major on its own — exactly what happened here.

Automated dependency triage. No changes pushed to this branch.

@renovate
renovate Bot force-pushed the renovate/cap-std branch from 51ac92a to addf537 Compare August 15, 2026 08:58
sd2k added a commit that referenced this pull request Aug 15, 2026
eryx-vfs gets `read_at`/`write_at` on cap-std files from
`system_interface::fs::FileIoExt`, via system-interface's
`cap_std_impls` feature. Those impls target a specific cap-std major, so
a cap-std bump without a matching system-interface does not compile —
see #316, where cap-std 4 landed on its own and every positional
read/write in eryx-vfs lost its trait impl.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@sd2k

sd2k commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Superseded by #327 — cap-std bumping alone is unbuildable until system-interface releases cap-std v4 support (its cap_std_impls feature is version-locked to a cap-std major). The "cap-std" Renovate group now holds cap-std + system-interface together and will reopen this combination once upstream is ready. Closing in favor of that grouped PR.

@sd2k sd2k closed this Aug 18, 2026
@renovate

renovate Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/cap-std branch August 18, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant