Repository navigation
docs/test: fetchWebKey example route + conformance coverage - #204
Merged
Merged
Conversation
Demonstrates the key-addressed seam: an alias map (standing in for a DB / token resolver / tenant prefix) decouples the public id from the storage key, so a key full of reserved characters is served verbatim — the case the URL-addressed fetchWeb path can't carry. Verified e2e against s3proxy-public: /download/home -> index.html (200), /download/special -> the specialCharacters!... object (200, 46B), /download/bogus -> 404. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bumps @forkzero/s3-website-test-kit ^0.4.0 -> ^0.5.0 (adds scenarios/s3proxy/key-addressed.yml) and extends `make conformance-local` to run it against examples/hono-basic.ts on :8083 — so the CI conformance gate exercises the new fetchWebKey /download/:id route end-to-end (/download/home + /download/special -> 200, /download/bogus -> 404). Verified green against real S3 (make conformance-local exit 0). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Builds on the
fetchWebKeyAPI (shipped in #203) with a runnable example and end-to-end conformance coverage, ahead of the 5.1.0 release.Changes
examples/hono-basic.ts: a/download/:idroute usingfetchWebKey— an alias map (standing in for a DB / token resolver / tenant prefix) decouples the public id from the storage key, demonstrating verbatim key serving (incl. a reserved-character key the URL path can't carry).@forkzero/s3-website-test-kit^0.4.0 → ^0.5.0(addsscenarios/s3proxy/key-addressed.yml) and extendmake conformance-localto run it against hono-basic on :8083. CI's conformance gate now exercisesfetchWebKeyend-to-end.Verified against real S3
make conformance-local→ exit 0: fastify core/error (expect.ok 16) + hono key-addressed (/download/home&/download/special→ 200,/download/bogus→ 404,expect.ok 4),vusers.failed: 0.Related: #162, forkzero/s3-website-test-kit#11.
🤖 Generated with Claude Code