Skip to content

feat(compass-app): darwin build path via build-tag restructure (RIG-2753, T2) - #640

Merged
mattwilkinsonn merged 1 commit into
mainfrom
compass-native/rig-2753-darwin-build
Aug 26, 2026
Merged

feat(compass-app): darwin build path via build-tag restructure (RIG-2753, T2)#640
mattwilkinsonn merged 1 commit into
mainfrom
compass-native/rig-2753-darwin-build

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

Restructure go/cmd/compass-app build tags so darwin compiles the real gtk3
entrypoint without double-compiling the !gtk3 stubs. Each gtk3-tagged file
gaining darwin moves unix && gtk3 -> (linux && gtk3) || darwin; each stub pair
narrows unix && !gtk3 -> linux && !gtk3 (else a darwin build, which is unix with
no gtk3 tag, compiles both the retagged real file and its stub = duplicate-symbol
break, e.g. windowFromContext). The gtk3-tagged test suite stays unix && gtk3
(Linux-only; darwin coverage is the manual launch smoke + T3's macos-14 compile
gate, per the record's honesty note).

Implements DL-263 lane prerequisite; the real darwin compile runs in T3's
macos-14 CI job (not runnable on Linux — darwin cgo needs the macOS SDK).

Co-authored-by: Matt Wilkinson matt@rigel.build

…753, T2)

Restructure go/cmd/compass-app build tags so darwin compiles the real gtk3
entrypoint without double-compiling the !gtk3 stubs. Each gtk3-tagged file
gaining darwin moves unix && gtk3 -> (linux && gtk3) || darwin; each stub pair
narrows unix && !gtk3 -> linux && !gtk3 (else a darwin build, which is unix with
no gtk3 tag, compiles both the retagged real file and its stub = duplicate-symbol
break, e.g. windowFromContext). The gtk3-tagged test suite stays unix && gtk3
(Linux-only; darwin coverage is the manual launch smoke + T3's macos-14 compile
gate, per the record's honesty note).

Implements DL-263 lane prerequisite; the real darwin compile runs in T3's
macos-14 CI job (not runnable on Linux — darwin cgo needs the macOS SDK).

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Aug 26, 2026

Copy link
Copy Markdown

RIG-2753

@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-native-rig-2753-darw.compass-eng-docs.pages.dev

Deployed from compass-native/rig-2753-darwin-build at 6dc9df5.

@rigel-mintaka
rigel-mintaka marked this pull request as ready for review August 26, 2026 03:43
@mattwilkinsonn
mattwilkinsonn merged commit eb2240f into main Aug 26, 2026
13 checks passed
@mattwilkinsonn
mattwilkinsonn deleted the compass-native/rig-2753-darwin-build branch August 26, 2026 04:31
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.

2 participants