Dask runner: progress monitor, cluster health probe, local worker cap #1

Merged
alberto merged 4 commits from feature/tea-eeg-analysis into master 2026-11-23 09:38:27 -06:00
Owner

Adds what the platform's TEA EEG screen needs from the library, in the batch runner and next to it.

  • tea.pipeline.run_monitor: a thread that writes atomic progress snapshots (phase, done/total, smoothed ETA, per-worker CPU and RAM, task counts, history) to a job folder. The cluster figures clear when the client closes, so a finished run no longer reports its last readings.
  • tea.pipeline.cluster_status: a health probe for a local or remote scheduler (reachable, workers, version check, dashboard, reference volume).
  • dask_runner: reports to the monitor, releases it when the client closes, and TEA_LOCAL_WORKERS caps a local cluster.

Tests live in the models package, which exercises these modules through the EEG train and analyse paths: tests/tea/test_run_monitor.py, tests/tea/test_cluster_status.py.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G7PSrY6FcR9Q2SE9y2t6yF

Adds what the platform's TEA EEG screen needs from the library, in the batch runner and next to it. - `tea.pipeline.run_monitor`: a thread that writes atomic progress snapshots (phase, done/total, smoothed ETA, per-worker CPU and RAM, task counts, history) to a job folder. The cluster figures clear when the client closes, so a finished run no longer reports its last readings. - `tea.pipeline.cluster_status`: a health probe for a local or remote scheduler (reachable, workers, version check, dashboard, reference volume). - `dask_runner`: reports to the monitor, releases it when the client closes, and `TEA_LOCAL_WORKERS` caps a local cluster. Tests live in the `models` package, which exercises these modules through the EEG train and analyse paths: `tests/tea/test_run_monitor.py`, `tests/tea/test_cluster_status.py`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01G7PSrY6FcR9Q2SE9y2t6yF
alberto added 4 commits 2026-11-23 09:36:41 -06:00
alberto merged commit e2c81e7a98 into master 2026-11-23 09:38:27 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alberto/tea#1