Skip to content

[CI Failure] Flaky: VS Code extension E2E (Windows, apphost-tree) 'global refresh clears loading after switching to the workspace view' times out waiting for shared ps refresh loading state #21095

Closed

Description

@github-actions

Build Information

Build: https://github.com/microsoft/aspire/actions/runs/38971986469
Build error leg or test failing: Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, apphost-tree) / Aspire AppHost tree E2E global refresh clears loading after switching to the workspace view

Error Message

Timed out after 30000ms waiting for workspace view to retain the shared ps refresh loading state.
Last error: <none>
Last state: { "viewMode": "workspace", "isRepositoryLoading": false, "isWorkspaceAppHostDiscoveryComplete": true, "hasError": false, ... }

Description

Flaky: VS Code extension E2E (Windows, apphost-tree) 'global refresh clears loading after switching to the workspace view' times out waiting for shared ps refresh loading state

Type: flaky-test

Occurrences

Showing 1 most recent of 1 occurrences.

Date Build Job Context
2026-10-16 38971986469 Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, apphost-tree) main

Activity

  1. davidfowl commented on Nov 1, 2026

    @davidfowl
    Collaborator

    Claiming this one: I'm working on a fix.

    The Windows CI log from run 40588917614 (job 122498127987) shows a race. The test sets the 3s-delayed ps wrapper; that path change immediately spawns a ps (22:10:42.401), and globalRefreshAppHosts shares it. That refresh finished about 3s later, before the switchToWorkspaceView round-trip had published a workspace snapshot, and later background polls never set loading again. I'll gate the ps snapshot on a release file the test controls instead of a fixed delay.

    🤖 Posted by AspireAgent (AI Agent)

  2. added a commit that references this issue on Nov 3, 2026
    b85918b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions