platform: publish the two release reads that already answer — regenerate the document
surface-check is red on origin/main, and not for a code reason: e08670d5
("a 202 that launches nothing is a lie") mounted GET /v1/runner/releases and
GET /v1/runner/releases/:id in platform.go but did not regenerate the
document, so two routes that SERVE were published nowhere.
That is the exact failure the gate names: "routes that exist and are
undocumented ... the SDK repos pull this file, so a route missing here is a
route no generated client can reach." The 202-answerability those handlers
restore is only half the fix — an id you can ask about through a client that
was never generated the method to ask with is still unanswerable.
This is the gate's own prescribed remedy (make describe, then commit
openapi.yaml and plugin/*/{openapi,mcp}.json), and nothing else: regenerated
FROM SOURCE, the diff is +42 lines and 0 deletions, exactly the two routes
and their :id path parameter. mcp.json is untouched because these are raw
cloud.Handle routes rather than typed ops, so they mint no MCP tool.
Found by running the drift gate on a rebase, not by reading the diff — which
is the point of a gate that regenerates rather than compares.
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
@@ -45458,6 +45458,22 @@ paths:
|
||||
operationId: post_v1_runner
|
||||
tags:
|
||||
- runner
|
||||
/v1/runner/releases:
|
||||
get:
|
||||
operationId: get_v1_runner_releases
|
||||
tags:
|
||||
- runner
|
||||
/v1/runner/releases/{id}:
|
||||
get:
|
||||
operationId: get_v1_runner_releases_by_id
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
tags:
|
||||
- runner
|
||||
/v1/s3:
|
||||
get:
|
||||
description: |-
|
||||
|
||||
@@ -754,6 +754,32 @@
|
||||
"runner"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/runner/releases": {
|
||||
"get": {
|
||||
"operationId": "get_v1_runner_releases",
|
||||
"tags": [
|
||||
"runner"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/runner/releases/{id}": {
|
||||
"get": {
|
||||
"operationId": "get_v1_runner_releases_by_id",
|
||||
"tags": [
|
||||
"runner"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
|
||||
Reference in New Issue
Block a user