Commit 166033c
🐛 fix: handle edge cases in _compute_progress_from_tasks and clean up query_run_costs
- Use `run.get("tasks") or []` to handle explicit null tasks from JSON
- Use `is not None` check for peakRss to avoid treating 0 as missing
- Fix pcpu comment to correctly describe aggregate CPU% semantics
- Revert query_run_costs to two separate clean SQL queries matching file convention
- Fix docstring to reference Seqera Platform tw run dumps instead of Nextflow log tarballs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7b216ac commit 166033c
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments