feat(workstation): add mac-defaults validation helper and CI workflow#148
Open
feat(workstation): add mac-defaults validation helper and CI workflow#148
Conversation
Agent-Logs-Url: https://github.com/SociOS-Linux/source-os/sessions/52f10c6b-b344-4a8e-9983-cb41148666b9 Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add workstation mac-defaults validation check
feat(workstation): add mac-defaults validation helper and CI workflow
May 2, 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.
The
mac-defaults.shGNOME defaults pack lacked a dedicated contract check, making it impossible to assert the intended desktop behavior slice in CI without a live GNOME session.Changes
bin/check-mac-defaults.sh— new read-only helper that inspectsmac-defaults.shsource for required settings and emitskey=valueoutput. Works withoutgsettingsor a GNOME session..github/workflows/workstation-mac-defaults-validation.yml— focused smoke workflow: syntax-checks both scripts, asserts all keys are emitted, and asserts all required settings report=presentwithmac_defaults_ok=yes. Scoped to paths that affect this lane.gnome/README.md— adds a Mac-defaults validation section documenting the helper, emitted keys, and the CI workflow it's wired into.No changes to
mac-defaults.sh, keybindings, or any other scripts.