Skip to content

refactor(tui): remove client-side sorting, use daemon's pre-sorted results#382

Open
proboscis wants to merge 1 commit intomainfrom
issue/orch-393/run-20260201-104352
Open

refactor(tui): remove client-side sorting, use daemon's pre-sorted results#382
proboscis wants to merge 1 commit intomainfrom
issue/orch-393/run-20260201-104352

Conversation

@proboscis
Copy link
Owner

Summary

  • Remove redundant client-side sorting in Python TUI since daemon (orch-385) now handles sorting
  • Removed .sort() calls from runs, issues, and session fetching

Changes

File Change
runs_dashboard.hy Removed .sort by updated_at (line 305)
issues_dashboard.hy Removed .sort by id (line 214)
__main__.py Removed .sort sessions by timestamp (line 198)

Evidence

Git diff

3 files changed, 3 deletions(-)

Hy modules parse correctly

$ uv run python -c "import hy; import orch_monitor.runs_dashboard; import orch_monitor.issues_dashboard; print('Hy files parse OK')"
Hy files parse OK

Pre-commit hooks pass

Go CLI Architecture Lint (semgrep)...................(no files to check)Skipped
Python TUI Architecture Lint (semgrep)...................................Passed

Related Issue

Closes: orch-393 (depends on orch-385)

…sults

Remove redundant client-side sorting in Python TUI since daemon (orch-385)
now handles sorting for runs, issues, and sessions.

Removed:
- runs_dashboard.hy: .sort by updated_at
- issues_dashboard.hy: .sort by ID
- __main__.py: .sort sessions by timestamp

Closes: orch-393
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