Skip to content

RAL-181: batch end --gate-log records every suite, the QUICK phase's too - #268

Merged
Castor-o7 merged 2 commits into
mainfrom
ral-181-gate-log-suites
Nov 14, 2026
Merged

Castor-o7 merged 2 commits into
mainfrom
ral-181-gate-log-suites

Conversation

@Castor-o7

Copy link
Copy Markdown
Owner

RAL-181, the watchman's (c) after RAL-180.

gate_log::parse read only the three == res://tests/<scene>.tscn == scenes. Today's dsm-gate logs have about 112 suites.

  • Every == <suite> == or == <suite> (what it covers) == header is recorded by name, with its === N passed, M failed === counts. === … === result lines are never mistaken for headers, and a heading with words isn't a suite.
  • A trailing , K skipped count is accepted (test_club_nav writes it).
  • A QUICK suite with no count line, the bench, is left out. The bench is judged by its own verdict suite, and the gate's QUICK OK covers it. Without a QUICK OK, such a suite is kept as giving no result.
  • MAX_SCENES goes from 64 to 256. The service checks that bound on append, so a CLI from this build needs a service from this build to record a full log. The live service (475bd94) has no batch records at all yet: RAL-157 and RAL-162 aren't in it. So the CLI and service go out together at the restart.

Test: every_suite_is_recorded_the_quick_phases_too (suites, descriptions, skipped, the bench with and without QUICK OK).

Checked on Murph: every new-format log in ~/.local/state/dsm-gates that has a .ok reads green: 6 of 6, up to 112 suites. The other 215 logs predate the first line and are refused as before. The first pass found test_club_nav (skipped count) and bench (no count) reading as failing, which is what led to the two rules above.

Docs: docs/brief.md and the roadmap. fmt, clippy -D warnings, and cargo test --locked --no-fail-fast all pass locally. Queued behind #266 and #267.

🤖 Generated with Claude Code

Castor-o7 and others added 2 commits November 14, 2026 06:32
…s too

The gate log parser counted only the three `== res://tests/<scene>.tscn ==` scenes of about 112
suites in today's dsm-gate logs. Each `== <suite> ==` or `== <suite> (what it covers) ==` header is
now recorded by name with its `=== N passed, M failed ===` counts (a trailing `, K skipped` reads
too). A QUICK suite with no count line, the bench, judged by its own verdict suite, is covered by
the gate's QUICK OK and left out; without a QUICK OK it's kept as giving no result. The bound is
256 (the service checks it too, so CLI and service go together). Every new-format log on Murph
with a .ok reads green: 6 of 6, up to 112 suites.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Castor-o7
Castor-o7 merged commit 13d2074 into main Nov 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant