Skip to content

src: enable kv directory listing for some dirs - #1002

Open
flakey5 wants to merge 2 commits into
mainfrom
flakey5/20260811/kv
Open

src: enable kv directory listing for some dirs#1002
flakey5 wants to merge 2 commits into
mainfrom
flakey5/20260811/kv

Conversation

@flakey5

@flakey5 flakey5 commented Aug 11, 2026

Copy link
Copy Markdown
Member

Enables kv-backed directory listing for every path other than mainline releases (nodejs/release/) in prod. Staging remains serving kv-backed listings for all paths.

Enables kv-backed directory listing for every path other than mainline
releases (`nodejs/release/`) in prod. Staging remains serving kv-backed
listings for all paths.

Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com>
@flakey5
flakey5 requested a review from a team as a code owner August 11, 2026 21:28

if (this.ctx.env.USE_KV) {
return await kvProvider.readDirectory(path);
if (this.ctx.env.KV_DIRECTORIES !== undefined) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kinda ugly but temp

Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants