Commit Graph
13 Commits
Author SHA1 Message Date
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 df516310ec refactor(api): 统一官方 API 命名与 provider 规范值
- 将公共 data_provider 统一为 NextTrace-API,并保留旧别名输入兼容
- 按 v3/v4 语义重命名内部实现并保留 Deprecated Go 包装
- 同步 CLI、Web、MCP、文档及输出规范化测试
2026-08-14 19:37:55 +08:00
tsosunchia 75ca92d7e6 build(toolchain): 升级 Go 基线至 1.26.5 2026-08-03 02:05:35 +08:00
tsosunchia 3e584ed6dd build: 升级 Go 版本到 1.26.4 2026-06-16 10:54:33 +08:00
tsosunchia 51ee6515cd docs(agents): 禁止直接 PR 到 NTrace-core 2026-06-10 16:12:25 +08:00
tsosunchia 1a1c1574e6 docs(agents): 规范 PR 提交信息质量 2026-05-22 11:43:53 +08:00
tsosunchia 1c8155a502 feat: add deploy MCP auth 2026-04-29 12:01:04 +08:00
tsosunchia e66e2663f6 Restore Windows --dev source selection
Keep Windows --dev usable by resolving the selected device to a source IP and clearing SourceDevice before the tracer reaches Windows send paths. Update docs and project notes to describe that Windows routing may still choose the actual egress interface.
2026-04-20 09:06:53 +08:00
tsosunchia 976156ba91 fix: restore windows icmpv6 tos handling 2026-03-17 23:12:15 +08:00
tsosunchia f6816f9592 feat: add standalone mtu mode metadata and flavor gating 2026-03-17 11:33:36 +08:00
tsosunchia d044c87441 rename AIAGENT rule file 2026-03-13 19:42:25 +08:00
tsosunchia 77abf1b515 Refactor MTR signal handling and context management
- Unified signal handling in MTR CLI using `signal.NotifyContext(...)` for Ctrl-C/SIGTERM, removing the need for separate `sigCh` and goroutine.
- Updated `runMTRTUI`, `runMTRReport`, and `runMTRRaw` functions to utilize the new context management.
- Enhanced `mtrUI` to safely call `cancel()` only if it is not nil.
- Modified `IPDBOneClient` to clone HTTP clients with timeout settings, ensuring proper timeout handling without modifying global state.
- Adjusted raw aggregation keys in the frontend to collapse based on TTL, improving display of timeout/success results.
- Added context support in various tracer functions to allow cancellation and timeout handling.
- Improved error handling and test coverage for MTR operations, ensuring robustness against nil results and empty responses.
- Refined DNS resolver functions to use mutexes for thread-safe access to the geo resolver override.
2026-03-06 14:07:58 +08:00
tsosunchia f69903a00c fix(web): resolve post-v1.5.0 review findings
Address all three review findings from the v1.5.0..HEAD audit:\n- Remove Web MTR reliance on process-wide globals (SrcDev/DisableMPLS) by passing session-scoped trace.Config fields.\n- Apply dot_server consistently to Web/API Geo DNS and LeoMoe/FastIP initialization via scoped resolver setup.\n- Restore Web MTR default per-hop cadence to 1000ms and send hop_interval_ms from frontend.\n\nAlso added regression tests in server/trace_handler_test.go and util/dns_resolver_test.go, and updated CLAUDE.md.\n\nValidation passed:\n- go test ./...\n- go build ./...\n- go build -tags flavor_ntr ./...\n- go build -tags flavor_tiny ./...\n- node --check server/web/assets/app.js
2026-03-06 13:04:42 +08:00