# macOS scenario prep reliability + VS Code spdlog compatibility#79
Merged
Conversation
jewilder
approved these changes
May 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes a set of reliability issues in macOS developer scenarios that caused intermittent prep failures and environment drift, and hardens the VS Code prep flow for Darwin 25+ toolchains.
Primary outcomes:
mac_foundrylocalsetup timeout behavior.mac_vscodeprep resilient across package-layout drift and repeated runs.mac_net_aspireprep failures.mac_opencv_buildwith OpenCV 4.10-compatible FFmpeg major versioning.Problem
We observed several macOS issues during repeated lab runs:
mac_foundrylocal: setup could complete but RPC timed out due to inherited stdio from background service launch.mac_vscode:@vscode/spdlogbuild failed on Darwin 25+ (consteval/fmt compatibility path), with patch flow brittle to minor file/layout drift.mac_net_aspire: prep failure (ConfigurationSchema regeneration) was not actionable because build output was not captured.mac_opencv_build: OpenCV 4.10 build failures in FFmpeg integration path due to API mismatch with newer Homebrew FFmpeg.What changed
mac_foundrylocalmac_foundrylocal_setup.shto fully detach process stdio from the invoking shell/RPC context.mac_vscodemac_vscode_prep.sh:npm install --ignore-scriptsfirst.core.his already in compatible state (FMT_CONSTEVAL constexpr) and skip patching when already compatible.spdlog_fmt_darwin25.patch.@vscode/spdlog, then run finalnpm install.scenarios/macos/mac_vscode/mac_vscode_resources/spdlog_fmt_darwin25.patchmac_net_aspiremac_net_aspire_prep.shto capture full build output to dedicated log and include failure context in prep log.mac_opencv_buildmac_pytorch_infmac_pytorch_inf_prep.sh.Prep version bumps
Prep versions were incremented for updated scenarios so DUTs re-run prep and pick up script changes.
Files changed
scenarios/macos/mac_foundrylocal/mac_foundrylocal_resources/mac_foundrylocal_setup.shscenarios/macos/mac_net_aspire/mac_net_aspire.pyscenarios/macos/mac_net_aspire/mac_net_aspire_resources/mac_net_aspire_prep.shscenarios/macos/mac_opencv_build/mac_opencv_build.pyscenarios/macos/mac_opencv_build/mac_opencv_build_resources/mac_opencv_build_prep.shscenarios/macos/mac_pytorch_inf/mac_pytorch_inf.pyscenarios/macos/mac_pytorch_inf/mac_pytorch_inf_resources/mac_pytorch_inf_prep.shscenarios/macos/mac_vscode/mac_vscode.pyscenarios/macos/mac_vscode/mac_vscode_resources/mac_vscode_prep.shscenarios/macos/mac_vscode/mac_vscode_resources/spdlog_fmt_darwin25.patchValidation