Skip to content

fix(test): stabilize scheduled E2E AutoTest runs - #1730

Merged
wenyt (wenytang-ms) merged 2 commits into
microsoft:mainfrom
wenytang-ms:fix/scheduled-e2e-flakes
Aug 20, 2026
Merged

fix(test): stabilize scheduled E2E AutoTest runs#1730
wenyt (wenytang-ms) merged 2 commits into
microsoft:mainfrom
wenytang-ms:fix/scheduled-e2e-flakes

Conversation

@wenytang-ms

@wenytang-ms wenyt (wenytang-ms) commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • verify Maven and Gradle save operations from disk instead of relying on the editor dirty-dot screenshot
  • run the Go to Super Implementation regression plan against the Java pre-release carrying the vscode-java#4438 fix, and skip LLM re-verification for its settle-only assertion
  • reuse the preinstalled Linux Xvfb and bound the apt fallback so mirror stalls fail quickly

Root cause

Scheduled run https://github.com/microsoft/vscode-java-pack/actions/runs/32218296105 had two LLM false downgrades and seven Ubuntu jobs that spent the full 30-minute job timeout in apt-get update. Scheduled run https://github.com/microsoft/vscode-java-pack/actions/runs/32334502296 reproduced the save-step false downgrade on macOS. In every save failure, the before/after screenshots showed the dirty indicator clearing; the post-failure LLM analysis also contradicted the initial verdict.

The first PR run https://github.com/microsoft/vscode-java-pack/actions/runs/32336603235 installed stable redhat.java on pull requests. Stable 1.55.0 contains the #4438 regression this plan is designed to detect, so all three platforms correctly found the hover link was not clickable. Scheduled runs passed because they use the fixed pre-release; the plan now declares that requirement explicitly.

Validation

  • npx -y @vscjava/vscode-autotest validate test-plans\java-maven.yaml
  • npx -y @vscjava/vscode-autotest validate test-plans\java-gradle.yaml
  • npx -y @vscjava/vscode-autotest validate test-plans\java-go-to-super-implementation.yaml
  • parsed .github/workflows/e2e-autotest.yml with the repository's js-yaml
  • checked the Xvfb setup script with bash -n

wenyt (wenytang-ms) and others added 2 commits August 20, 2026 13:41
Use deterministic disk checks for save steps, skip LLM verification for the no-op navigation assertion, and avoid unnecessary apt traffic when Xvfb is already installed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Go to Super Implementation plan covers vscode-java#4438, which is present in stable 1.55.0 and fixed in the pre-release used by scheduled runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wenytang-ms
wenyt (wenytang-ms) merged commit 813469d into microsoft:main Aug 20, 2026
56 checks passed
@wenytang-ms
wenyt (wenytang-ms) deleted the fix/scheduled-e2e-flakes branch August 20, 2026 08:00
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