Skip to content

Run extension installers from user home - #97

Merged
travis-hoover-glean merged 1 commit into
mainfrom
thoov/fix-extension-install-cwd
Jul 13, 2026
Merged

travis-hoover-glean merged 1 commit into
mainfrom
thoov/fix-extension-install-cwd

Conversation

@travis-hoover-glean

@travis-hoover-glean travis-hoover-glean commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Cursor installs the extension successfully but remains alive until the 120-second timeout because the target user cannot access that working directory.

  • Run non-Windows editor extension installs from the target user's home directory.
  • Add regression coverage for the child-process working directory.

Test plan

  • bunx vitest run
  • bunx tsc --noEmit
  • On macOS, uninstall glean.glean, run glean-mdm as root, and verify Cursor installs the extension without timing out.

Run editor CLIs from the target user's home so elevated installs do not hang in an inaccessible root directory.

Co-authored-by: Cursor <cursoragent@cursor.com>
@travis-hoover-glean travis-hoover-glean changed the title [MDM] Run extension installers from user home Run extension installers from user home Jul 13, 2026
@travis-hoover-glean
travis-hoover-glean marked this pull request as ready for review July 13, 2026 22:32
@travis-hoover-glean
travis-hoover-glean requested a review from a team as a code owner July 13, 2026 22:32
@travis-hoover-glean
travis-hoover-glean merged commit 5b0c74c into main Jul 13, 2026
18 checks passed
travis-hoover-glean added a commit that referenced this pull request Jul 13, 2026
Release the extension installation working-directory fix from #97 by bumping package metadata to 1.0.3.
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