Rename project/CLI to construct and smith harness aliases#385
Merged
Conversation
edwin-zvs
added a commit
that referenced
this pull request
Jun 7, 2026
…389) CI has hung on every run since the rename (#385): the `restart` and `tui_smoke` e2e test binaries never finish. Root cause: - #382 retired `q` as a quit key; the global quit chord is now C-x C-c (keymap.rs). key_latency.rs was updated; restart.rs + tui_smoke.rs were not — they still `send(b"q")`. - The e2e config disables the orchestrator, so the TUI sits on the empty- fleet welcome screen where only C-x C-c quits. `q` does nothing → the TUI never exits → `wait_exit` times out. - `Tui::wait_exit` moved the child into a detached wait-thread and, on timeout, returned without killing it. `Drop` can't help (`self.child` is already taken), so the process leaks, the PTY reader stays parked, and the tokio runtime can't shut down → `cargo test` hangs forever instead of failing. Fixes: 1. restart.rs + tui_smoke.rs (x2): send `\x18\x03` (C-x C-c) to quit. 2. Tui::wait_exit: grab a clone_killer() up front and kill the child on timeout, so a TUI that won't quit becomes a fast failure, never an infinite hang. Defense against this whole class recurring. Verified locally: restart (3) + tui_smoke (2) now pass and complete in seconds. This unblocks CI for main and all open PRs.
Merged
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\n- Rename project surface from 'agentd' CLI/daemon naming to 'construct' and keep legacy 'agent' CLI as compatibility behavior where appropriate.\n- Rename default built-in harness binary and references from "zarvis" to "smith".\n- Update docs/install artifacts, scripts, and tests for the renamed client/daemon assets.\n- Add startup legacy migration notice that now prints a copy-paste migration command for existing 'agentd' layout.\n\n## Testing\n- cargo fmt --all\n- cargo test -p agentd-cli --test reconnect -- --nocapture\n- cargo test -p agentd legacy_migration_notice_includes_detected_items -- --nocapture\n- cargo build (workspace)\n