Commit Graph

26 Commits

Author SHA1 Message Date
vhaudiquet 06c1d81190 feat: switch from tmux to simple nohup for remote jobs
CI / Check, test, lint (push) Successful in 28s
- Remove tmux-based execution; jobs now run via nohup + shell script
- Remove p-agent daemon from workspace
- Remove `p attach` command (use `p logs -f` instead)
- Add `-d/--detach` flag to start job without streaming
- Stream output via SSH tail -F
- Ctrl+C detaches from stream; job keeps running
- `p stop` kills via PID file
- Worker requirements reduced to just rsync (no tmux needed)
2026-06-06 12:26:58 +02:00
vhaudiquet 92132bc37a spec: update spec
CI / Check, test, lint (push) Failing after 11m1s
- Default `p -- <cmd>` now streams logs via SSH (like tail -f)
   - Ctrl+C detaches from stream; job keeps running on worker
   - Add `-d/--detach` flag to start job without streaming
   - Remove `p attach` command (use `p logs -f` instead)
   - Remove p-agent daemon; jobs launched via nohup over SSH
   - Simplify worker requirements: only rsync needed (no tmux, no agent)
   - Jobs managed via ad-hoc SSH: kill $(cat pid), tail -f output.log
2026-06-06 02:12:53 +02:00
vhaudiquet 883114e2a3 feat: automatically detach from p logs -f on job end
CI / Check, test, lint (push) Successful in 36s
2026-06-02 11:05:38 +02:00
vhaudiquet f8b28aa43f feat: record job_finished_at server-side 2026-05-29 15:47:03 +02:00
vhaudiquet 0fbd3f9952 feat: -d/--detach flag for non-interactive use
CI / Check, test, lint (push) Successful in 27s
v0.1
2026-05-21 20:57:48 +02:00
vhaudiquet 113ea01147 fix: cleanup prune command
CI / Check, test, lint (push) Successful in 33s
2026-05-21 20:47:11 +02:00
vhaudiquet fc67daa0ac test: add tests for run.sh 2026-05-21 20:46:53 +02:00
vhaudiquet 5a0021c6a3 fix: p attach on dead/unknown sessions 2026-05-21 20:46:40 +02:00
vhaudiquet 37af090a8f README.md 2026-05-21 20:45:53 +02:00
vhaudiquet 2d21e63ccb fix: p logs silently returning no output
CI / Check, test, lint (push) Successful in 36s
2026-05-20 18:55:06 +02:00
vhaudiquet a8730ca0f5 feat: parallel ls polling with timeout, rsync progress, system dependency check on worker register
CI / Check, test, lint (push) Successful in 29s
2026-05-20 18:06:01 +02:00
vhaudiquet b27e92b6f7 feat: ls only lists running jobs, prune removes all running jobs
CI / Check, test, lint (push) Successful in 31s
2026-05-20 17:39:46 +02:00
vhaudiquet e9ab6c6a0f fix: tryfix directory creation
CI / Check, test, lint (push) Successful in 30s
2026-05-20 11:41:39 +02:00
vhaudiquet 6a4c5d41a1 fix: tryfix directory creation
CI / Check, test, lint (push) Successful in 27s
2026-05-20 11:35:39 +02:00
vhaudiquet 7f0574a1a5 fix: create remote directories before syncing
CI / Check, test, lint (push) Successful in 30s
2026-05-20 11:27:25 +02:00
vhaudiquet b16a0ff702 fix: lint clippy sort_by -> sort_by_key
CI / Check, test, lint (push) Waiting to run
2026-05-20 11:22:04 +02:00
vhaudiquet 9bf111b417 ci: add ci tests, checks (clippy, fmt)
CI / Check, test, lint (push) Failing after 51s
2026-05-20 11:06:21 +02:00
vhaudiquet 082323d815 pull, rm, and rm workers 2026-05-20 10:22:01 +02:00
vhaudiquet 7a85775a3c attach, logs, and stop jobs 2026-05-20 10:15:25 +02:00
vhaudiquet bc37c4fbc6 initial job running functionality 2026-05-20 10:07:20 +02:00
vhaudiquet bb475dafb7 refactor for "p worker" subcommand 2026-05-20 09:50:31 +02:00
vhaudiquet 76fe691f0b spec: update spec
- new "p worker" command wrapping register/workers/default
- tmux session updates
2026-05-20 09:44:33 +02:00
vhaudiquet 235e99988a fix format 2026-05-19 23:03:43 +02:00
vhaudiquet 226dfa0e36 register and list workers 2026-05-19 23:02:14 +02:00
vhaudiquet beb4797119 argument parsing, skeleton structure, basic project 2026-05-19 20:50:58 +02:00
vhaudiquet b2a30d7900 initial commit (spec) 2026-05-19 17:19:49 +02:00