eclipse-theia/theia

(playwright, regression) TheiaWorkspace.remove() always fails with EBUSY

Offen

#17.784 geöffnet am 13.07.2026

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (2.478 Forks)batch import
OS/Windowsbughelp wantedplaywright

Repository-Metriken

Stars
 (18.676 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 15T 4h) (75 gemergte PRs in 30 T)

Beschreibung

Bug Description:

I just switched from 1.68.2 (community release 2026-02) to 1.71.2 (2026-05), and all the playwright tests are failing on cleanup, when doing workspace.remove(). It was working until now. I'm on Windows.

Error: EBUSY: resource busy or locked, rmdir 'C:\Users\me\AppData\Local\Temp\xxx'

I've even tried closing any other programs and restarting the computer, but it still happens consistently.

Is there any change in theia workspace or filesystem between those versions that keeps the workspace folder locked?

Steps to Reproduce:

  1. Perform workspace.remove() on a playwright test
test.describe('', () => {
    let workspace: TheiaWorkspace;
    test.beforeAll(async () => {
        workspace = new TheiaWorkspace([...]);
        app. = await TheiaAppLoader.load({playwright, browser}, workspace, TheiaApp);
    });
    test.afterAll(async() => {
        await app.page.close();
        workspace.remove();
    });
});

Additional Information

  • Operating System: Windows
  • Theia Version: 1.71.2 (2026-05)

Contributor Guide