Commit Graph
122 Commits
Author SHA1 Message Date
tsosunchia b2f859a0cd fix(ci): 升级 lint 并覆盖 CLI 入口性能检查
- 升级 golangci-lint 至 2.15.0,兼容 Go 1.27.3 导出数据
- 补齐 CLI 入口的性能工作流路径并核对完整平台列表
2026-11-01 02:59:02 +08:00
tsosunchia 02c5986bfa build(go): 升级至 Go 1.27.3 并统一使用默认 JSON 后端
- 同步模块、CI 和构建工具链版本,按对照提交选择性能测试工具链
- 移除 nojsonv2 发布配置、PGO 专用配置与旧实现测试分支
- 更新 JSON 性能复测证据、发布决策和构建说明
2026-11-01 02:37:23 +08:00
Kexy Biscuit a.k.a. るる cfc5b46867 fix(trace): 修复 Windows ARM64 默认 IPv6 流量类别设置 (#260)
- 默认流量类别为零时跳过 Windows 不支持的 socket 选项
- 为 ICMP、TCP、UDP 添加零值及非零值回归,并在 Windows ARM64 原生 CI 执行
2026-10-31 23:13:00 +08:00
tsosunchia 0f1f18eb44 ci: 按改动路径运行专项验收 (#258)
- 保留三平台基础测试、race、JSON 兼容及完整构建矩阵
- 按实际运行依赖选择专项检查,手动和差异读取失败时完整运行
- 增加路径分类回归测试和 CI 说明,排除普通文档误触发
2026-10-29 09:30:53 +08:00
tsosunchia 15d82abc04 feat(mtr): 添加快照保存、退出摘要与快捷键帮助
- 在实时和回放 TUI 中冻结快照并独占保存文本、JSON 或离线 HTML
- 恢复终端后输出可关闭的摘要,保留探测与录制退出状态
- 增加可滚动帮助及中文路径编辑,补充三平台交互验收
2026-09-12 23:35:42 +08:00
tsosunchia 99f1afa487 fix(trace): 让发送配置失败中止探测而非计入丢包 2026-09-08 15:21:27 +08:00
tsosunchia 72ec48957f ci(fwmark): 禁止持久化凭据并验证 socketcall 路径
保留 MTR JSON 回归断言日志,便于定位 CI 失败原因。
2026-09-08 14:48:38 +08:00
tsosunchia 6eafad902a chore(sync): 同步主线的 TOS 与策略路由修复 2026-09-08 10:26:38 +08:00
tsosunchia b56d4f72b5 fix(tos): 补强跨平台字段设置与策略路由选源 (#236)
保留完整 8 位 TOS 参数,传播初始化失败,修复 Linux 策略路由选源与 MTR socket 轮换,并为 Windows 非零 ICMPv4 TOS 使用 WinDivert。补齐三平台抓包、Linux 隔离路由验收及平台文档。
2026-09-08 10:19:50 +08:00
tsosunchia cdfd5c9034 test(mtr): 将三种构建的录制回放终端验收接入 CI 2026-09-08 08:30:37 +08:00
tsosunchia 75a4ed2140 feat(trace): 支持 Linux fwmark 策略路由探测 (#233)
* feat(trace): 支持 Linux fwmark 会话级策略路由探测

同步源地址选路与发送 socket 标记,覆盖三协议、双栈及 MTR 重建;增加 JSON 会话参数和隔离双出口回归。

* test(fwmark): 显式指定隔离网络的接口名称

* test(fwmark): 等待即时抓包就绪并修正错误输出检查

* fix(fwmark): 随机源端口不参与固定端口路由查询

* test(fwmark): 验证随机端口路由和显式接口约束

* test(fwmark): 验证目的地回包并隔离 ICMP 限速干扰

* test(fwmark): 移除内核不接受的源端口规则

* fix(fwmark): 路由查询前分配会话固定源端口

* fix(fwmark): 按原始 socket 语义查询路由并忽略传输端口
2026-09-08 07:28:07 +08:00
tsosunchia ca310448a4 feat(doctor): 增加独立环境自检与跨平台路由诊断 (#232)
- 汇总目标解析、源地址、路由预测与后端初始化结果
- 保持自检不发包、不安装驱动,并区分失败与未验证状态
- 隐藏调试日志凭据,补充三平台验收与文档
2026-09-07 21:47:07 +08:00
tsosunchia aeb6ee8c89 feat(mtr): 支持自定义统计列与 TUI 列编辑 (#231)
- 为 MTR 文字输出添加八项既有统计列的选择与排序
- 支持 TUI 列编辑、暂停和窗口缩放时串行重绘及终端恢复
- 在初始化前校验模式冲突并保持默认布局和 RAW/JSON schema
- 补充跨平台 PTY/ConPTY、排版、输入和并发回归及中英文说明
2026-09-07 16:42:13 +08:00
tsosunchia a56ae609de ci(fuzz): 禁用只读检出步骤的凭据持久化 2026-09-05 19:01:32 +08:00
tsosunchia 977bab1939 ci(perf): 在缺少历史脚本时保留当前提交的性能证据 2026-09-05 18:40:46 +08:00
tsosunchia 3a9ed67304 ci(lint): 使用本地历史检查超大 PR 的增量问题 2026-09-05 18:40:46 +08:00
tsosunchia f19276ae33 ci(fuzz): 增加 Go 1.27.1 nightly 解析器模糊测试 2026-09-05 12:17:46 +08:00
tsosunchia 97439fe664 ci(perf): 保存 MTR worker goroutine profile 2026-09-05 09:39:41 +08:00
tsosunchia 2e13e6960a ci(perf): 明确基线运行时并合并输出写入 2026-09-04 14:42:52 +08:00
tsosunchia 66098f6dc5 ci(test): 逐一校验性能脚本语法 2026-09-04 13:44:05 +08:00
tsosunchia 74d9bf31ed ci(test): 避免以 root 运行 PR 测试 2026-09-04 13:37:55 +08:00
tsosunchia a28d3ad449 ci(perf): 隔离基准 checkout 与缓存 2026-09-04 12:41:12 +08:00
tsosunchia 1b2348b060 ci(test): 使用 setup-go 绝对路径运行提权测试 2026-09-04 12:41:03 +08:00
tsosunchia 82ba2ad1b7 ci(lint): 升级支持 Go 1.27 的 golangci-lint 2026-09-04 12:40:58 +08:00
tsosunchia 5cb27f7cf8 ci(lint): 使用 Go 1.27.1 源码构建 golangci-lint 2026-09-04 12:34:16 +08:00
tsosunchia b771e8d758 build(go): 升级 Go 1.27.1 并提高 Darwin 最低版本
- 固定 benchstat 并增加默认 JSON/nojsonv2、race 与三 flavor 门禁
- 将正式构建锁定为 nojsonv2,校验 macOS 13.0 LC_BUILD_VERSION
- 归档 Linux 参考 benchmark、profile、测试耗时与二进制证据
2026-09-04 11:43:21 +08:00
tsosunchia 75ca92d7e6 build(toolchain): 升级 Go 基线至 1.26.5 2026-08-03 02:05:35 +08:00
tsosunchia b129c1f913 fix(dns): 收紧执行隔离与 AXFR 文件边界
- 让全局 DNS 作用域等待可取消,并按唯一地址计算 PTR 查询预算
- 校验 query ID、ODoH Stamp 和 disabled flavor 的 DNS 调用
- 修复 HTTP/ODoH 失败清理并阻止 AXFR 路径穿越
2026-07-27 17:25:20 +08:00
tsosunchia 09b9ff5f14 feat(dns): 组合 q 公共子包提供 DNS 客户端
- 仅在 full flavor 注册 -l/--dns 独占终端模式
- 锁定 q v0.19.12 并加入差分、fatal 与 flavor 隔离门禁
- 记录架构、体积、许可证、升级协议与已知风险
2026-07-27 16:35:43 +08:00
dependabot[bot] de26ebcf8d chore(deps): bump actions/setup-go from 6 to 7
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6 to 7.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-20 14:42:53 +00:00
tsosunchia 6ccdd31fc4 fix(ci): 收紧 lint workflow 凭证并统一徽章样式 2026-07-15 13:00:26 +08:00
tsosunchia 16502d3e9c docs(readme): 切换 lint 状态徽标到 GitHub Actions 2026-07-15 11:42:58 +08:00
dependabot[bot] e338bc98ac chore(deps): bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-22 14:42:39 +00:00
tsosunchia 3e584ed6dd build: 升级 Go 版本到 1.26.4 2026-06-16 10:54:33 +08:00
tsosunchia 7cc001244b ci(homebrew): 改为每周同步 Core Formula 2026-05-12 19:21:57 +08:00
dependabot[bot] 499f27a4ff chore(deps): bump softprops/action-gh-release from 2 to 3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 16:01:18 +00:00
tsosunchia 7ff76cfbde Rewrite one-key installer for flavors and add smoke tests 2026-04-08 19:00:50 +08:00
tsosunchia 3c4b739dbc 在回归测试中添加对IPv6检查的跳过选项,以避免环境波动影响结果 2026-03-21 09:51:17 +08:00
tsosunchia a4efe60ea0 Add regression CI 2026-03-21 09:15:34 +08:00
tsosunchia a9a2325762 feat: enhance build scripts and improve error handling for Windows TCP traces 2026-03-06 13:48:16 +08:00
tsosunchia 9eff7aabf4 feat: introduce build variants for NextTrace with flavor options
- Added three build flavors: `nexttrace` (full), `nexttrace-tiny`, and `ntr` (MTR-focused).
- Updated README.md and README_zh_CN.md to reflect new build variants and their features.
- Implemented manual build instructions for each flavor.
- Enhanced command-line argument parsing to accommodate flavor-specific options.
- Disabled WebUI and Globalping features in `nexttrace-tiny` and `ntr` flavors.
- Created separate files for handling Globalping and WebUI functionality based on build flavor.
- Added error handling for unavailable features in non-full builds.
2026-03-05 22:05:38 +08:00
dependabot[bot] 9ea0d7220b chore(deps): bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-03 07:44:56 +08:00
dependabot[bot] 014ec82e1c chore(deps): bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-03 07:44:56 +08:00
tsosunchia 357c03604d feat: remove unnecessary -checklinkname flag from build scripts and documentation 2026-03-02 16:31:46 +08:00
Jason Huang bb2623e694 Merge branch 'main' into patch-1 2026-03-02 05:47:17 +08:00
Jason Huang ecec769dd1 fix: enable CGO for Android to fix DNS resolution issues
Switch to Android NDK toolchain, enable CGO for Android builds.

Already tested with Termux 0.118.3 with Xiaomi 15 Ultra (Android 16).
                  
Thanks to: https://dave.engineer/blog/2025/11/cross-compiling-go-android/
2026-03-02 05:44:13 +08:00
tsosunchia a523cda440 feat: 更新 Go 版本至 1.26.0,调整构建和测试工作流,增强输入解析器 2026-02-28 00:13:21 +08:00
KatyushaScarlet 412010e4e6 Add linux/loong64 target 2026-01-07 19:03:45 +08:00
tsosunchia 5245ee3320 Merge pull request #139 from nxtrace/dependabot/github_actions/actions/upload-artifact-6
chore(deps): bump actions/upload-artifact from 5 to 6
2025-12-22 11:18:27 +08:00
dependabot[bot] 3ce46aed15 chore(deps): bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 14:05:29 +00:00