Skip to content

Simplify TUI workspace diff handling - #59

Merged
nishu-builder merged 1 commit into
mainfrom
codex/tui-workspace-diff-cleanup
Aug 4, 2026
Merged

Simplify TUI workspace diff handling#59
nishu-builder merged 1 commit into
mainfrom
codex/tui-workspace-diff-cleanup

Conversation

@nishu-builder

Copy link
Copy Markdown
Contributor

Summary

  • rename WorkspaceDiff.base to base_commit so it cannot be confused with a PR target branch
  • remove the unused WorkspaceDiff.stat field and its extra git diff --stat subprocess
  • pass only the head commit to load_conversation_workspace, matching what checkout actually needs

Why

This makes the conversation workspace data and checkout boundary describe their real responsibilities without changing checkout or publishing behavior.

Testing

  • cargo fmt --check
  • git diff --check
  • cargo test -p caos --bin caos-cli tui:: (66 passed)
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • full CAOS suite with a fresh test salt (24/24 passed)

@nishu-builder
nishu-builder force-pushed the codex/tui-workspace-diff-cleanup branch from b6147d7 to c47fa4e Compare August 4, 2026 03:31
@nishu-builder
nishu-builder merged commit db95ee7 into main Aug 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant