Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Limrun network capture: serve tunnel traffic through network dump and a downloadable HAR artifact

未关闭
#4,064 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
networking

调研方向

First check that #4080 is complete, since this issue is blocked by it. Trace Limrun's networkDump operation and the artifacts/close paths that write the HAR; map captured tunnel entries to NetworkDumpResult and register the HAR with trackDownloadableArtifact. Verify the stated completion conditions: redacted tunnel requests, a downloadable valid HAR 1.2 document, and continued reporting of metadata.failures.

由索引模型根据 Issue 内容生成。

描述

Purpose

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.

Dependencies

Blocked by: #4080.

主要语言
TypeScript
星标
5.2k
派生
359
平均合并
12 小时 43 分钟
30 天内合并 PR
666

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

callstack/agent-device 的其他 Issue

查看 callstack/agent-device 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。