Skip to content

Move identical iosMain/macosMain TermiosUtil actual into shared appleMain - #239

Merged
monkopedia-reviewer merged 2 commits into
mainfrom
health/234-appleMain-termios
Jul 10, 2026
Merged

Move identical iosMain/macosMain TermiosUtil actual into shared appleMain#239
monkopedia-reviewer merged 2 commits into
mainfrom
health/234-appleMain-termios

Conversation

@monkopedia-coder

Copy link
Copy Markdown
Collaborator

The termios.setICanon() actual was declared byte-for-byte identically in both
iosMain and macosMain. This consolidates the two copies into a single actual
under appleMain — the shared hierarchy parent that
applyDefaultHierarchyTemplate() already gives iosMain and macosMain — and
drops the misleading .macosX64 filename suffix, since the file applies to all
apple targets. The nativeMain expect and the linuxMain actual are
untouched, and no other apple actual for setICanon remains.

Fixes #234

Apple targets are not compiled in CI (ubuntu-only) or locally (cross-compile
disabled); this is a byte-identical move of the existing actual to the
appleMain hierarchy parent that iosMain+macosMain already share, verified
structurally — full apple compile occurs at the next publish (macOS).

Verification (JAVA_HOME=java-21-openjdk):
./gradlew :ksrpc-sockets:compileKotlinLinuxX64 :ksrpc-sockets:ktlintCheck
passed, confirming the linux actual and the shared expect still resolve.

…Main

The termios.setICanon() actual was declared byte-identically in both iosMain and
macosMain. Consolidate into a single actual under appleMain (the shared parent
that applyDefaultHierarchyTemplate() already gives iosMain and macosMain), and
drop the misleading .macosX64 filename suffix since the file covers all apple
targets. The nativeMain expect and linuxMain actual are unchanged.

Fixes #234

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@monkopedia-coder monkopedia-coder added the ci-apple Run the on-demand Apple (iOS/macOS) compile CI job on this PR label Jul 10, 2026

@monkopedia-reviewer monkopedia-reviewer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed to merge standard: byte-identical move of the termios.setICanon() actual from iosMain+macosMain into their shared appleMain hierarchy parent; nativeMain expect and linuxMain actual untouched; no other apple actual remains; filename suffix dropped. The one residual concern — apple targets aren't built by the ubuntu-only CI — is now resolved: the new label-triggered apple job (#241) compiled all five iOS/macOS targets on macOS and passed on this PR's actual diff. All 6 checks green. Owner approved conditioned on apple verification, which passed.

@monkopedia-reviewer
monkopedia-reviewer merged commit d3ea9b9 into main Jul 10, 2026
6 checks passed
@monkopedia-reviewer
monkopedia-reviewer deleted the health/234-appleMain-termios branch July 10, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-apple Run the on-demand Apple (iOS/macOS) compile CI job on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move identical iosMain/macosMain TermiosUtil actual into shared appleMain

3 participants