Compare commits

..

1 Commits

Author SHA1 Message Date
diegosouzapw
eb5a9f9a4a fix(ci): port the release-green ESLint gate fix to main (base-red #12363)
`main` still runs the pre-#11890 ESLint gate: a 30-minute ceiling, no
`--cache`, and a call site that funnels every non-JSON outcome into the
single detail string "could not parse eslint json".

A cold runner now crosses 30 minutes on this repository, so the gate is
killed, and main's code then reports the timeout as a parser problem —
which is why base-red #12363 lists `ESLint: could not parse eslint json`
with nothing to act on. The release branch fixed exactly this and main
never received it, the case merge-gates §8 prescribes a companion PR for.

Ports the release-side change verbatim:
- `ESLINT_TIMEOUT_MS` (60min) replaces the inline 30-minute ceiling.
- `--cache --cache-location .eslintcache` on the gate's ESLint run.
- `evaluateEslintRun()` keeps a ceiling kill reported as a ceiling kill,
  and only calls the report invalid when ESLint actually exited 0 without
  producing one.

Validated TDD: the ported test fails on main's current script with
`TypeError: evaluateEslintRun is not a function`, and passes (31/31)
with the port. Sibling suites `release-green-docs-drift-7253` (3/3) and
`sync-next-cycle` (11/11) stay green.
2026-09-03 12:41:55 -03:00

Diff Content Not Available