Scope
Activate and pass js/bun/s3/s3-list-encode-overflow.test.ts from the copied Bun corpus.
Required behavior
- Add reusable
S3Client.list()query construction for instance and static APIs. - Map Bun list options to their S3 ListObjectsV2 query names.
- Percent-encode values without fixed-size buffers, including 1024-byte inputs whose encoded form is much larger.
- Preserve
?and#inside S3 object keys in presigned URL paths. - Reject unavailable requests normally rather than panicking or overflowing.
- Add an exact-corpus repository regression and pass the full Home test gate.
Tracks a bounded S3 tranche of #66 and #81; the full response parser and list-objects integration remain separate follow-up work.