Repository navigation
Upgrade Fastly SDK to 0.13.3 - #529
Merged
Merged
Conversation
Move fastly and log-fastly from 0.13.1 to 0.13.3 in the root, app-demo, reusable-app and request-fidelity lockfiles, and the request-fidelity fixture's exact pin. The SDK raises its floors to url ^2.5.9 and anyhow ^1.0.103, which clears RUSTSEC-2026-0592 (url 2.5.8) from every lockfile. fastly-sys 0.13.3 also moves wasip2 to 2.0.1 and wit-bindgen to 0.62/0.63; both are private to fastly-sys. Version-scoped notes in the adapter docs, the ingress comment and the fixture README now name 0.13.3. Their claims still hold: 0.13.3 adds no raw-target accessor and keeps the Serve limit builders. Closes #528
Pin standalone Viceroy 0.22.0 in .tool-versions, the scaffold's tool seed and its tests, and the adapter docs that name the fixture version. 0.22.0 adds the fastly_compute_runtime::has_* hostcall stubs behind fastly::compute_runtime::products() (SDK 0.13.2), so guests that call it no longer fail to instantiate locally. It also reports NotFound for deleting a missing KV key over witx, matching the Compute platform (fastly/Viceroy#722). No Viceroy release provides reason_phrase_get yet, so Response::get_reason_phrase (SDK 0.13.3) still fails under local Viceroy.
7 of 16 tasks
This was referenced Nov 25, 2026
Deploy actions CI: fixture-release intermittently cannot find the CLI artifact it just uploaded
#533
Closed
6 tasks
This was referenced Nov 25, 2026
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fastlyandlog-fastlyfrom 0.13.1 to 0.13.3 in all four lockfiles that resolve them.url ^2.5.9andanyhow ^1.0.103, which clears RUSTSEC-2026-0592 (url2.5.8) everywhere. Nothing here callsUrl::origin(), so this is hygiene, not a reachable fix.Request::sendcallscompute_runtime::products(), which importsfastly_compute_runtime::has_{domain_inspector,image_optimizer,origin_inspector}. Viceroy 0.21.0 lacks them, so any guest that sends upstream fails to instantiate (unknown import: fastly_compute_runtime::has_domain_inspector). The reusable-app faults variant hit exactly this in CI. Viceroy 0.22.0 stubs them.products, shield between-bytes timeout) and remove none.Changes
Cargo.lockfastly/fastly-sys/fastly-shared/fastly-macros/log-fastly0.13.3,url2.5.9,form_urlencoded1.2.3.fastly-sysalso moves its privatewasip2to 2.0.1 andwit-bindgento 0.62/0.63.examples/app-demo/Cargo.locktests/fixtures/reusable-app/Cargo.lock/only, so nested lockfiles drift otherwise.tests/fixtures/request-fidelity/Cargo.toml,Cargo.lock=0.13.1to=0.13.3, kept in step with the workspace lock byscripts/check_shared_dep_pins.sh..tool-versions,crates/edgezero-cli/src/generator.rsviceroy 0.22.0, plus the scaffold's tool seed and its tests.crates/edgezero-adapter-fastly/src/request.rs,docs/guide/adapters/{fastly,overview}.md,tests/fixtures/request-fidelity/README.mdServelimit builders are unchanged.Manifests keep the caret
fastly = "0.13", following the existing convention that the lockfile carries the patch.Viceroy 0.22.0 also reports
NotFoundwhen a witx guest deletes a missing KV key, matching the Compute platform (fastly/Viceroy#722). No Viceroy release providesreason_phrase_getyet, soResponse::get_reason_phrasestill fails under local Viceroy.Closes
Closes #528
Test plan
cargo test --workspace --all-targets(1550 passed, macOS)cargo clippy --workspace --all-targets --all-features -- -D warningscargo fmt --all -- --checkcargo check --workspace --all-targets --features "fastly cloudflare spin"cargo check -p edgezero-adapter-spin --target wasm32-wasip2 --features spin, pluscargo test -p edgezero-adapter-fastly --features fastly --target wasm32-wasip1 --libunder Viceroy 0.21.0 (97 passed). That binary does not linkRequest::send, so it did not catch the Viceroy requirement. CI's reusable-app smoke did.examples/app-demoworkspace:cd examples/app-demo && cargo test --workspace --all-targets(left to CI)cd docs && npm run lint && npm run format && npm run build(left to CI)edgezero serve --adapter axumscripts/check_shared_dep_pins.shpasses.cargo test -p edgezero-cli --lib generatorpasses.cargo auditon each of the four lockfiles drops RUSTSEC-2026-0592 and adds no new advisory. Thefastly wasm testsCI job runs the contract tests, request-fidelity probes and reusable-app smoke under Viceroy 0.22.0.Checklist
{id}syntax (not:id)edgezero_core(nothttpcrate)KvRegistry/ConfigRegistry/SecretRegistry(not the legacy single-handle setters) — see spec §6.6