Skip to content

Wait for specimen reset before checking the gallery panel - #1314

Merged
max-sixty merged 2 commits into
mainfrom
fix/ci-36317643392-specimen-reset
Sep 27, 2026
Merged

max-sixty merged 2 commits into
mainfrom
fix/ci-36317643392-specimen-reset

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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.

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
@max-sixty
max-sixty merged commit 2ce560b into main Sep 27, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/ci-36317643392-specimen-reset branch September 27, 2026 20:27
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.

2 participants