Commit 1169b81
fix(test): sandbox tool-config tests away from the live ~/.airtable-user-mcp
switchProfile()/toggleTool()/toggleCategory() all save() to
tools-config.json; the main ToolConfigManager suite ran unsandboxed, so
every run rewrote the user's LIVE config — a Windows EPERM rename race
when the real daemon holds the file, and it could flip the real active
profile mid-run. A file-level AIRTABLE_USER_MCP_HOME tmp-dir hook now
covers the whole file (paths resolve lazily, so the env override takes
effect at call time).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 61c8df8 commit 1169b81
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
17 | 33 | | |
18 | 34 | | |
19 | 35 | | |
| |||
0 commit comments