refactor(runtime): route fixed session identity through SDK - #1597
Merged
limityan merged 1 commit intoJul 17, 2026
Merged
Conversation
limityan
force-pushed
the
yanzhn/refactor-runtime-fixed-session-id
branch
from
July 17, 2026 11:43
f5eacf5 to
5268cc5
Compare
limityan
marked this pull request as ready for review
July 17, 2026 11:56
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
AgentRuntime::create_session_with_idpath while keepingAgentSessionCreateRequestunchangedexec --session-idand CLI backend-session recreation; retain the old Core facade method as a deprecated migration shimcreate_sessionerror contractProduct and architecture boundaries
NotAvailableimplementation and no field was added to the public create DTOsave_sessionpathFailure and concurrency behavior
Validation
cargo +nightly test -p bitfun-runtime-portscargo +nightly test -p bitfun-agent-runtimecargo +nightly test -p bitfun-core agent_submission_create_session_ -- --nocapturecargo +nightly test -p bitfun-core concurrent_first_session_persistence_keeps_the_winnercargo +nightly test -p bitfun-core persistent_session_creation_failure_does_not_publish_runtime_statecargo +nightly test -p bitfun-core compatibility_operations_have_one_core_owned_facadecargo +nightly test -p bitfun-clicargo +nightly check --workspacenode scripts/check-core-boundaries.mjspnpm run check:repo-hygienegit diff --check gcwing/mainRust validation used the coherent installed nightly toolchain because the local stable Cargo and standard-library installation are mismatched. Existing dependency deprecation and CLI dead-code warnings remain unchanged.