Report toolkit client startup failures
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m1s
Foundation / checks (tsan) (push) Successful in 9m9s
Foundation / checks (client) (push) Successful in 13m13s
Foundation / checks (postgres) (push) Failing after 23m17s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 25m2s

This commit is contained in:
dingo
2026-10-11 18:35:24 -04:00
parent 082c7f9c33
commit 11bff3169e
2 changed files with 7 additions and 1 deletions
+5 -1
View File
@@ -274,7 +274,11 @@ void native_input() {
void toolkit_capture() {
const auto frame = fixture();
auto result = Application::open({320, 240, false, "software"});
CHECK(result);
if (!result)
throw std::runtime_error("toolkit-capture open failed error=" +
std::to_string(static_cast<unsigned>(result.error())) +
" SDL_WasInit=" + std::to_string(SDL_WasInit(0)) +
" SDL=" + SDL_GetError());
auto app = std::move(result.value());
CHECK(app->poll_events());
const auto id = SDL_GetWindowID(window());