Skip to content

Remove simple TUI legacy_core reexports#18631

Merged
etraut-openai merged 2 commits intomainfrom
etraut/remove-legacy-core-reexports
Apr 20, 2026
Merged

Remove simple TUI legacy_core reexports#18631
etraut-openai merged 2 commits intomainfrom
etraut/remove-legacy-core-reexports

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Apr 20, 2026

Problem

The TUI still imported path utilities and config-loader symbols through app-server-client's legacy_core facade even though those APIs already exist in utility/config crates. This is part of our ongoing effort to whittle away at these old dependencies.

Solution

Rewire imports to avoid the TUI directly importing from the core crate and instead import from common lower-level crates. This PR doesn't include any functional changes; it's just a simple rewiring.

@etraut-openai etraut-openai marked this pull request as ready for review April 20, 2026 06:44
Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

Problem: TUI still imported utility and config-loader symbols through app-server-client's legacy_core facade even though equivalent utility crates exist.

Solution: Point TUI path utilities at codex-utils-path and config-loader types at codex_config, then remove those legacy_core reexports.
@etraut-openai etraut-openai force-pushed the etraut/remove-legacy-core-reexports branch from 4de0e07 to 3ee94af Compare April 20, 2026 15:27
@etraut-openai etraut-openai merged commit 164b6a0 into main Apr 20, 2026
25 checks passed
@etraut-openai etraut-openai deleted the etraut/remove-legacy-core-reexports branch April 20, 2026 17:48
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants