pulse-triage[bot]
ba4e5f86cd
Speed up backend test KDF and pulse-agent release-identity builds
...
Backend `rest-*` shards became the slowest PR checks on `Pulse` after
Vitest partitioning (`#5331`), with `internal/config`,
`internal/api/configapi`, and `cmd/pulse-agent` spending hundreds of
seconds under `-race` on 600,000-iteration PBKDF2 calls, default-cost
bcrypt hashing, and `-p=1`-serialized `go build` invocations.
- Add a test-only `PULSE_TEST_EXPORT_PBKDF2_ITERATIONS` override
(`1000..600000`) in `internal/config/export.go`, gated strictly on
`.test`/`.test.exe` executables just like `pkg/auth/password.go`
(`PULSE_TEST_BCRYPT_COST`). Production binaries always use `600000`
and `100000` legacy fallback.
- Add `TestMain` for `internal/config` and `internal/api/configapi` and
wire `internal/api/main_test.go` to use bounded test KDF parameters
while preserving explicit real `600000`/`100000` roundtrip and legacy
compatibility tests (`TestExportPBKDF2ProductionDefaultsAndTestOverrideGuard`,
`TestHandleImportConfigAcceptsLegacyVersion40Bundle`).
- Remove hardcoded `-p=1` from `cmd/pulse-agent/release_identity_test.go`
so test builds respect `GOMAXPROCS` (`2` in CI) without altering build
flags or release-identity verification.
Contract-Neutral: Test-only PBKDF2 override gated strictly on .test/.test.exe executables; production 600000/100000 KDF defaults, archive wire format, and API contracts are unchanged.
Change-source: pulse-maintainer
2026-11-28 01:19:46 +00:00
..
2026-10-12 14:13:47 +01:00
2026-10-23 01:26:33 +01:00
2026-03-18 16:06:30 +00:00
2026-07-16 22:27:29 +01:00
2026-07-18 11:59:05 +01:00
2026-10-11 22:20:25 +01:00
2026-07-24 12:35:31 +01:00
2026-10-29 12:59:09 +00:00
2026-10-23 01:26:33 +01:00
2026-11-13 16:00:34 +00:00
2026-11-15 17:28:33 +00:00
2026-11-13 09:48:07 +00:00
2026-11-17 22:40:50 +00:00
2026-08-30 17:18:38 +01:00
2026-11-10 00:44:57 +00:00
2026-11-09 23:25:24 +00:00
2026-08-30 17:18:38 +01:00
2026-07-19 15:10:09 +01:00
2026-11-09 23:25:24 +00:00
2026-03-18 16:06:30 +00:00
2026-11-17 22:40:50 +00:00
2026-11-01 22:10:59 +00:00
2026-11-01 21:55:02 +00:00
2026-08-05 17:33:57 +01:00
2026-11-24 09:48:58 +00:00
2026-11-24 09:48:58 +00:00
2026-11-15 15:08:23 +00:00
2026-11-15 15:08:23 +00:00
2026-11-24 16:08:43 +00:00
2026-11-24 16:08:43 +00:00
2026-10-03 20:25:40 +01:00
2026-11-09 13:13:36 +00:00
2026-11-09 13:13:36 +00:00
2026-07-09 17:37:08 +01:00
2026-11-09 13:13:36 +00:00
2026-07-23 16:42:08 +01:00
2026-01-03 11:14:17 +00:00
2025-11-27 00:05:04 +00:00
2026-06-23 17:26:15 +01:00
2026-10-12 14:13:47 +01:00
2026-07-16 10:19:51 +01:00
2026-07-20 20:27:39 +01:00
2026-07-16 10:19:51 +01:00
2026-07-16 14:20:13 +01:00
2026-06-10 22:32:28 +01:00
2026-04-28 17:02:04 +01:00
2026-03-18 16:06:30 +00:00
2026-10-03 16:12:47 +01:00
2026-11-24 12:28:52 +00:00
2026-07-16 10:19:51 +01:00
2026-07-16 14:20:13 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-11-24 12:28:52 +00:00
2026-11-14 00:51:54 +00:00
2026-03-18 16:06:30 +00:00
2026-01-22 13:49:05 +00:00
2026-01-03 18:36:17 +00:00
2026-07-23 22:33:07 +01:00
2026-11-24 12:28:52 +00:00
2026-08-31 15:53:50 +01:00
2026-11-24 12:28:52 +00:00
2026-04-03 21:09:41 +01:00
2026-11-24 12:28:52 +00:00
2026-03-18 16:06:30 +00:00
2026-11-24 12:28:52 +00:00
2026-10-25 07:08:04 +00:00
2026-03-18 16:06:30 +00:00
2026-11-28 01:19:46 +00:00
2026-10-25 05:04:14 +00:00
2026-11-28 01:19:46 +00:00
2026-11-24 12:28:52 +00:00
2026-08-20 14:27:12 +01:00
2026-03-18 16:06:30 +00:00
2026-10-25 06:51:41 +00:00
2026-11-24 12:28:52 +00:00
2026-08-05 19:05:05 +01:00
2026-10-12 19:22:31 +01:00
2026-11-24 12:28:52 +00:00
2026-10-05 09:21:40 +01:00
2026-10-16 19:21:03 +01:00
2026-10-16 19:21:03 +01:00
2026-11-24 17:09:37 +00:00
2026-11-24 17:09:37 +00:00
2026-11-24 17:09:37 +00:00
2026-11-24 17:09:37 +00:00
2026-11-13 17:34:57 +00:00
2026-11-13 17:34:57 +00:00
2026-03-18 16:06:30 +00:00
2026-10-25 06:44:49 +00:00
2025-12-02 02:34:20 +00:00
2026-11-13 17:34:57 +00:00
2026-11-18 12:39:09 +00:00
2026-11-18 12:39:09 +00:00
2026-11-09 12:52:57 +00:00
2026-11-28 01:19:46 +00:00
2026-06-03 12:29:37 +01:00
2026-11-24 12:28:52 +00:00
2026-03-18 16:06:30 +00:00
2026-10-03 16:12:47 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-07-22 16:18:00 +01:00
2026-10-04 09:45:21 +01:00
2026-11-07 12:13:06 +00:00
2026-08-24 10:17:17 +01:00
2026-08-24 10:17:17 +01:00
2026-03-18 16:06:30 +00:00
2026-07-07 09:54:14 +01:00
2026-11-19 07:51:15 +00:00
2026-11-07 12:13:06 +00:00
2026-10-03 09:25:52 +01:00
2026-10-12 14:13:47 +01:00
2026-10-12 14:13:47 +01:00
2026-11-17 23:34:01 +00:00
2026-11-17 23:34:01 +00:00
2026-09-05 19:48:49 +01:00
2026-10-16 10:21:27 +01:00
2026-11-03 19:21:28 +00:00
2026-11-03 19:21:28 +00:00
2026-06-23 17:26:15 +01:00
2026-08-20 14:49:59 +01:00
2026-06-09 09:43:21 +01:00
2026-07-25 00:21:35 +01:00
2026-10-07 15:51:28 +01:00
2026-08-27 16:27:46 +01:00
2026-07-20 20:27:39 +01:00
2026-10-07 16:57:57 +01:00
2026-01-03 18:36:17 +00:00
2026-01-03 18:36:17 +00:00
2026-10-07 16:57:57 +01:00
2026-11-01 22:31:55 +00:00
2026-09-08 08:08:23 +01:00
2026-11-06 20:31:23 +00:00
2026-11-01 21:55:02 +00:00
2025-12-17 13:28:06 +00:00
2026-08-27 16:27:46 +01:00
2026-11-24 12:28:52 +00:00
2026-11-24 12:28:52 +00:00
2026-03-18 16:06:30 +00:00
2026-03-29 14:56:33 +01:00
2026-04-03 00:45:05 +01:00
2026-04-03 00:45:05 +01:00
2026-07-23 22:33:07 +01:00
2026-07-23 22:33:07 +01:00
2026-01-03 18:36:17 +00:00
2026-11-13 17:34:57 +00:00
2026-01-03 18:36:17 +00:00
2026-03-18 16:06:30 +00:00
2026-06-09 21:42:21 +01:00
2026-10-11 18:07:53 +01:00
2026-07-25 00:21:35 +01:00
2026-03-18 16:06:30 +00:00
2026-05-12 11:18:31 +01:00
2026-05-12 17:32:11 +01:00
2026-03-18 16:06:30 +00:00
2026-11-17 20:40:45 +00:00
2026-11-28 01:19:46 +00:00
2026-03-18 16:06:30 +00:00
2026-11-24 12:28:52 +00:00
2026-10-14 14:54:32 +01:00
2026-11-24 12:28:52 +00:00
2026-11-24 12:28:52 +00:00
2026-07-25 00:21:35 +01:00
2026-11-24 12:28:52 +00:00
2026-11-24 12:28:52 +00:00
2026-10-07 16:43:18 +01:00
2026-03-18 16:06:30 +00:00
2026-06-02 18:11:25 +01:00
2026-10-17 14:24:56 +01:00
2026-07-22 16:18:00 +01:00
2026-10-17 17:36:24 +01:00
2026-10-17 21:10:17 +01:00
2026-10-17 21:10:17 +01:00
2026-07-23 06:44:33 +01:00
2026-11-06 10:28:19 +00:00
2026-04-01 12:00:31 +01:00
2026-07-07 09:54:14 +01:00
2026-09-15 02:11:52 +01:00
2026-11-19 15:42:16 +00:00
2026-11-19 15:42:16 +00:00
2026-11-19 15:42:16 +00:00
2026-04-19 15:02:18 +01:00
2026-11-14 00:51:54 +00:00
2026-11-19 05:31:45 +00:00
2026-04-12 11:19:34 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-11-13 08:11:01 +00:00
2026-11-13 07:16:45 +00:00
2026-11-13 08:24:18 +00:00
2026-11-16 04:29:22 +00:00
2026-08-30 13:49:58 +01:00
2026-08-30 13:49:58 +01:00