Skip to content

docs(zopa): use the pullable ghcr.io/kanywst/zopa image - #34

Merged
kanywst merged 4 commits into
mainfrom
docs/zopa-image
Dec 2, 2026
Merged

kanywst merged 4 commits into
mainfrom
docs/zopa-image

Conversation

@kanywst

@kanywst kanywst commented Dec 2, 2026

Copy link
Copy Markdown
Member

ghcr.io/0-draft/zopa:v0.2.0 can't be pulled anymore (the registry answers 403 for the 0-draft namespace), and ghcr.io/kanywst/zopa has no v0.2.0 tag. Switch to ghcr.io/kanywst/zopa:v0.8.0, which pulls.

The image is distroless with no ls, so docker run --entrypoint=ls never worked. Replaced with the docker create / docker cp pattern from the zopa README; /zopa.wasm is in the v0.8.0 image.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cfd58389-f37d-43e3-b3f1-59eee32c1d6c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@claude

claude Bot commented Dec 2, 2026

Copy link
Copy Markdown

Small docs change to articles/introducing-zopa.md. It swaps the OCI image to ghcr.io/kanywst/zopa:v0.8.0 and rewrites the pull/inspect snippet as docker create + docker cp.

  • The image tag (v0.8.0) no longer matches the v0.2.0 release link or the v0.2.0 facts in the article, such as size and proxy-wasm version.
  • I could not verify the new image path, or that it is still multi-arch and cosign-signed.
  • docker create may need an explicit command if the image has no default.

Comment thread articles/introducing-zopa.md Outdated
- Issues: <https://github.com/dyokto/zopa/issues>
- v0.2.0 release: <https://github.com/dyokto/zopa/releases/tag/v0.2.0>
- OCI image: `ghcr.io/0-draft/zopa:v0.2.0`
- OCI image: `ghcr.io/kanywst/zopa:v0.8.0`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The image tag is now v0.8.0, but the line above still links the v0.2.0 release, and the article describes the v0.2.0 binary (~60 KB, proxy-wasm 0.2.1). A reader gets a different version from the one the article describes. Either pin the image to the release the article covers, or update the release link and the version-specific claims. I couldn't check from the repo that ghcr.io/kanywst/zopa:v0.8.0 exists, or that it's the same cosign-signed, multi-arch distroless image the text describes. The repo links point to dyokto/zopa while the image is under kanywst, so confirm that namespace is the published one.

docker pull ghcr.io/0-draft/zopa:v0.2.0
docker run --rm --entrypoint=ls ghcr.io/0-draft/zopa:v0.2.0 -lh /zopa.wasm
docker create --name zopa ghcr.io/kanywst/zopa:v0.8.0 && \
docker cp zopa:/zopa.wasm . && docker rm zopa

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The docker pull line is gone, and the docker create + docker cp extraction is a behaviour change. It's fine for a distroless image, since the old --entrypoint=ls couldn't have run there. But the next line ("staging /zopa.wasm from an initContainer") and the cosign claim above are unchanged. Consider adding a cosign verify example or dropping the claim, since the image path changed. Also, docker create without a command may fail if the image has no default CMD or ENTRYPOINT. Pass a placeholder command, e.g. docker create --name zopa IMAGE /zopa.wasm.

@kanywst

kanywst commented Dec 2, 2026

Copy link
Copy Markdown
Member Author

docker create without a command fails on this image (Error response from daemon: no command specified); with /zopa.wasm as a placeholder it creates and docker cp yields the 77 KB module, checked locally against v0.8.0. Added that, plus a sentence on why the image is v0.8.0 rather than v0.2.0 (v0.3.0 is the oldest tag under ghcr.io/kanywst/zopa). The v0.8.0 index digest has a sha256-<digest> signature tag, so the cosign-signed line still holds; the repo links are dyokto/zopa while the image stays under kanywst, which is where it is still published.

