Repository navigation
Commit e26a153
v0.7.1: background log capture for every running container (#103)
* history: per-run log counters written in the same transaction as rows
Add log_runs (persisted_lines, complete) and a nullable container_logs.started_at,
migrated in place from v0.7.0 databases. The batched writer bumps the run counter
in the same transaction as the inserted rows. Add runtime::run_info (inspect).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* logpersist: background log supervisor driven by the poll tick
Replace the per-view persisting follower with a supervisor that keeps one
resumable 'logs -f' follower per running container (cap 32) and one-shot
catch-ups for stopped runs, resuming exactly from log_runs counters. Display
streams no longer persist. New 'backgroundLogs' pref (default on) applied live
through save_prefs; Doctor reports followed containers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* settings: Save container logs in the background switch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* live tests: background log capture (a-e), replacing the per-view test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(live): retry the first-poll CPU check under parallel container churn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent c85703d commit e26a153
16 files changed
Lines changed: 1744 additions & 268 deletions
File tree
- app
- src-tauri
- src
- runtime
- tests
- src
- modals
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
| |||
665 | 664 | | |
666 | 665 | | |
667 | 666 | | |
668 | | - | |
669 | 667 | | |
670 | 668 | | |
671 | 669 | | |
| |||
716 | 714 | | |
717 | 715 | | |
718 | 716 | | |
719 | | - | |
720 | 717 | | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
| 718 | + | |
| 719 | + | |
728 | 720 | | |
729 | 721 | | |
730 | 722 | | |
| |||
738 | 730 | | |
739 | 731 | | |
740 | 732 | | |
741 | | - | |
742 | 733 | | |
743 | 734 | | |
744 | 735 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | 736 | | |
751 | 737 | | |
752 | 738 | | |
| |||
858 | 844 | | |
859 | 845 | | |
860 | 846 | | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
861 | 850 | | |
862 | 851 | | |
863 | 852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
158 | 172 | | |
159 | 173 | | |
160 | 174 | | |
| |||
228 | 242 | | |
229 | 243 | | |
230 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
231 | 264 | | |
232 | 265 | | |
233 | 266 | | |
| |||
0 commit comments