Skip to content

Wait for Monaco navigation before clicking change summaries - #48

Merged
rcosteira79 merged 1 commit into
mainfrom
fix/monaco-summary-ci-readiness
Nov 12, 2026
Merged

rcosteira79 merged 1 commit into
mainfrom
fix/monaco-summary-ci-readiness

Conversation

@rcosteira79

Copy link
Copy Markdown
Collaborator

The main push after #47 failed in the Monaco summary browser test even though the PR passed. It clicked What changed immediately after selecting a file, while lazy editor mounting and navigation could still shift the button. The summary request was never sent, so the test eventually timed out waiting for an error panel.

Await the existing asynchronous file-reveal path before opening summaries, and explicitly require the summary request. Keep the existing retry/rerender, source-link, export, and draft assertions. Save a Playwright trace and summary-request diagnostics on failure, and include the trace in CI's failure artifacts.

Validation: reproduced the same timeout in an isolated fixture by delaying the preceding editor mount. Pointer-down hit the summary button; pointer-up/click hit its header, and no request was sent. The same controlled reproduction passed with the readiness wait. The complete updated browser script passed locally; JavaScript syntax and diff checks passed. No runtime application behavior changed, no retries or longer assertion timeouts were added, and no live review was touched.

Failed run: https://github.com/Mindera/diffcompass/actions/runs/43112790938

@rcosteira79
rcosteira79 merged commit 05bd84c into main Nov 12, 2026
14 checks passed
@rcosteira79
rcosteira79 deleted the fix/monaco-summary-ci-readiness branch November 13, 2026 14:43
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