Repository navigation
Wait for specimen reset before checking the gallery panel - #1314
Merged
Merged
Conversation
max-sixty
pushed a commit
that referenced
this pull request
Sep 27, 2026
The [main nightly run](https://github.com/max-sixty/leaf/actions/runs/36322456854) timed out in `test_a_shipped_log_replays_its_example_state` while clicking a reaction's margin spill. The reaction target sits in the feature gallery's “Page & layout” tab, which was hidden when the test tried to use the control. The test now selects the tab containing each reaction target through its visible tab control before following the reaction's margin route. Its anchor, reaction, and replay assertions remain in place. The case failed locally before the change and passed afterward; pre-commit passed on the changed file. This repairs the shipped-log failure from that run. The other nightly failures are tracked by #1283, with the site geometry cases addressed by #1307 and the specimen reset case by #1314. Refs #1283. Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 27, 2026
"Specimen" read as clinical. The element holds any invented example: without a template it quotes illustrative content (a made-up ticket, an inert decision), and with `template[data-sample]` it runs a live, disposable Leaf page. "Sample" fits both modes, and the `lf-` prefix already says it's Leaf's. This is a mechanical rename across the tag, `data-sample` / `data-sample-threads`, the runtime module (`sample.js`, `mountSample`), `leaf/samples.py`, the child-page route (`/api/samples`), CSS classes, the "live sample" caption, docs, examples, an eval case and tests. Two passages where "sample" would have been ambiguous now say "scenarios" (gallery entries, `examples/AGENTS.md`) and "recordings" (regtest outputs, `tests/AGENTS.md`). A test's attempt id became `child-sample-comment`, because `sample-comment` is below the event schema's 16-character minimum. #1314 edits a test that selects `#overview-specimen`; whichever lands second renames it to `#overview-sample`. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # tests/test_render_controls.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The main nightly run failed the thread-panel gallery case after pressing Reset: the replacement child still reported “Loading specimen…” when the test's five-second panel check expired. The test now waits for Reset to become enabled, the specimen's own completion signal, before checking that the panel and its three threads returned.
The original case reproduced locally. With this change it and two neighboring specimen cases pass. This addresses the gallery reset failure; the remaining nightly failures are tracked in #1283, with the published-site failures already covered by #1307 and the board import failure fixed by #1312.
Refs #1283.