@@ -60,8 +60,6 @@ const MAX_AGE_ONE_YEAR: HeaderValue = HeaderValue::from_static("public, max-age=
60
60
const DOCKER_PROCESS_TIMEOUT_SOFT : Duration = Duration :: from_secs ( 10 ) ;
61
61
62
62
mod websocket;
63
- pub use websocket:: CoordinatorManagerError as WebsocketCoordinatorManagerError ;
64
- pub ( crate ) use websocket:: ExecuteError as WebsocketExecuteError ;
65
63
66
64
#[ derive( Debug , Clone ) ]
67
65
struct CoordinatorOneOffFactory ( Arc < CoordinatorFactory > ) ;
@@ -997,9 +995,6 @@ enum Error {
997
995
#[ snafu( display( "{PLAYGROUND_GITHUB_TOKEN} not set up for reading/writing gists" ) ) ]
998
996
NoGithubToken ,
999
997
1000
- #[ snafu( display( "Unable to deserialize request" ) ) ]
1001
- Deserialization { source : serde_json:: Error } ,
1002
-
1003
998
#[ snafu( transparent) ]
1004
999
EvaluateRequest {
1005
1000
source : api_orchestrator_integration_impls:: ParseEvaluateRequestError ,
@@ -1035,9 +1030,6 @@ enum Error {
1035
1030
source : api_orchestrator_integration_impls:: ParseMacroExpansionRequestError ,
1036
1031
} ,
1037
1032
1038
- #[ snafu( display( "The WebSocket worker panicked: {}" , text) ) ]
1039
- WebSocketTaskPanic { text : String } ,
1040
-
1041
1033
#[ snafu( display( "Unable to find the available crates" ) ) ]
1042
1034
Crates {
1043
1035
source : orchestrator:: coordinator:: CratesError ,
@@ -1093,24 +1085,6 @@ enum Error {
1093
1085
1094
1086
#[ snafu( display( "The operation timed out" ) ) ]
1095
1087
Timeout { source : tokio:: time:: error:: Elapsed } ,
1096
-
1097
- #[ snafu( display( "Unable to spawn a coordinator task" ) ) ]
1098
- StreamingCoordinatorSpawn {
1099
- source : WebsocketCoordinatorManagerError ,
1100
- } ,
1101
-
1102
- #[ snafu( display( "Unable to idle the coordinator" ) ) ]
1103
- StreamingCoordinatorIdle {
1104
- source : WebsocketCoordinatorManagerError ,
1105
- } ,
1106
-
1107
- #[ snafu( display( "Unable to perform a streaming execute" ) ) ]
1108
- StreamingExecute { source : WebsocketExecuteError } ,
1109
-
1110
- #[ snafu( display( "Unable to pass stdin to the active execution" ) ) ]
1111
- StreamingCoordinatorExecuteStdin {
1112
- source : tokio:: sync:: mpsc:: error:: SendError < ( ) > ,
1113
- } ,
1114
1088
}
1115
1089
1116
1090
type Result < T , E = Error > = :: std:: result:: Result < T , E > ;
0 commit comments