-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates Positron to use 0.1.9 of the Kallichore supervisor. This update includes the following features: - Rework "start kernel" RPC to not return until kernel has actually started, and include stderr/stdout if it fails to start or connect. Addresses #4960. - Busy/idle time reporting, intended for use in Posit Workbench. - 20 second timeout to avoid hanging when waiting for a ZeroMQ socket connect. - Bearer token auth; RPCs that change state now check the token (already supplied by Positron). ### QA Notes This is mostly internal improvements; #4690 has an example that can be used to create startup failures.
- Loading branch information
Showing
10 changed files
with
160 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
extensions/kallichore-adapter/src/kcclient/model/startupError.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* Kallichore API | ||
* Kallichore is a Jupyter kernel gateway and supervisor | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* Contact: info@posit.co | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { RequestFile } from './models'; | ||
import { ModelError } from './modelError'; | ||
|
||
export class StartupError { | ||
/** | ||
* The exit code of the process, if it exited | ||
*/ | ||
'exitCode'?: number; | ||
/** | ||
* The output of the process (combined stdout and stderr) emitted during startup, if any | ||
*/ | ||
'output'?: string; | ||
'error': ModelError; | ||
|
||
static discriminator: string | undefined = undefined; | ||
|
||
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ | ||
{ | ||
"name": "exitCode", | ||
"baseName": "exit_code", | ||
"type": "number" | ||
}, | ||
{ | ||
"name": "output", | ||
"baseName": "output", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "error", | ||
"baseName": "error", | ||
"type": "ModelError" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return StartupError.attributeTypeMap; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters