Skip to content

Doc 19: the registry does not know what language a package is - #17

Merged
ORESoftware merged 1 commit into
mainfrom
zed-pkg/registry-language-gap
Aug 4, 2026
Merged

Doc 19: the registry does not know what language a package is#17
ORESoftware merged 1 commit into
mainfrom
zed-pkg/registry-language-gap

Conversation

@ORESoftware

Copy link
Copy Markdown
Contributor

Records a gap that only browser-driving the live registry could surface — every earlier check ran against artifacts on disk or a file:// registry.

One publish of a four-language repository leaves five navigable packages, and nothing in the API or the UI says which language any of them is.

package.language / package.ecosystem are declared in the manifest and enforced by the install guard, but they stop at the artifact — absent from PackageMetadata, PackageSummary, and the package page. Two consequences:

  • Browsing the registry, acme-clients-java is indistinguishable from any unrelated package. The -java suffix is a naming convention the registry does not understand, and a target that overrode name has no suffix at all.
  • The language guard can only refuse a mismatched install after the artifact is downloaded and its manifest read. The registry could have refused it up front.

Paired with zed-pkg/zed-e2e#5, which adds the browser coverage this came out of. That suite asserts what the UI does expose — separate pages per language, distinct sha256 per slice, lockstep versions, and that the polyglot source name deliberately does not resolve. Language identity is the one thing it cannot assert, because there is nothing to assert against.

🤖 Generated with Claude Code

Driving the live registry in a browser surfaces what artifact-level and
file:// checks cannot: one publish of a four-language repo leaves five
navigable packages and nothing in the API or UI says which language any of
them is. package.language/ecosystem stop at the artifact.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ORESoftware
ORESoftware merged commit aa79f10 into mainAug 4, 2026
2 checks passed
@linear-code

Copy link
Copy Markdown

DEN-1660

Sign up for freeto 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

@ORESoftware@alexddl329