GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(tests): say what HOME isolation does not cover · lidge-jun/opencodex@3ab6b97

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tests
    • preload.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/preload.ts‎

Copy file name to clipboardExpand all lines: tests/preload.ts
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
*
1111
* Import order below is load-bearing: importing the guard captures the real home at
1212
* module load, and that must happen BEFORE this file replaces HOME.
13+
*
14+
* What this file cannot do: HOME isolation only protects what is addressed by a path. A
15+
* service manager is addressed by a job name — `systemctl --user stop
16+
* opencodex-proxy.service` reaches the user manager that is already running, and
17+
* `launchctl bootout gui/<uid>/com.opencodex.proxy` reaches launchd — so neither cares
18+
* what HOME says. `assertLiveServiceManagerAllowed` in `src/service.ts` is the guard for
19+
* that, armed by the same flag set below.
1320
*/
1421
import { isTestHomeGuardArmed, protectedHomeForTests } from "../src/lib/test-home-guard";
1522
import { createIsolatedTestEnvironment } from "../scripts/test";

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.