Commit Graph
7 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 f9cca837b0 ci: named tests can be non-gating with an open issue; the preview fencing round is (#920)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 19:37:14 -08:00
pingqiuandClaude Opus 5.5 d7abff2bac ci: a failed test's message keeps its continuation lines
The summary kept only each file:line line, so a message whose reason is on
its next lines (a holder's log tail after "its log ends:") lost it. Each
own message now keeps its last 20 continuation lines; a harness header's
dump stays out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:58:21 -08:00
pingqiuandClaude Opus 5.5 ff604a3b27 ci: skip the harness's cleanup headers when showing a failed test's own messages
Run 3 at 19cef1c printed each failed test's own file:line lines, but for
two tests the twelve shown were all cleanup headers ('<process> log:',
'---- <x> log tail ----'), pushing the failing assertion out. Those
headers and successful command echoes are no longer counted. Control: the
reason is shown behind 21 such headers; a mutant without the filter turns
it red.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 03:28:22 -08:00
pingqiuandClaude Opus 5.5 56c45dc284 ci: show a failed test's own messages, not only the harness's log dump
Run 2 at 774ee23 showed the last 40 lines of each failed test, which were
the harness's SeaweedFS log tails printed after the failure; the test's
own file:line messages fell outside. The gate now prints the test's own
messages (its last 12 file:line lines at the test's indent) and then its
last 5 lines. Control: the reason line is shown behind 60 lines of log
noise; a mutant that drops the own lines turns it red.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 02:37:47 -08:00
pingqiuandClaude Opus 5.5 774ee23f79 ci: show each failed named test's last output lines
The events file is not kept, so the job log showed which tests failed but
not why. The gate now prints the last 40 output lines of every named test
that did not pass. Control: a failed test's reason line appears.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 01:53:36 -08:00
pingqiuandClaude Opus 5.5 ab6531ea02 ci: the process-level gate needs exit 0 from every test process too
Code review at 1fb51fc: the loop printed each process's exit status and
dropped it, and the checker ignored package-level failures, so a test
that reported PASS and then failed, panicked or hung on its way out
passed. run-named-tests.sh now keeps each process's status; the checker
(--status) passes a named test only with a PASS event and exit 0, and any
package-level failure fails the run. Controls: 7 new gate cases, and a
real-shell control with fake test binaries (PASS then exit 1, PASS then a
hang until the timeout) that both fail the gate; dropping the status in
the runner turns two of them red.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 01:33:17 -08:00
pingqiu e89276507f ci: run the named process-level tests; a skip or a test that never ran fails
The process-level tests (cmd/blockvolume, tags subprocess and
chunkstore_integration) were only compiled; the workflow ran two of them.
A new job runs every test named in .github/process-level-tests.txt, each
in its own bounded process of one prebuilt test binary, against the
pinned SeaweedFS release. required-tests-check.py fails the job unless
every named test passed: a skip, a failure, a test that never ran or one
cut off mid-run is a failure. Its self-test runs first in the job.

The tests that need root, a mapped device or systemd stay outside CI
(named in the list's header). The previous two-test step is folded in.
2026-11-25 23:53:10 -08:00