Check if build output indicates a stale build state error.
(output: str)
| 416 | |
| 417 | |
| 418 | def _is_stale_build_error(output: str) -> bool: |
| 419 | """Check if build output indicates a stale build state error.""" |
| 420 | output_lower = output.lower() |
| 421 | return any(pattern in output_lower for pattern in _STALE_BUILD_PATTERNS) |
| 422 | |
| 423 | |
| 424 | def _recover_stale_wasm_build(build_dir: Path) -> bool: |