Files
Dario LipicarandClaude Opus 4.8 283e711639 Add executable doc-test (logoscore runtime) (#3)
* test: add executable logoscore doc-test (20/20 green)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: add doc-test workflow (publish to Pages + root index); pin spec to {release}

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(doctest): tolerate 'logoscore stop' exit on teardown (|| true)

The daemon-stop teardown step can be SIGTERM'd (exit -15) on CI runners under
'bash -e', reddening an otherwise-green run. Make the teardown non-fatal so the
published report reflects the actual assertions.

* fix(doctest): retry idempotent reads on transient RPC_FAILED

The first proxied call that drives a module through a blocking network round-trip
can hit a cold-replica/transport race on loaded CI runners (RPC_FAILED). The
affected calls are pure reads, so wrap them in a bounded retry-with-backoff
(6x, 3s) — the textbook-safe mitigation for transient RPC flakiness — so the
published report is reliably green. code_block keeps the rendered command clean.

* fix(doctest): survive 'logoscore stop' group-SIGTERM (trap) + reload-recover wedged transport

CI evidence: the teardown's -15 was the dominant remaining failure — 'logoscore
stop' SIGTERMs its own process group, killing the step shell directly (|| true
can't catch a signal), so guard the teardown with 'trap "" TERM'. token-list's
refresh also wedged its transport persistently within a session; on RPC_FAILED
it now reloads + re-configures the module before retrying.

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 14:00:11 -03:00
..