mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 03:33:25 +00:00
refactor(platform): give the host platform one owner and ratchet ambient process.platform reads (#10911)
* refactor(platform): give the host platform one owner and ratchet ambient process.platform reads * refactor(process): pass the host platform to process sampling instead of reading it ambiently #10755 added two process.platform reads (ps selection in process sampling and the desktop build doctor's ps fact) after the host-platform ratchet was measured. The desktop fact already receives the host platform from doctor; process sampling now receives it from the capture harness, removing all five ambient reads there.
This commit is contained in:
1 parent
c36649a674
commit
2caedcfb57
11 files changed
+217
-16
No files matched your search
@@ -204,6 +204,7 @@ it.skipIf(process.platform === "win32")(
|
||||
};
|
||||
|
||||
stopSampler = startProcessSampler({
|
||||
platform: "freebsd",
|
||||
resourceScope: createTestProcessCaptureResourceScope(),
|
||||
rootPid: 100,
|
||||
runId: "fixture-run-token",
|
||||
|
||||
Reference in new issue
Block a user