Skip to content

[explorer] add DO api (part 1)#12546

Merged
emily-shen merged 10 commits intomainfrom
emily/do-api
Feb 13, 2026
Merged

[explorer] add DO api (part 1)#12546
emily-shen merged 10 commits intomainfrom
emily/do-api

Conversation

@emily-shen
Copy link
Copy Markdown
Contributor

@emily-shen emily-shen commented Feb 12, 2026

This adds endpoints to list DO namespaces and DO objects. Querying DO sqlite will be more complex, so it'll come in its own PR.

  1. list namespaces - this follows the pattern of the other resources and gets the namespaces from the available bindings. we want to list only internal DOs and unbound ones, but not external DOs.
  2. list objects - this uses the node loopback to read the persistence directory and get the DO object ids. We cant go from id -> name so unfortunately we will not be able to list by name (if a DO was created with idFromName or getByName. We can go from name -> id and search for matching ids though, so we can add a search to the UI as a workaround.

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: wip experimental

A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@emily-shen emily-shen requested a review from a team as a code owner February 12, 2026 15:07
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 12, 2026

🦋 Changeset detected

Latest commit: 5af6281

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 12, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@12546

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@12546

miniflare

npm i https://pkg.pr.new/miniflare@12546

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@12546

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@12546

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@12546

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12546

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@12546

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@12546

wrangler

npm i https://pkg.pr.new/wrangler@12546

commit: 5af6281

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 6 additional findings in Devin Review.

Open in Devin Review

@claude
Copy link
Copy Markdown
Contributor

claude bot commented Feb 12, 2026

Claude finished @emily-shen's task —— View job


Changeset Review

✅ All changesets look good

The changeset .changeset/plain-trains-marry.md is valid:

  • Version Type: minor is correct for a new feature (adding DO namespace and object listing endpoints)
  • Changelog Quality: Clear description that explains what's being added
  • Markdown Headers: No problematic h1/h2/h3 headers present
  • Experimental Features: Includes note that this is "part of an experimental, WIP feature"

@emily-shen emily-shen marked this pull request as draft February 13, 2026 10:31
@emily-shen emily-shen marked this pull request as ready for review February 13, 2026 15:46
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View 11 additional findings in Devin Review.

Open in Devin Review

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Feb 13, 2026
@emily-shen emily-shen merged commit 43c462a into main Feb 13, 2026
41 of 42 checks passed
@emily-shen emily-shen deleted the emily/do-api branch February 13, 2026 18:34
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants