mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-07-16 17:26:58 -04:00
Replace real compiler dependency with cy.intercept-based response stubbing.
All compilation responses are handled client-side — no custom compiler class
on the server. The server only needs /bin/true as a no-op binary.
Key changes:
- cypress/support/fake-compile.ts: intercept handlers that echo source as
asm by default, with stubCompileResponse()/stubExecutorResponse() for
canned overrides
- etc/config/c++.cypress.properties: fake1/fake2 compilers using /bin/true
- .github/workflows/test-frontend.yml: use --env cypress
- All 12 test specs updated to use stub API instead of real compilers
81/81 tests passing.
🤖 Generated by LLM (Claude, via OpenClaw)