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
{{ message }}
Repository navigation
Limrun network capture: serve tunnel traffic through network dump and a downloadable HAR artifact #4064
Limrun's --provider-network-logs capture keeps completed requests in memory. Since #4080, artifacts and close write them to <state-dir>/network-har/<lease-id>.har on the daemon host. The CloudArtifact.url is that absolute daemon-host path. Remote and proxy clients can't download it, and network dump on a capture-enabled Limrun session never sees tunnel traffic.
Required behavior
While a capture is live, Limrun's networkDump operation returns the capture's in-memory entries, mapped from DestinationTunnelHAREntry to the NetworkDumpResult shape. network dump --include headers|body then applies the daemon's payload caps and redactNetworkLogText.
The HAR that artifacts and close write is registered with trackDownloadableArtifact, so remote and proxy clients can download it and the tracker's expiry owns retention.
Completion conditions
agent-device network dump --include headers on a Limrun session with --provider-network-logs lists tunnel requests, with redaction applied.
agent-device artifacts on a remote or proxy client lists a downloadable HAR, and the download yields a valid HAR 1.2 document.
metadata.failures (count, last typed kind, last dial failure) is still reported.
Updated for #4080. The live file, the rewrite loop and retention are gone there, so only remote delivery (trackDownloadableArtifact) and network dump remain in scope.
Decision: Limrun HAR: Keep the live network dump mapping inside the admitted runtime operation with the existing caps and redaction. For downloadable HARs, reserve a daemon-owned destination at the producer, commit it with the originating lease proof and return the committed ID from artifacts or close. Reuse the same reservation for teardown or verified recovery. Use #4970 for the output port and #4950 if the lookup crosses into retained provider artifacts. Preserve the typed provider failure metadata.
Activity
thymikee commentedon Oct 29, 2026
Updated for #4080. The live file, the rewrite loop and retention are gone there, so only remote delivery (
trackDownloadableArtifact) andnetwork dumpremain in scope.thymikee commentedon Nov 22, 2026
ADR 0040 alignment (ADR)
Decision: Limrun HAR: Keep the live
network dumpmapping inside the admitted runtime operation with the existing caps and redaction. For downloadable HARs, reserve a daemon-owned destination at the producer, commit it with the originating lease proof and return the committed ID fromartifactsorclose. Reuse the same reservation for teardown or verified recovery. Use #4970 for the output port and #4950 if the lookup crosses into retained provider artifacts. Preserve the typed provider failure metadata.