```bash
docker pull ghcr.io/0-draft/zopa:v0.2.0
docker run --rm --entrypoint=ls ghcr.io/0-draft/zopa:v0.2.0 -lh /zopa.wasm
docker create --name zopa ghcr.io/kanywst/zopa:v0.8.0 /zopa.wasm && \

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The image now lives under ghcr.io/kanywst/zopa, but every other link in the post (repo, issues, release at lines 313-315) points to dyokto/zopa, and #33 just moved the links to that org. The post doesn't explain why the image sits under a personal namespace, and a reader can't tell whether it's the official one. The post also says the image is cosign keyless-signed (line 262). A keyless signature is bound to the identity that built the image, so a verifier configured for the dyokto repo's workflow would fail against this one. Please check that kanywst/zopa:v0.8.0 exists, is publicly pullable, and is signed by the identity you expect. If ghcr.io/dyokto/zopa exists, use it.

Comment thread articles/introducing-zopa.md Outdated
docker cp zopa:/zopa.wasm . && docker rm zopa
```

The v0.2.0 image this post was written against was published under a namespace that no longer serves pulls, so the command uses v0.8.0, the newest image that does. The image has no shell and no default command; the trailing `/zopa.wasm` is only there because `docker create` requires one.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

These are factual claims that read as recalled, not sourced: "no longer serves pulls", "v0.8.0 is the newest image that does", and "no shell and no default command". Nothing in the PR links to a source for them. "Newest" also goes stale as soon as a later tag is published.

The post now mixes versions. It was written against v0.2.0, and the release link at line 315 still points to v0.2.0, while the image is v0.8.0. Nothing says that the /zopa.wasm path, the "Multi-arch" claim and the latency numbers still hold for v0.8.0. Either verify them against v0.8.0 or state that they were measured on v0.2.0.

The first sentence is also a maintenance note about the image registry, not about zopa. It would fit better as a short update note or a PR description than as post prose.

@claude

claude Bot commented Dec 2, 2026

Copy link
Copy Markdown

Reviewed the one-file change to articles/introducing-zopa.md. I found two problems, both inline.

  1. The image namespace is now kanywst/zopa, while every other link in the post uses dyokto/zopa. The post also says the image is cosign keyless-signed, and that claim needs checking against the new identity.
  2. The new text makes claims that look recalled, not sourced: the old namespace no longer serves pulls, and v0.8.0 is the newest image. The post now mixes v0.2.0 prose and release link with a v0.8.0 image, and nothing shows the benchmarks and file paths still apply.

There is no EN/JA counterpart for this article, so parity doesn't apply. The change touches no workflows.

@kanywst

kanywst commented Dec 2, 2026

Copy link
Copy Markdown
Member Author

Moved the note into a dated update block and dropped "newest". What it states was checked against the registry: ghcr.io/0-draft/zopa answers 403 to an anonymous pull token, ghcr.io/kanywst/zopa tags run v0.3.0 to v0.8.0 plus edge/latest, the v0.8.0 index has amd64 and arm64 manifests, its config has no Entrypoint/Cmd, and docker create … /zopa.wasm + docker cp produced the 77 KB module locally (without the argument: no command specified). The update says the size and latency figures are from v0.2.0.

