Remote Cache OpenAPI specification doesn't mention x-artifact-tag
for /v8/artifacts/{hash}
get API
#9217
Labels
area: docs
Improvements or additions to documentation
Verify canary release
Link to code that reproduces this issue
N/A, this is an issue with Remote Cache OpenAPI
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.1.2-canary.1
Describe the Bug
Remote Cache OpenAPI specification doesn't mention
x-artifact-tag
for/v8/artifacts/{hash}
get API.The existing OpenAPI specification doesn't seem to be versioned in URL, so I'm copying the contents here for
v3.0.3
.put
Contains
x-artifact-tag
in headerget
Does not contain
x-artifact-tag
in headerAs per documentation in Artifact Integrity and Authenticity Verification, it appears that
get
call needs to havex-artifact-tag
in header for turborepo client to process it.The client source code checks for signature in
x-artifact-tag
turborepo/crates/turborepo-cache/src/http.rs
Lines 224 to 228 in 7f13523
Expected Behavior
The Remote Cache OpenAPI specification should mention
x-artifact-tag
for/v8/artifacts/{hash}
get APITo Reproduce
Go through Remote Cache API specification, documentation and client implementation in description
Additional context
No response
The text was updated successfully, but these errors were encountered: