anomalyco / anomalyco/opencode
provider-benchmark.sh fails on dnf-based sandboxes (hardcodes apt-get)
Open
@rekram1-node is already working on this.
Since Jul 21, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
script/provider-benchmark.sh on the provider-benchmark branch hardcodes apt-get in its prepare() step. Sandbox providers whose images are dnf based (e.g. Vercel Sandbox, which runs Amazon Linux 2023) fail immediately with BENCH_ERROR prepare apt_get_required, so the benchmark can never run there.
Steps to reproduce
- Start an Amazon Linux 2023 environment (a Vercel sandbox, or
docker run -it amazonlinux:2023) curl -fsSL https://raw.githubusercontent.com/anomalyco/opencode/provider-benchmark/script/provider-benchmark.sh | bash- Script exits with
BENCH_ERROR prepare apt_get_required
Operating System
Amazon Linux 2023 (x86_64)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.