Skip to content

fix: add proper awareness for awaiting_move #130

Merged
sadsfae merged 4 commits into
mainfrom
development
Jun 9, 2026
Merged

fix: add proper awareness for awaiting_move #130
sadsfae merged 4 commits into
mainfrom
development

Conversation

@sadsfae

@sadsfae sadsfae commented Jun 9, 2026

Copy link
Copy Markdown
Contributor
  • smooth transition from "waiting room" to move status via the new polling/status API
  • fix: refactor for interim move statuses.
  • chore: fix test coverage

sadsfae and others added 4 commits June 9, 2026 15:12
This was done in CLI but not everywhere and not done in the GUI.
  - _show_pending_moves refactored into _get_pending_moves (returns the list instead of printing)
  - _wait_for_active_all and _wait_for_active_single -- new methods that show a live Rich table of scheduled moves, poll every 10s, and return
  active move data once the server's move cycle starts (or None on Ctrl+C)
  - _build_pending_table -- builds the Rich table with caption showing "Last check: HH:MM:SS | Refresh: 10s | Ctrl+C to stop"
  - Both _track_single and _track_all now: get pending -> wait for active (live polling) -> seamlessly transition into the existing 5s live
  tracking loop

Assisted-by: claude
fix: add proper awareness for awaiting_move
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 79.67% <100.00%> (+0.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/quads_client/commands/track.py 98.23% <100.00%> (+0.49%) ⬆️
src/quads_client/commands/user.py 93.28% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/quads_client/commands
  track.py
  user.py
Project Total  

This report was generated by python-coverage-comment-action

@sadsfae sadsfae merged commit 94a85b0 into main Jun 9, 2026
8 checks 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