The boss-attack e2e test keeps reporting bossHp completely unchanged
(1200, not just short of the timeout) on the CI runner, across two
separate runs, while it passes reliably in ~11s locally. Couldn't get
more signal from the runner itself: test-results/ (screenshots,
trace.zip, error-context.md) was never uploaded anywhere by the
workflow, so it's gone the moment the ephemeral job container is torn
down -- there was nothing left to retrieve.
Two changes to actually get signal on the next failure instead of
guessing blind:
- internal/transport/http.go: a rejected intent (e.g. "boss out of
reach", "attack cooldown") already gets stored on c.Message for the
client to show as a notice, but was never logged server-side. Now it
is, via slog.Warn, so it shows up directly in the [WebServer] console
output already captured in the job log -- no artifact retrieval
needed.
- .gitea/workflows/build.yaml: upload test-results/ as a build artifact
when the verify job fails, so trace.zip etc. survive past the job
container for cases where the console log alone isn't enough.
Verified server still builds/vets clean and the full local e2e suite
(all 7 tests across game.spec.ts + portal.spec.ts, matching CI's count)
still passes.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
container.options: --add-host=docker-host:host-gateway in the runner's
config is meant to make "docker-host" resolve inside job containers, but
that alias isn't landing on the publish job's container (DNS lookup of
docker-host fails there). act_runner's own connection to the same daemon
does resolve it, via the pod's hostAliases entry to 172.17.0.1 (proven by
verify's Postgres service container working over it). Point DOCKER_HOST
at that address directly instead of depending on the container-option
alias.
This is a stopgap: it hardcodes a node-internal bridge IP into the
workflow. The real fix is on the runner side, figuring out why
container.options isn't reaching job containers.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>