Commit 2fe7239
committed
fix: address critical issues from phase 2 review
- Fix memory leak in query-cache.ts: clean up generations Map when entries are deleted
- Fix potential data leak in analytics/log-helpers.ts: use explicit allowlist instead of spread operator
- Remove redundant clearGeneration call in query-invalidation.ts (now handled by deleteCacheEntryCore)
- Add tests for PII filtering in analytics1 parent 73779c8 commit 2fe7239
File tree
5 files changed
+1
-39
lines changed- cli/src/utils
- sdk/src/impl
5 files changed
+1
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
6 | 2 | | |
7 | 3 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 4 | | |
13 | 5 | | |
14 | 6 | | |
| |||
50 | 42 | | |
51 | 43 | | |
52 | 44 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 45 | | |
58 | 46 | | |
59 | 47 | | |
| |||
117 | 105 | | |
118 | 106 | | |
119 | 107 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 108 | | |
125 | 109 | | |
126 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
| 291 | + | |
300 | 292 | | |
301 | 293 | | |
302 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
6 | 2 | | |
7 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | 2 | | |
10 | 3 | | |
| |||
0 commit comments