Skip to content

Use readiness checks and avoid duplicate reader CI runs - #12

Merged
Eoic merged 2 commits into
developmentfrom
chore/test-ci-cleanup
Oct 29, 2026
Merged

Eoic merged 2 commits into
developmentfrom
chore/test-ci-cleanup

Conversation

@Eoic

@Eoic Eoic commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Closes #11. Supports NFR-9_1.

The browser smoke helper unconditionally waited 60 animation frames at dozens of checkpoints. Wait for expected content, selected settings, dismissed panels/menus, library navigation, and actual scroll movement before stable semantic content and geometry. Waits are bounded at five seconds and account for Flutter repeating the accessible name while a tooltip is hovered. Keep one short pause for the intentional PDF wheel debounce.

All existing browser scenarios remain, including worker cleanup, malformed documents, selection, keyboard navigation, PDF modes, and resume behavior. Restrict push CI to development/master, retain PR checks, and cancel superseded runs. This avoids executing the entire test/desktop matrix twice for feature-branch PR updates. No reader API or production behavior changes.

Validation: formatting, worker-generation drift checks, and package/example analysis passed. All 213 package tests and 2 example tests passed, and the example web build passed. The stricter readiness smoke passed twice, with the timed repeat taking 31.93s versus the original 99.31s. Actionlint passed. The first CI run of the earlier wait cleanup took 32s versus a previously observed 112s. Equivalent hosted CI and aggregate runner-time savings remain unmeasured.

Copilot AI balanced review requested due to automatic review settings October 29, 2026 12:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T12:11:00.445575Z 07055c2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Eoic Eoic changed the title Replace unconditional browser smoke waits with readiness checks Use readiness checks and avoid duplicate reader CI runs Oct 29, 2026
@Eoic
Eoic merged commit f6410bc into development Oct 29, 2026
4 checks passed
@Eoic
Eoic deleted the chore/test-ci-cleanup branch October 29, 2026 12:55
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.

Replace unconditional browser smoke waits with readiness checks

2 participants