diff --git a/.buildkite/emscripten.yml b/.buildkite/emscripten.yml --- a/.buildkite/emscripten.yml +++ b/.buildkite/emscripten.yml @@ -1,10 +1,21 @@ steps: - label: 'Emscripten build' + key: 'emscripten-build' command: - 'cd web' - 'nix develop --accept-flake-config --command yarn build-db-wasm' - 'git diff --exit-code' - retry: - automatic: true agents: - 'mac=true' + + - wait: + continue_on_failure: true + + - label: 'Clean on failure' + command: | + if [ $(buildkite-agent step get "outcome" --step "emscripten-build") == "hard_failed" ]; then + cd web + nix develop --accept-flake-config --command yarn clean-db-wasm + nix develop --accept-flake-config --command yarn build-db-wasm + git diff --exit-code + fi diff --git a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp --- a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp +++ b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp @@ -963,8 +963,8 @@ default_on_db_open_callback(db); std::stringstream db_path; - db_path << "db path: " << SQLiteQueryExecutor::sqliteFilePath.c_str() - << std::endl; + db_path << "db path: TESTESTEST " + << SQLiteQueryExecutor::sqliteFilePath.c_str() << std::endl; Logger::log(db_path.str()); auto db_version = get_database_version(db);