Repository navigation
Commit 607dfec
GJC Multisession
fix(discovery): compare contained-root identity at plain-stat precision
The user agent directory identity is captured with a plain fs.stat, whose
dev/ino are doubles. readContainedFile widened them to bigint and compared
against an exact bigint stat, so any NTFS file ID above 2^53 never matched
and native user-agent instructions were silently skipped on Windows. The
#4834 explicit-agent-dir case failed whenever the temp dir got such an ID.1 parent 692f7fe commit 607dfec
3 files changed
Lines changed: 43 additions & 5 deletions
File tree
- packages/coding-agent
- changelog.d
- src/discovery
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
994 | 1009 | | |
995 | 1010 | | |
996 | 1011 | | |
| |||
1003 | 1018 | | |
1004 | 1019 | | |
1005 | 1020 | | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
| 1021 | + | |
1011 | 1022 | | |
1012 | 1023 | | |
1013 | 1024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments