Skip to content

refactor(executor): merge redundant #[cfg] branches for wait_with_timeout - #48

Merged
juice094 merged 1 commit into
mainfrom
chore/merge-wait-with-timeout
May 15, 2026
Merged

juice094 merged 1 commit into
mainfrom
chore/merge-wait-with-timeout

Conversation

@juice094

Copy link
Copy Markdown
Owner

Observation

Platform audit found that wait_with_timeout in src/skill_runtime/executor.rs has two #[cfg] variants (Windows and Unix) that are byte-for-byte identical.

Change

Collapse the duplicate #[cfg(windows)] and #[cfg(unix)] implementations into a single cross-platform function. No behavioural change.

Side effect

Eliminates the last platform-specific #[cfg] duplication in the skill runtime, leaving only the legitimate Unix chmod in discover.rs.

…eout

Windows and Unix implementations were byte-for-byte identical.
Remove the platform-specific duplication and keep a single cross-platform function.
@juice094
juice094 merged commit ac7e34b into main May 15, 2026
6 checks passed
@juice094
juice094 deleted the chore/merge-wait-with-timeout branch June 6, 2026 14:02
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.

1 participant