Xiangzhe
18fceaf8d4
docs(dedup): correct the CodeQL claim on the tenant-namespace comment
...
The comment added in #11649 said keeping the API key id out of the digest
"avoids the false-positive CodeQL js/insufficient-password-hash on a cache/dedup
key". It does not. CodeQL raised alert #874 on the `createHash` in this very
function on the first scan after that merge: once an API-key-derived value
reaches the file at all, the query flags the sibling digest regardless of what
goes into it.
The plaintext prefix is still the right call — a namespace you can read off the
key beats one you cannot when debugging a dedup collision, and it matches
`semanticCache.generateSignature` (#3740 ), whose comment makes the same
incorrect claim. But a rationale that is measurably false is worse than no
rationale: the next person edits here, sees the alert the comment promised would
not happen, and doubts the design instead of the comment.
Replaced with what actually holds, plus the two things worth knowing: the alert
is dismissed per HR#14 and will come back on any edit here, and it must not be
"fixed" with a KDF — that would break the determinism dedup depends on.
Comment-only. No behaviour change; request-dedup tests 15/15.
2026-08-26 19:15:15 -03:00
..
2026-08-18 12:27:46 -03:00
2026-08-06 05:24:21 -03:00
2026-08-18 11:31:46 -03:00
2026-08-26 09:25:25 -03:00
2026-08-12 08:41:03 -03:00
2026-08-20 09:46:13 -03:00
2026-08-26 08:11:22 -03:00
2026-08-25 18:22:46 -03:00
2026-07-21 21:42:36 -03:00
2026-08-11 04:30:29 -03:00
2026-08-20 17:28:30 -03:00
2026-08-12 16:54:50 -03:00
2026-08-24 19:57:12 -03:00
2026-08-24 19:57:12 -03:00
2026-08-22 20:43:15 -03:00
2026-03-05 08:41:44 -03:00
2026-08-25 07:19:09 -03:00
2026-08-24 19:57:12 -03:00
2026-08-09 17:54:23 -03:00
2026-08-09 00:21:52 -03:00
2026-08-03 17:22:08 +03:00
2026-08-09 17:54:23 -03:00
2026-08-09 17:02:47 -03:00
2026-08-09 10:07:17 -03:00
2026-08-09 17:02:47 -03:00
2026-07-18 03:17:09 -03:00
2026-07-18 21:18:34 -03:00
2026-08-18 19:23:46 -03:00
2026-08-11 04:25:23 -03:00
2026-08-11 04:25:23 -03:00
2026-08-11 04:25:23 -03:00
2026-08-11 04:25:23 -03:00
2026-08-11 04:25:23 -03:00
2026-08-11 04:25:23 -03:00
2026-08-06 06:05:58 -03:00
2026-07-22 20:41:19 -03:00
2026-07-22 20:41:19 -03:00
2026-07-22 20:41:19 -03:00
2026-06-29 08:40:06 -03:00
2026-08-23 01:05:08 -03:00
2026-08-26 09:21:41 -03:00
2026-08-24 19:57:12 -03:00
2026-08-24 19:57:12 -03:00
2026-07-19 14:46:33 -03:00
2026-07-22 20:41:19 -03:00
2026-08-26 09:21:52 -03:00
2026-08-20 23:07:25 -03:00
2026-08-08 11:45:54 -03:00
2026-07-13 09:12:40 -03:00
2026-08-20 23:07:25 -03:00
2026-05-26 23:51:47 -03:00
2026-08-13 00:02:25 -03:00
2026-08-21 14:16:42 -03:00
2026-08-12 08:41:03 -03:00
2026-08-11 04:31:24 -03:00
2026-07-20 15:56:40 -03:00
2026-07-06 02:25:17 -03:00
2026-05-29 13:21:36 -03:00
2026-08-21 04:26:30 -03:00
2026-08-11 09:53:39 -03:00
2026-08-09 09:51:56 -03:00
2026-04-13 14:43:32 -03:00
2026-08-18 10:50:49 -03:00
2026-06-16 01:00:40 -03:00
2026-06-27 09:07:12 -03:00
2026-08-20 13:05:46 -03:00
2026-04-19 19:50:30 -03:00
2026-04-12 22:41:12 -03:00
2026-08-06 05:24:13 -03:00
2026-08-25 19:25:18 -03:00
2026-06-25 13:17:40 -03:00
2026-08-21 04:26:30 -03:00
2026-07-19 02:31:26 -03:00
2026-06-25 13:17:40 -03:00
2026-05-15 12:51:07 -03:00
2026-07-21 12:19:01 -03:00
2026-05-02 00:48:54 -03:00
2026-08-23 01:07:32 -03:00
2026-05-23 01:46:59 -03:00
2026-08-20 06:28:45 -03:00
2026-08-05 22:40:33 -03:00
2026-07-04 13:00:30 -03:00
2026-08-26 09:25:25 -03:00
2026-08-11 04:35:20 -03:00
2026-08-23 14:24:45 -03:00
2026-06-23 03:08:29 -03:00
2026-08-11 09:08:23 -03:00
2026-08-11 09:08:23 -03:00
2026-08-23 18:13:11 -03:00
2026-08-11 09:08:23 -03:00
2026-08-11 09:08:23 -03:00
2026-08-26 09:22:06 -03:00
2026-08-22 21:53:08 -03:00
2026-08-20 15:34:32 -03:00
2026-08-18 11:32:33 -03:00
2026-05-24 18:05:58 -03:00
2026-07-13 09:12:40 -03:00
2026-08-21 08:02:16 -03:00
2026-08-07 11:23:27 -03:00
2026-08-11 04:25:23 -03:00
2026-07-13 09:12:40 -03:00
2026-08-21 08:25:14 -03:00
2026-07-04 13:00:30 -03:00
2026-06-13 17:27:40 -03:00
2026-08-21 02:13:07 -03:00
2026-05-26 23:51:47 -03:00
2026-08-09 15:21:37 -03:00
2026-07-18 03:17:09 -03:00
2026-06-29 08:40:06 -03:00
2026-08-18 11:31:46 -03:00
2026-07-23 05:17:35 -03:00
2026-05-29 13:21:36 -03:00
2026-08-25 19:25:57 -03:00
2026-04-11 09:38:17 -03:00
2026-08-23 16:51:25 -03:00
2026-07-17 10:43:37 -03:00
2026-07-23 01:33:32 -03:00
2026-07-20 15:57:29 -03:00
2026-07-20 15:57:29 -03:00
2026-07-26 12:11:02 -03:00
2026-08-21 04:26:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-19 02:31:26 -03:00
2026-07-26 03:53:06 -03:00
2026-08-12 16:09:34 -03:00
2026-08-11 08:40:48 -03:00
2026-05-23 01:46:59 -03:00
2026-08-05 16:07:21 -03:00
2026-05-24 18:05:58 -03:00
2026-07-13 09:12:40 -03:00
2026-08-05 21:42:52 -03:00
2026-07-13 09:12:40 -03:00
2026-08-23 22:17:12 -03:00
2026-07-27 11:30:33 -03:00
2026-08-21 04:26:30 -03:00
2026-05-10 00:55:06 -03:00
2026-06-19 06:49:01 -03:00
2026-08-25 13:52:23 -03:00
2026-04-12 10:34:10 -03:00
2026-08-25 13:52:23 -03:00
2026-08-12 09:04:41 -03:00
2026-08-12 09:04:41 -03:00
2026-08-26 09:25:25 -03:00
2026-05-29 12:44:29 -03:00
2026-04-22 01:39:49 -03:00
2026-08-06 10:40:20 -03:00
2026-07-23 12:17:58 -03:00
2026-07-27 17:25:43 -03:00
2026-08-21 04:26:30 -03:00
2026-07-22 06:59:24 -03:00
2026-08-18 12:27:46 -03:00
2026-07-20 15:57:15 -03:00
2026-08-11 09:51:35 -03:00
2026-08-23 14:28:19 -03:00
2026-08-23 14:28:19 -03:00
2026-07-20 22:26:13 -03:00
2026-07-18 03:11:01 -03:00
2026-07-18 03:11:01 -03:00
2026-08-05 22:31:10 -03:00
2026-08-21 04:26:30 -03:00
2026-08-06 00:08:52 -03:00
2026-08-23 18:13:11 -03:00
2026-08-04 10:06:31 -03:00
2026-08-11 04:34:23 -03:00
2026-07-25 02:52:55 -03:00
2026-08-06 10:41:04 -03:00
2026-05-10 00:55:06 -03:00
2026-06-07 07:20:02 -03:00
2026-07-27 19:08:12 -03:00
2026-07-27 19:08:12 -03:00
2026-07-04 13:00:30 -03:00
2026-08-06 10:40:20 -03:00
2026-08-25 19:25:57 -03:00
2026-08-24 19:57:12 -03:00
2026-08-25 18:55:18 -03:00
2026-07-27 17:25:47 -03:00
2026-04-13 13:11:30 -03:00
2026-08-14 15:40:33 -03:00
2026-08-23 14:21:55 -03:00
2026-06-21 08:56:51 -03:00
2026-08-07 11:13:20 -03:00
2026-08-20 10:27:26 -03:00
2026-08-23 10:00:17 -03:00
2026-08-16 00:14:35 -03:00
2026-08-14 00:57:58 -03:00
2026-08-26 19:15:15 -03:00
2026-07-13 09:12:40 -03:00
2026-08-22 14:39:47 -03:00
2026-08-22 14:39:47 -03:00
2026-07-21 09:15:27 -03:00
2026-08-26 17:41:28 -03:00
2026-08-06 10:41:04 -03:00
2026-07-13 09:12:40 -03:00
2026-05-29 13:21:36 -03:00
2026-06-04 20:05:38 -03:00
2026-05-29 13:21:36 -03:00
2026-08-06 10:41:04 -03:00
2026-05-10 00:55:06 -03:00
2026-05-10 00:55:06 -03:00
2026-08-05 22:31:10 -03:00
2026-08-18 10:50:31 -03:00
2026-08-22 21:56:26 -03:00
2026-06-25 13:17:40 -03:00
2026-08-17 07:04:48 -03:00
2026-07-18 21:18:34 -03:00
2026-08-25 16:30:49 -03:00
2026-08-24 19:57:12 -03:00
2026-08-13 07:53:12 -03:00
2026-08-10 18:16:13 -03:00
2026-07-20 17:53:04 -03:00
2026-07-20 17:53:04 -03:00
2026-05-10 00:55:06 -03:00
2026-05-10 00:55:06 -03:00
2026-08-21 04:26:30 -03:00
2026-07-27 19:06:59 -03:00
2026-06-13 17:27:40 -03:00
2026-08-24 19:57:12 -03:00
2026-06-19 06:49:01 -03:00
2026-08-21 10:28:01 -03:00
2026-06-04 20:05:38 -03:00
2026-07-06 02:25:17 -03:00
2026-08-13 07:52:41 -03:00
2026-08-24 19:57:12 -03:00
2026-07-18 03:17:09 -03:00
2026-08-18 10:50:31 -03:00
2026-08-24 23:46:45 -03:00
2026-03-30 12:58:45 -03:00
2026-08-03 18:22:14 -03:00
2026-07-27 23:57:23 -03:00
2026-08-07 18:08:44 -03:00
2026-06-22 03:17:02 -03:00
2026-06-08 00:48:01 -03:00
2026-04-17 23:21:02 -03:00
2026-04-03 00:15:35 -03:00
2026-08-18 10:52:52 -03:00
2026-07-26 12:11:02 -03:00
2026-08-12 15:58:40 -03:00