-
Notifications
You must be signed in to change notification settings - Fork 142
chore: update engine-full sdk #3740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 12-23-feat_engine_return_error_for_pending_actors
Are you sure you want to change the base?
chore: update engine-full sdk #3740
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
PR Review: Update engine-full SDKThis PR updates the generated SDKs (Go and Rust) for the engine-full API, adding error reporting structures for Rivet Actors and runner pools. While the OpenAPI schema changes look good, there are critical bugs in the generated Go SDK that will prevent compilation. Critical Issues ❌1. Duplicate Field Names in Go Struct (engine/sdks/go/api-full/types.go:1827-1838)The type RunnerPoolError struct {
typeName string
RunnerPoolErrorServerlessHttpError *RunnerPoolErrorServerlessHttpError
stringLiteral string // ❌ First declaration
RunnerPoolErrorServerlessConnectionError *RunnerPoolErrorServerlessConnectionError
stringLiteral string // ❌ Duplicate!
RunnerPoolErrorServerlessInvalidPayload *RunnerPoolErrorServerlessInvalidPayload
stringLiteral string // ❌ Duplicate!
}Impact: This code will not compile in Go. Go does not allow duplicate field names in structs. Root Cause: The OpenAPI generator is incorrectly handling the 2. Duplicate Method Declarations (engine/sdks/go/api-full/types.go:1864-1874)The func (r *RunnerPoolError) StringLiteral() string {
return r.stringLiteral
}
func (r *RunnerPoolError) StringLiteral() string { // ❌ Duplicate!
return r.stringLiteral
}
func (r *RunnerPoolError) StringLiteral() string { // ❌ Duplicate!
return r.stringLiteral
}Impact: Go does not allow duplicate method declarations. This will cause a compilation error. 3. Duplicate
|
Graphite Automations"Test" took an action on this PR • (01/02/26)1 assignee was added to this PR based on Kacper Wojciechowski's automation. |
93bc627 to
0d44a67
Compare
653f032 to
d0406b1
Compare

No description provided.