mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
refactor(dynamic): add multi-method support to RouteShape, update framework bindings, and improve test coverage
This commit is contained in:
parent
4bcdec3a1b
commit
ca075a7141
55 changed files with 524 additions and 215 deletions
|
|
@ -288,7 +288,18 @@ pub fn run_spec(spec: &HarnessSpec, opts: &SandboxOptions) -> Result<RunOutcome,
|
|||
Err(build_sandbox::BuildError::BuildFailed { stderr, attempts }) => {
|
||||
return Err(RunError::BuildFailed { stderr, attempts });
|
||||
}
|
||||
Err(_) => {}
|
||||
Err(build_sandbox::BuildError::Io(e)) => {
|
||||
return Err(RunError::BuildFailed {
|
||||
stderr: format!("prepare go build cache: {e}"),
|
||||
attempts: 1,
|
||||
});
|
||||
}
|
||||
Err(build_sandbox::BuildError::Unsupported) => {
|
||||
return Err(RunError::BuildFailed {
|
||||
stderr: "go build preparation unsupported on this host".to_owned(),
|
||||
attempts: 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Lang::Java => {
|
||||
|
|
@ -306,7 +317,18 @@ pub fn run_spec(spec: &HarnessSpec, opts: &SandboxOptions) -> Result<RunOutcome,
|
|||
Err(build_sandbox::BuildError::BuildFailed { stderr, attempts }) => {
|
||||
return Err(RunError::BuildFailed { stderr, attempts });
|
||||
}
|
||||
Err(_) => {}
|
||||
Err(build_sandbox::BuildError::Io(e)) => {
|
||||
return Err(RunError::BuildFailed {
|
||||
stderr: format!("prepare java build cache: {e}"),
|
||||
attempts: 1,
|
||||
});
|
||||
}
|
||||
Err(build_sandbox::BuildError::Unsupported) => {
|
||||
return Err(RunError::BuildFailed {
|
||||
stderr: "java build preparation unsupported on this host".to_owned(),
|
||||
attempts: 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Lang::Php => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue