MCPcopy Create free account
hub / github.com/FastLED/FastLED / is_stale_build_error

Function is_stale_build_error

ci/meson/compile.py:66–74  ·  view source on GitHub ↗

Check if compilation output indicates a stale build state error. These errors typically occur when source/header files are renamed or deleted but the build system still references the old paths. They are recoverable by cleaning stale deps and reconfiguring.

(output: str)

Source from the content-addressed store, hash-verified

64
65
66def is_stale_build_error(output: str) -> bool:
67 """Check if compilation output indicates a stale build state error.
68
69 These errors typically occur when source/header files are renamed or deleted
70 but the build system still references the old paths. They are recoverable
71 by cleaning stale deps and reconfiguring.
72 """
73 output_lower = output.lower()
74 return any(pattern in output_lower for pattern in STALE_BUILD_PATTERNS)
75
76
77def _is_compilation_error(line: str) -> bool:

Callers 1

run_streaming_pathFunction · 0.90

Calls 1

anyFunction · 0.85

Tested by

no test coverage detected