mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
On 2026-08-27 three self-hosted Windows runners failed the reset guard with
bare '(git-exit-128)' tags and no cause - the probe discarded stderr, and
diagnosing the real error ('fatal: detected dubious ownership' after the
runner service account changed out from under the workspace) took a remote
login to the machines.
The probe now captures stderr (stderr into the substitution, stdout dropped)
and the first stderr line rides along in the ::error annotation, re-encoded
so the runner's percent-decoding cannot mangle it. A failing 'git checkout'
gets the same treatment and its full stderr is still re-emitted to the log.
Exit-status handling, per-path tracked/untracked semantics and the
fail-closed behavior are unchanged; verified under bash -eo pipefail across
tracked/untracked/absent/pnpm-shape/broken-repo/silent-failure fixtures,
with the old code as a known-dirty control.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>