Repository navigation
Check banner status classes by token - #2396
Merged
Merged
Conversation
leaf-agent
commented
Oct 11, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The attendance test still fails before it reaches the new dot assertion. In test_banner_reports_whether_anyone_is_attending, the first regex for .lf-status-detail starts at ^Claude, but Lit's rendered detail includes surrounding whitespace. A targeted run timed out at that assertion (line 3555) while the expected words were visibly present. Adjust the detail assertions to read the displayed text or allow the surrounding whitespace, then run this case through the new dot check.
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 public example and unheld-status browser checks compare the status dot's class tokens. Main run 38133035955 failed because Lit's
classMapserializes the lonelf-dottoken with surrounding whitespace, while the checks required the raw attribute to begin withlf-dot. The dot still has only that class, so the check keeps the intended grey, unclaimed status contract without depending on serialization whitespace.The banner detail is also rendered inside Lit template whitespace. Its tests now allow that leading whitespace while still checking the complete expected sentence. The startup readiness check trims the same whitespace before deciding whether “Connecting” has cleared; without the trim, it could pass while the page was still connecting.
This assertion became stale when #2337 moved the banner status view to Lit. The public example, banner attendance, startup readiness, status coalescing, claim clock, gallery workflow, and stale workflow cases passed locally with these changes. The other failures in the original run have separate causes and are tracked in their own PRs.