Skip to content

Start each book selection with a fresh file input - #12

Merged
yo4e merged 3 commits into
mainfrom
codex/fix-reader-reload-check
Oct 20, 2026
Merged

yo4e merged 3 commits into
mainfrom
codex/fix-reader-reload-check

Conversation

@yo4e

@yo4e yo4e commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Repeated folder selection on Ubuntu WebKit could leave Playwright waiting for a file-input event after the reader had already displayed the new manuscript. Captured traces locate the stall inside setInputFiles, not parsing or rendering. Clearing the input value alone was insufficient for an unchanged folder.

Use ordinary accessible opening buttons and create a fresh file input before each chooser activation. Each selection starts without prior directory state, and closing the book releases the retained selection. The regression scenario uses the real chooser, edits one folder across three revisions, verifies each new title/source/images, then also checks that reopening an unchanged folder replaces the article. Source and AST downloads must contain the latest revision. CI repeats this WebKit scenario five additional times and saves failure traces/screenshots for seven days.

Final commit 17fe33260fefed979012b6e7cc78832b5e2b112b passed lint, strict typecheck, 95 Node tests, build, three CLI sample validations and all 24 browser tests locally. The regression scenario also passed 10 local WebKit repetitions. Ubuntu CI passed all checks, all 24 browser tests and the five extra WebKit repetitions. No timeout increases, skipped checks or automatic retries. Related to #9.

@yo4e yo4e changed the title Make edited-folder reload checks observe the new manuscript Reset file selection before opening the chooser Oct 20, 2026
@yo4e yo4e changed the title Reset file selection before opening the chooser Start each book selection with a fresh file input Oct 20, 2026
@yo4e
yo4e marked this pull request as ready for review October 20, 2026 07:05
@yo4e
yo4e merged commit c226a90 into main Oct 20, 2026
1 check 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