Commit Graph
1321 Commits
Author SHA1 Message Date
JATMN 95e96e9c16 test: restore credential refresh module mocks (#2381)
Capture detached real module exports before mocking and restore secure
storage and device-flow modules after each refresh-on-401 test. This
prevents shared-process credential mocks from breaking provider setup and
saved-profile startup tests in randomized serial runs.
2026-10-24 01:51:00 -07:00
JATMN 9160012753 test: run provider recommendation credential checks in process (#2376) 2026-10-24 01:44:47 -07:00
JATMN f5d5c69544 test: synchronize retention policy phases (#2380)
* test: synchronize retention policy phases

* test: verify cleanup policy hook ordering

Record the rejecting policy hook and threshold phase in the cleanup fixture,
and assert that the hook runs first while the throttle lock is held.
Preserve existing policy outcome and snapshot assertions.

* test: prove cleanup reruns remove newly completed sessions
2026-10-24 01:31:56 -07:00
JATMN 38ac018817 test: control paginated discovery deadlines (#2379) 2026-10-24 01:26:02 -07:00
JATMN fea268bca6 test: synchronize process outcome checks (#2378) 2026-10-24 01:25:11 -07:00
JATMN 17cd64c54e deps: upgrade diff to 9.0.0 (M-3) (#2377) 2026-10-24 01:09:41 -07:00
JATMNandjatmn a5a68675cc deps: pin @types/node to 24.19.2 (M-1) (#2375)
Co-authored-by: jatmn <12479882+jatmn@users.noreply.github.com>
2026-10-24 01:00:32 -07:00
JATMN 402478c97e chore(deps): update small ESM utility majors (#2372) 2026-10-23 23:13:23 -07:00
JATMN 67549c6da2 ci: bump Docker actions to current majors (#2373) 2026-10-23 23:08:43 -07:00
JATMN 9086822bb6 chore(deps): update typescript-eslint, knip and MCP SDK (#2371) 2026-10-23 22:03:30 -07:00
JATMN e7a3a17e00 chore(deps): update AWS SDK and Smithy group (#2370) 2026-10-23 21:25:39 -07:00
JATMN 714533a2fe ci: disable persisted checkout credentials in CI and release jobs (#2369) 2026-10-23 20:34:58 -07:00
JATMN a0d0a964be ci: update checkout, setup-node and codeql-action pins (#2368) 2026-10-23 20:13:25 -07:00
JATMN c699c41b0e chore(deps): update utility minors and HTTP security fixes (#2367)
* chore(deps): update utility minors and HTTP security fixes

* test(lsp): build platform-native diagnostic path in passiveFeedback test
2026-10-23 19:36:46 -07:00
JATMN 9c41a4fab0 chore(deps): apply patch updates and fix grpc and fflate advisories (#2366) 2026-10-23 18:32:17 -07:00
JATMNandjatmn 0b39dfec09 chore: require Node 24.22.1+ and default to Node 26 (#2365)
Co-authored-by: jatmn <12479882+jatmn@users.noreply.github.com>
2026-10-23 16:01:37 -07:00
JATMN 81ef40e27b test: isolate diagnostic logger spy history (#2362) 2026-10-23 14:38:29 -07:00
JATMN 1bccad9c01 test: restore thinking exports after attachment tests (#2361) 2026-10-23 14:03:21 -07:00
JATMN 6c19581985 ci: use bun check as the CI typecheck (#2363) 2026-10-23 13:49:48 -07:00
JATMN 3e81882b97 test: clear provider model cache after request tests (#2359) 2026-10-23 13:36:44 -07:00
JATMN e365805762 test: make concurrent natural finalizers deterministic (#2357) 2026-10-23 12:04:50 -07:00
JATMN a838b67006 test: extend attribution isolation detector timeout (#2358) 2026-10-23 11:48:27 -07:00
JATMN 8cfdb43df9 ci: add bun check fast typecheck alongside tsc (#2356) 2026-10-23 11:16:36 -07:00
JATMN 5840d73b2a test: restore diagnostic mocks and reset trace state (#2354) 2026-10-23 11:14:35 -07:00
JATMN 03652ca8a2 test: make background termination race deterministic (#2355) 2026-10-23 10:58:25 -07:00
JATMN 0876fb2de0 chore: upgrade TypeScript to 6.0.3 (#2353) 2026-10-23 10:00:10 -07:00
JATMN 40297b4979 chore: upgrade Bun to 1.4.4 (#2351)
* chore: upgrade Bun to 1.4.3

* chore: upgrade Bun to 1.4.4
2026-10-23 09:22:42 -07:00
JATMN 7141ba29f3 test: restore registry after custom gateway tests (#2352) 2026-10-23 08:28:24 -07:00
JATMN 51226f0c89 test: reset teammate interruption trace state (#2350) 2026-10-23 06:08:50 -07:00
JATMN 2e415e7955 test: clear remembered provider routing after CLI tests (#2349) 2026-10-23 05:46:15 -07:00
JATMN 36b7ffd69a build: prepare tsconfig and relay types for TypeScript 6 (#2348) 2026-10-23 05:08:10 -07:00
JATMN 804e331c53 test: keep gitSettings tests independent of the temp dir location (#2347) 2026-10-23 05:05:50 -07:00
JATMN 4772c395b2 test: run the unit suite without --isolate (TA-001 round 2) (#2346)
* test: run the unit suite without --isolate (TA-001 round 2)

* test: clean up leaks exposed by running without --isolate (TA-001 round 2)

* test: clean up remaining leaks in shared-process runs (TA-001 round 2)

* test: reset query engine trace state before each test (TA-001 round 2)
2026-10-22 23:32:21 -07:00
JATMN ada7f0fe38 test: clean up remaining randomized-order leaks (TA-001 round 2) (#2345)
* test: clean up remaining randomized-order leaks (TA-001 round 2)

* test: keep file suggestion abort test deterministic after module restore (TA-001 round 2)

* test: bound lifecycle trace cleanup and avoid Bun isolate crash (TA-001 round 2)

* test: reset lifecycle trace state without crashing isolated runs (TA-001 round 2)
2026-10-22 22:22:59 -07:00
JATMN 11c6afe8d0 test: isolate env, process and global state leaks across randomized seeds (TA-001 round 2 batch 2) (#2344)
* test: isolate env, process and global state leaks across randomized seeds (TA-001 round 2 batch 2)

* test: keep batch 2 state isolation from leaking into later files (TA-001 round 2 batch 2)

Drop the standalone processExitCode helper self-test. Adding a discovered test file changed native shard assignments and seeded file order, exposing existing cross-file mock contamination. The existing finalizer and skills integration tests retain exit-code assertions and continue to exercise the helper.
2026-10-22 18:06:42 -07:00
JATMN 357b8da08e test: restore module exports after mocks (TA-001 round 2) (#2343) 2026-10-22 18:01:26 -07:00
JATMNandjatmn 0f8b4cbc87 test: restore leaked mock.module registrations behind randomized-order failures (TA-001 round 2) (#2342)
* test: restore real modules after modelOptions crossProfile and catalogDedup mocks (TA-001 round 2)

* test: restore real modules after leaked mock.module registrations (TA-001 round 2 batch 1)

* test: restore resume mocks without overlapping sessionStorage restore

* test: drop withRetry snapshot change from batch 1

* test: restore leaked mocks in batch 2 polluter files (TA-001 round 2 batch 1)

* test: keep discovery cache and retry tests isolated from restored mocks (TA-001 round 2 batch 1)

---------

Co-authored-by: jatmn <12479882+jatmn@users.noreply.github.com>
2026-10-22 17:10:33 -07:00
JATMN 0724ca8783 test: restore leaked module mocks behind the remaining non-isolated shard failures (TA-001 round 2) (#2341)
* test: restore leaked module mocks behind the remaining non-isolated shard failures (TA-001 round 2)

* test: restore real sessionStorage after resume tests (TA-001 round 2)
2026-10-22 14:47:51 -07:00
JATMN 56da2c4b40 test: restore real ColorPicker and CustomSelect exports after wizard step tests (TA-001 round 2) (#2340) 2026-10-22 12:55:21 -07:00
JATMN 90b34cbd9b test: restore leaked settings, sleep and fast-mode mocks and bound loadSkillsDir readiness waits (TA-001) (#2339) 2026-10-22 11:49:18 -07:00
JATMN a63ad4a9e0 test: restore real secureStorage exports after githubModelsCredentials hydrate tests (TA-001 round 2) (#2338) 2026-10-22 10:08:10 -07:00
JATMN 4eae36abd6 test: restore Shell and GrowthBook module mocks after BashTool sandboxAnalysis tests (#2336) 2026-10-22 09:03:45 -07:00
JATMN 5c9b3c92dc test: stub stdin ref/unref in cli premature-exit regression test (#2337) 2026-10-22 08:59:41 -07:00
JATMN c823efe56a test: add snapshotEnv helper and restore leaked env and auth state (TA-001 slice 4) (#2335) 2026-10-22 07:30:08 -07:00
JATMN c84411b9dd test: run attribution suites in a child when auth, beta or routing exports are polluted (TA-001 slice 5) (#2334) 2026-10-22 05:46:03 -07:00
JATMNandjatmn 0d85ac1be5 test: restore leaked provider, betas, sessionTitle and discovery module mocks (TA-001 slice 2) (#2332)
* test: restore leaked provider, betas, sessionTitle and discovery module mocks (TA-001 slice 2)

* test(model): restore real providerProfiles module after model command tests

---------

Co-authored-by: jatmn <12479882.jatmn@users.noreply.github.com>
2026-10-22 05:45:16 -07:00
JATMN 92d71e6b87 test: restore leaked settings, config and path state across test files (TA-001 slice 3) (#2331)
* test: restore leaked settings, config-home and path state in single-process runs (TA-001 slice 3)

* test(printMaxTurns): release shared mutation lock if setup throws
2026-10-22 05:44:44 -07:00
JATMN 3a646df821 test(gateways): assert OpenGateway route default model and credentials (#2330) 2026-10-21 22:29:48 -07:00
JATMNandjatmn dea4d393b3 test: restore leaked provider mocks and Concentrate env in single-process runs (#2328)
Co-authored-by: jatmn <12479882+jatmn@users.noreply.github.com>
2026-10-21 22:29:27 -07:00
JATMN 227fa02e3b test: consolidate stub walls in compact and extractMemories.abort tests (#2329) 2026-10-21 22:21:43 -07:00