Viceroy icon indicating copy to clipboard operation
Viceroy copied to clipboard

Viceroy provides local testing for developers working with Compute.

Results 67 Viceroy issues
Sort by recently updated
recently updated
newest added

Issues like #120 will continue to come up so long as we dynamically link to system libraries. As we can't know whether customers will be using really old versions of...

feature-ux
maintenance

As noted in #285, a change in `hyper`'s behavior with empty chunked encoded bodies is observable via the assertions in the `async_io` test. We are pinning to 0.14.26 for now,...

With the new 0.4.0 release, Fastly CLI will auto-update Viceroy. In a debugging workflow for js-compute-runtime, I found I was getting the following debug logs before the update: ``` 2023-03-17T18:34:21.822242Z...

I think `pending_req_poll` should call [`tokio::task::yield_now`](https://docs.rs/tokio/latest/tokio/task/fn.yield_now.html) before [returning when the request is not ready](https://github.com/fastly/Viceroy/blob/92a7080e1b34275e25a8d8c661a5522474f348aa/lib/src/wiggle_abi/req_impl.rs#L609). A guest which invokes that hostcall in a loop, like the [upstream-async test fixture](https://github.com/fastly/Viceroy/blob/main/test-fixtures/src/bin/upstream-async.rs), may not...

When developing a website with Viceroy, my current process is 1. run `fastly compute serve --watch --watch-dir=src` 2. edit a file in `src` 3. Viceroy automatically rebuilds the service 4....

While reviewing the release branch in #261, I noticed that we have an awful lot of `viceroy-lib` exposed as public, including session methods like [insert_pending_request()](https://docs.rs/viceroy-lib/latest/viceroy_lib/session/struct.Session.html#method.insert_pending_request) and types like [`AsyncItem`](https://docs.rs/viceroy-lib/latest/viceroy_lib/session/enum.AsyncItem.html). It...

question

For `run`: this execution mode is one-and-done and not meant to emulate heap limits and such from real C@E, this should use Wasmtime's default allocator. This will both lower the...

We need to do a careful pass over the pipeline through which Viceroy yields errors back to the guest, to ensure that error codes match production C@E in all cases.

feature-prod

Our github actions currently have a race condition that can cause two separate draft releases to get created if two build jobs finish at the same time. This happened for...

In https://github.com/fastly/Viceroy/pull/188/, we found that Windows behaves differently than Unix-based platforms with respect to streaming bodies. In particular, the test tries to carefully construct a situation where we expect backpressure...