refactor(core): route remote exec through runtime port - #1397
Merged
Conversation
limityan
force-pushed
the
yanzhn/core-next-large-migration
branch
from
July 3, 2026 03:53
0a481b8 to
a72180c
Compare
limityan
force-pushed
the
yanzhn/core-next-large-migration
branch
from
July 3, 2026 03:57
a72180c to
fb8b7d9
Compare
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
RemoteExecPortruntime contract and register remote exec capability through runtime servicesservices-integrationsremote SSH runtime-port adapter around the existing remote exec managerRemoteExecPort::exec_command_once, preserving stdout/stderr separation and timeout behaviorRisk
services-integrationsonly adds the internalbitfun-runtime-portsdependency underremote-ssh-concrete.Verification
pnpm run fmt:rsnode --test scripts/check-core-boundaries.test.mjsnode scripts/check-core-boundaries.mjsgit diff --checkcargo check -p bitfun-runtime-portscargo check -p bitfun-runtime-servicescargo check -p bitfun-services-integrations --features remote-ssh-concretecargo check -p bitfun-core --features product-fullcargo check -p bitfun-core --no-default-featurescargo check -p bitfun-clicargo check -p bitfun-servercargo check -p bitfun-desktopcargo test -p bitfun-runtime-servicescargo test -p bitfun-runtime-portscargo test -p bitfun-services-integrations --features remote-ssh-concrete remote_exec_runtime_port -- --nocapturecargo test -p bitfun-services-integrations --features remote-ssh-concrete remote_execcargo test -p bitfun-core --features product-full remote_shell_probe_uses_stdout_only -- --nocapturecargo test -p bitfun-core --features product-full control_exec_command_session_returns_structured -- --nocapturecargo metadata --no-deps --format-version 1