mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
Improve connector detection for migrated sessions (#36977)
## Why Session IDs are derived from file stems and can repeat across projects. Keying connector attribution only by session ID can therefore assign one session's connectors to another session during a batched migration. ## What changed - Preserve connector candidates by canonical source path until each imported session is annotated, then aggregate them for detection summaries. - Resolve project-backed MCP tool calls from both `CallMcpTool` server IDs and `mcpDetails.serverName`, while requiring a match in project metadata. ## Testing Add coverage for duplicate session stems, per-source connector results, and both supported project-backed MCP tool-call formats. GitOrigin-RevId: 10563d47c29673c07daa83be5f4e1a256740b901
This commit is contained in:
1 parent
1b90b1d16b
commit
1a5e152189
10 files changed
+546
-172
No files matched your search
@@ -17,6 +17,7 @@ use std::path::PathBuf;
|
||||
|
||||
pub use crate::detect::sessions::ImportedSessionConnectorAttribution;
|
||||
pub use crate::detect::sessions::detect_imported_cla_session_connectors;
|
||||
pub use crate::detect::sessions::detect_imported_cla_session_connectors_by_source_path;
|
||||
pub use crate::detect::sessions::detect_recent_cla_sessions;
|
||||
pub use crate::detect::sessions::detect_recent_cur_sessions;
|
||||
pub use append::ExistingSessionAppend;
|
||||
|
||||
Reference in new issue
Block a user