A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(ci): fetching an optional oracle cannot cost the job that wanted it
esenginee4125156da07
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 0030d2bc7..c64ddd7ea 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -389,16 +389,26 @@ jobs:ELECTRON_DISABLE_SANDBOX: '1'run: xvfb-run -a node tools/verify-render.mjs --tier pr --host editor --no-build --budget 10- # The editor's unit suites. They ran in the `test` job, which has no editor- # checkout — `pnpm --filter` prints "No projects matched" and exits 0, so the- # job reported success having run none of them.+ # Both are DEEPER oracles the Android tests skip when absent, so fetching them+ # must not be able to cost more than they are worth. Unbounded, this step hung+ # for 38 minutes and took the job's whole budget with it — and a job killed at+ # its ceiling writes no log. Each failure now says which assertions it costs.- name: Set up the Android packaging oracles+ timeout-minutes: 6run: |- pip install --quiet androguard- curl -fsSL -o "$RUNNER_TEMP/bundletool.jar" \- https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar- echo "BUNDLETOOL_JAR=$RUNNER_TEMP/bundletool.jar" >> "$GITHUB_ENV"+ pip install --quiet --timeout 30 --retries 2 androguard \+ || echo "::warning::androguard unavailable — the Android manifest tests run structural-only"+ if curl -fsSL --connect-timeout 20 --max-time 180 --retry 2 \+ -o "$RUNNER_TEMP/bundletool.jar" \+ https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar; then+ echo "BUNDLETOOL_JAR=$RUNNER_TEMP/bundletool.jar" >> "$GITHUB_ENV"+ else+ echo "::warning::bundletool unavailable — the .aab tests run structural-only"+ fi+ # The editor's unit suites. They ran in the `test` job, which has no editor+ # checkout — `pnpm --filter` prints "No projects matched" and exits 0, so the+ # job reported success having run none of them.- name: Run Desktop testsrun: pnpm --filter @estella/editor exec vitest run