Skip to content

docs(oci): make the wasm.directory registration step concrete - #305

Merged
avrabe merged 5 commits into
mainfrom
docs/wasm-directory-registration-concrete
Jul 23, 2026
Merged

docs(oci): make the wasm.directory registration step concrete#305
avrabe merged 5 commits into
mainfrom
docs/wasm-directory-registration-concrete

Conversation

@avrabe

@avrabe avrabe commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What

The docs/OCI-DISTRIBUTION.md registration step (step 2, "register the namespace with wasm.directory") was vague — it said to "add the namespace → ghcr.io mapping to the wasm.directory registry config", which doesn't match how wasm.directory actually works.

The actual mechanism

Registration is a GitHub issue on the index repo (yoshuawuyts/wasm), not a config file you push:

  • open the registry-entry issue template with kind=component, namespace=pulseengine, package=falcon-flight, repository=falcon-flight
  • submitting it auto-opens a PR adding registry/pulseengine.toml:
    [namespace]
    name = "pulseengine"
    registry = "ghcr.io/pulseengine"
    
    [[component]]
    name = "falcon-flight"
    repository = "falcon-flight"
  • a new namespace is flagged for maintainer review → the ghcr package must already exist and be public before submitting, else it's rejected.

Why now

I'm validating the ghcr OCI push end-to-end (release re-run for v1.127.0). This documents the exact registration fields the org owner will need for step 2, so the mechanism doesn't have to be re-derived when the package goes public.

Docs-only; no crates/artifacts/CI touched.

🤖 Generated with Claude Code

The registration path was described vaguely ("add the namespace mapping to
the wasm.directory registry config"). It is actually a GitHub issue on the
index repo (yoshuawuyts/wasm): open the `registry-entry` template with
kind=component / namespace=pulseengine / package=falcon-flight /
repository=falcon-flight, which auto-opens a PR adding
registry/pulseengine.toml. A new namespace is flagged for maintainer review,
so the ghcr package must already exist and be public first.

Documents the exact issue fields and the resulting toml so the org owner can
follow it without re-deriving the mechanism.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HvusAXYbHLyv3uTzfBcMbG
@avrabe
avrabe enabled auto-merge (squash) July 22, 2026 21:10
avrabe and others added 3 commits July 23, 2026 07:14
Reviewer caught it: the index repo is `yoshuawuyts/wasm.directory` (the
`wasm`/`component-registry` names redirect to it), not `yoshuawuyts/wasm`.
Also document the intended tool path — `component registry publish` prefills
the registry-entry issue from a wasm.toml `[package]` — and make explicit that
pushing the bytes (wkg oci push) and indexing in the meta-registry are two
separate steps. Add the `OCI registry (new namespaces only)` field and a status
note pointing at the actual filed issue #466 / auto-PR #467.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HvusAXYbHLyv3uTzfBcMbG
@avrabe
avrabe merged commit f0740c4 into main Jul 23, 2026
54 checks passed
@avrabe
avrabe deleted the docs/wasm-directory-registration-concrete branch July 23, 2026 17:15
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.

1 participant