Comment thread articles/introducing-zopa.md Outdated
docker cp zopa:/zopa.wasm . && docker rm zopa
```

> **Update (2026-12-03):** the v0.2.0 image this post used is no longer pullable, and the repository has since moved to `dyokto/zopa`. Releases up to v0.8.0 were published to `ghcr.io/kanywst/zopa`, so the command above uses v0.8.0 (multi-arch, `/zopa.wasm` at the root, no default command, hence the placeholder argument to `docker create`). The size and latency numbers in this post were measured on v0.2.0.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The update is dated 2026-12-03, but this PR was opened on 2026-12-02, so the date is in the future. Use the actual date or the merge date.

The note also makes several claims that read as recalled, not sourced: the v0.2.0 image is no longer pullable, releases up to v0.8.0 went to ghcr.io/kanywst/zopa, v0.8.0 is multi-arch, /zopa.wasm sits at the image root, and there is no default command. Please confirm each against the registry, for example with docker buildx imagetools inspect.

Line 261 still says the image is "cosign keyless-signed", and that was written about v0.2.0. A repo move from 0-draft to dyokto, with images published under a personal namespace, may change the signing identity. Either verify it for v0.8.0 or qualify the sentence.

Comment thread articles/introducing-zopa.md Outdated
- Issues: <https://github.com/dyokto/zopa/issues>
- v0.2.0 release: <https://github.com/dyokto/zopa/releases/tag/v0.2.0>
- OCI image: `ghcr.io/0-draft/zopa:v0.2.0`
- OCI image: `ghcr.io/kanywst/zopa:v0.8.0`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This links the v0.8.0 image, but the neighbouring line still points to the v0.2.0 release and the article body still describes v0.2.0 behaviour. The reference list now mixes versions without saying so. Either label the entry as the current pullable image or keep both versions explicit.

@claude

claude Bot commented Dec 2, 2026

Copy link
Copy Markdown

Two findings on articles/introducing-zopa.md, both inline.

  • The update note is dated 2026-12-03, which is in the future relative to this PR.
  • The new claims about the image are unsourced: the v0.2.0 image is no longer pullable, v0.8.0 is multi-arch, and the image layout. The "cosign keyless-signed" line at 261 is left unverified for the new namespace.

The Links section now mixes v0.2.0 and v0.8.0 references.

@kanywst

kanywst commented Dec 2, 2026

Copy link
Copy Markdown
Member Author

Ran cosign verify ghcr.io/kanywst/zopa:v0.8.0 --certificate-identity-regexp '^https://github.com/(kanywst|0-draft|dyokto)/zopa/' --certificate-oidc-issuer https://token.actions.githubusercontent.com: claims validated, tlog entry verified. The update note now says the v0.8.0 image is keyless-signed by the release workflow, and the reference entry is labelled as the current pullable tag rather than the v0.2.0 build.

docker cp zopa:/zopa.wasm . && docker rm zopa
```

> **Update (2026-12-03):** the v0.2.0 image this post used is no longer pullable, and the repository has since moved to `dyokto/zopa`. Releases up to v0.8.0 were published to `ghcr.io/kanywst/zopa`, so the command above uses v0.8.0 (multi-arch, keyless-signed by the zopa release workflow, `/zopa.wasm` at the root, no default command, hence the placeholder argument to `docker create`). The size and latency numbers in this post were measured on v0.2.0.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The update is dated 2026-12-03, but the current date is 2026-12-02, so it is stamped a day ahead. Use the actual merge or publish date.

The claims in the parenthetical are not backed by anything in the repo or the PR. I confirmed that a v0.8.0 release exists in dyokto/zopa. I could not confirm that ghcr.io/kanywst/zopa:v0.8.0 is pullable. A listing of the package's versions returned edge and bare sha256-… tags, with no v0.8.0 tag among them. I also could not confirm multi-arch, keyless signing or the /zopa.wasm path for that tag. Please check the tag with docker manifest inspect and cosign verify before publishing it.

Line 262 still says "distroless OCI image ... cosign keyless-signed" without a version, and the size and latency sections still describe v0.2.0. The note covers this, but nothing links v0.8.0 to those numbers.

@claude

claude Bot commented Dec 2, 2026

Copy link
Copy Markdown

One finding, inline on articles/introducing-zopa.md:268. The update note is dated 2026-12-03, which is a day ahead of the current date. The v0.8.0 image tag and its multi-arch and keyless-signing claims are also unverified. Only the v0.8.0 release itself was confirmed. Nothing else in the diff is a problem.

@kanywst
kanywst merged commit eb595d5 into main Dec 2, 2026
3 checks passed
@kanywst
kanywst deleted the docs/zopa-image branch December 2, 2026 23:44
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