You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Track peak download bytes separately from object
counts so receive step never shows ~100 kB
- Replace hasAutoStarted boolean with suppressedRepo
string so cached repo clicks re-trigger analysis
- Set paths.relative: false so deep URLs get absolute
asset paths instead of broken relative ones
return` With <span class="phase-info-stat-value">${formatMb(loaded)} MB</span> downloaded, that\u2019s somewhere between <span class="phase-info-stat-value">${highPct}%</span> and <span class="phase-info-stat-value">${lowPct}%</span> done. That's all we know.`
return` With <span class="phase-info-stat-value">${formatMb(receivedBytes)} MB</span> downloaded, that\u2019s somewhere between <span class="phase-info-stat-value">${highPct}%</span> and <span class="phase-info-stat-value">${lowPct}%</span> done. That's all we know.`
120
120
})()
121
121
:''
122
122
@@ -179,6 +179,9 @@ ${statBlock}`
179
179
let previousPhaseId:PhaseId|null=$state(null)
180
180
let seenFetching =$state(false)
181
181
182
+
/** Peak bytes seen from 'downloading' events — never decreases. */
183
+
let peakDownloadedBytes =$state(0)
184
+
182
185
// Track which clonePhase string was already acknowledged as complete.
183
186
// Because effects run after render, a new phase arriving already at loaded >= total
184
187
// gets at least one render cycle as 'active' before being marked complete.
@@ -211,13 +214,19 @@ ${statBlock}`
211
214
}
212
215
})
213
216
214
-
// Keep snapshots up to date: live data for the active phase, frozen for completed phases
217
+
// Keep snapshots up to date: live data for the active phase, frozen for completed phases.
218
+
// 'downloading' events (HTTP byte counts) are tracked separately in peakDownloadedBytes
219
+
// to avoid overwriting the 'receive' snapshot with object counts from 'Receiving objects'.
215
220
$effect(() => {
216
221
if (activePhaseId&&activePhaseId!==previousPhaseId) {
0 commit comments