docs(agents): the index digest, not the platform manifest, matches imageID #20
No reviewers
Labels
No labels
waiting-on-julian
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlxq0/jmap-mcp!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/index-digest-not-platform-manifest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I reported the wrong digest for
v0.2.15upward before catching this.docker manifest inspect -von an image index returns an array of per-platform manifests.[0].Descriptor.digestis thelinux/amd64manifest; a pod'simageIDcarries the index digest. Everyjmap-mcptag is anapplication/vnd.oci.image.index.v1+json.Calibration
Run against
v0.2.14, whose deployedimageIDwas already known:The
-varray holds[linux/amd64]and an[unknown/unknown]attestation entry. Neither is the index.The check here is a registry
HEADon/v2/jlxq0/jmap-mcp/manifests/<tag>with the index media types inAccept, readingDocker-Content-Digest, with a registry token from/v2/tokenrather than the Forgejo API token.Why the precondition was never visible
Measured across the five deployed MCP servers:
-vvs podimageIDjmap-mcpcaldav-mcphevy-mcpmatrix-mcptypst-mcpFour of five are single-manifest, where the fleet form is correct.
jmap-mcpis the only index.The direction it fails in
A platform manifest compared against a correctly deployed
imageIDreports a mismatch on a healthy image, which is the sentence that triggers a rollback. A correct instruction with an unstated precondition is worse than an incomplete one: the reader gets a definite wrong answer rather than an error.Caught by dry-running the check against a tag whose answer was already known, before relying on it for the release just cut. Pointed at
v0.2.15alone, both numbers look equally like a digest.Docs only.