Repository navigation
docs(providers): fix binaries example and archive checksum docs - #1600
Conversation
Remove archivePath from the direct-binary example; it made Devsy try to extract a non-archive URL. Add a separate tar.gz archive example. Document that the checksum is the SHA256 of the extracted executable (the archive itself is never hashed) and that checksum is optional.
✅ Deploy Preview for devsydev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
✅ Deploy Preview for images-devsy-sh canceled.
|
|
@greptileai review |
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
[Low impact] The documentation changes appear safe to merge. SummaryUpdates
Reviews (2) · Last reviewed commit: "docs(providers): scope archive and check..." · Reviewed by Greptile |
|
Both Greptile clarifications are valid against downloadBinary/handleLocalBinary and validateExternalLocations. A docs-only follow-up is in progress to scope remote archive behavior and document the external-driver checksum requirement. |
|
@greptileai review |
|
@coderabbitai full review |
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
CodeRabbit description warning disposition: this automated docs-only PR uses the maintenance skill template. Issue: none. Type: Docs. AI assistance: Haiku authored the correction; coordinator checked each changed claim against provider parsing/download/external-driver code. No human reviewer attestation is claimed. Site build and link checks passed; integration tests are not applicable to this content-only diff. Final-head CLI review has zero findings, GitHub full review completed with no actionable comments, and Greptile is 5/5. |
Summary
Docs-only fix to
sites/docs-devsy-sh/content/docs/developing-providers/binaries.mdx(23 added, 2 removed lines vsorigin/main).pathis anhttp://orhttps://URL. Local archive paths are copied, not extracted.nameis ignored for HTTP(S) archives.checksumis optional, except for theagent.binariesentry selected byagent.external.binary, which requires SHA-256 for every platform. Links to the External Driver section.archivePath.Why
Greptile review found earlier claims that did not match code:
pkg/provider/download.go:handleLocalBinarycopies local files and does not extract archives.downloadArchiveis reached only throughdownloadRemoteBinary.pkg/provider/external.go:validateExternalLocationsrejects missing or non-32-byte SHA-256 checksums for the external driver binary.Removed claims: "archive itself is never hashed" (unscoped), "
namehas no effect on archives", and blanket "checksum is optional".Validation
Run in
sites/docs-devsy-shon commit8fe8ddc1c:npm ci: exit 0.npm run build: exit 0 (first run; no retry needed).npm run check-links: exit 0,0 errored file, 0 errors.CodeRabbit CLI
coderabbit review --agent --committed --base-commit 2a0a20255ceb9f4e6c638b95c21311f556d8ba39on8fe8ddc1c:review_completed,findings: 0, reviewed filesites/docs-devsy-sh/content/docs/developing-providers/binaries.mdx. Earlier attempts were rate-limited; the successful run was after the reset. The earlierfindings: 0on5c03a3e8bis superseded.Auto-merge
Not enabled. Not merged. Not marked ready.
Next