3 Commits

Author SHA1 Message Date
xiaodu55
3f2d8e8706
test: fix four Windows-host failures across skill review, personal MCP, and shelf tests (#6167)
- measure the link-scan benchmark with perf_counter: monotonic ticks at
  ~15.6 ms on Windows and the linear scan finishes inside one tick, so
  the ratio assertion divided by exactly 0.0;
- guard the owner-only mode assertion on Windows, where chmod cannot
  express 0o600 (same class as #5932);
- pin strictly increasing updated_at values in the shelf-ordering test:
  datetime.now(UTC) has ~15.6 ms granularity on Windows, so rapid inserts
  can share one timestamp and the id tiebreak reorders the entries.

Fixes #6166

Co-authored-by: xiaodu55 <xiaodu55@users.noreply.github.com>
2026-10-02 21:43:13 +08:00
NanPan
4343ced685
fix(mcp): drain personal config mutations on cancellation (#6093)
* fix(mcp): drain personal config mutations on cancellation

* test(mcp): cover cancelled personal config mutation

* test(mcp): remove unused cancellation event

* test: remove unused event loop from personal MCP cancellation regression

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-09-30 19:39:11 +08:00
Wenchao An
52a3e2564f
fix(mcp): isolate personal connections from deployment configuration (#5966)
* fix(mcp): isolate personal connections from deployment configuration

* fix(mcp): preserve personal task ownership and repair plugin E2E fixtures

* fix(mcp): handle corrupt personal config and cache owned calls

* fix(mcp): pin personal endpoint addresses and handle invalid listings

* fix(mcp): recheck current authority for privileged personal connections
2026-09-28 16:02:34 +08:00