Ethan
c95f3a58f9
chore: remove the remaining export_test.go shims ( #32434 )
...
Closes CODAGT-1607
Follow-up to #32162 , which left 5 `export_test.go` shims behind:
`coderd`, `aibridged`, `chatd`, `chatstate` and `mcpclient`. This PR
removes them. It's stacked on #32433 , which deals with the chat
workspace functions in `coderd`.
Same approach as before. Tests of package internals are now
`*_internal_test.go` files, with no changes beyond what the move forces,
and tests that only needed a constant just use the value. `chatstate`
needed one small accessor, so `AllowedExecutionTransitionOutputs` is
just exported for real, and its tests stay where they were.
Unfortunately the `mcpclient` connect budget test needs an unexported
timeout, so it moved to an internal file and builds its own server
there.
I've removed `TestConnectAll_LateServerReaped`,
`TestAllExecutionStates_Enumeration` and a few assertions instead of
moving them, as I couldn't find a breakage that only they would catch.
While here, I've dropped the test-only `reaperDone` hook from
`mcpclient`. The wait for a connect to finish within its budget is now a
small function of its own, with a test that a session which connects too
late still gets closed. Nothing checked that before.
With no shims left, the `testpackage` path exclusion is gone, so a new
`export_test.go` now fails lint.
2026-12-01 00:17:20 +11:00
..
2026-10-19 14:02:46 +11:00
2026-11-24 11:41:03 -05:00
2026-11-18 14:14:27 +11:00
2026-11-18 14:14:27 +11:00
2026-10-27 01:06:49 +01:00
2026-11-24 11:41:03 -05:00
2026-11-19 00:33:46 +11:00
2026-11-18 14:14:27 +11:00
2026-11-19 00:33:46 +11:00
2026-10-27 09:56:02 +00:00
2026-12-01 00:17:20 +11:00
2026-11-24 11:41:03 -05:00
2026-12-01 00:17:20 +11:00
2026-11-25 07:22:44 +01:00
2026-12-01 00:17:20 +11:00
2026-11-25 16:26:23 +02:00
2026-10-26 17:55:48 +01:00
2026-11-03 15:47:54 +00:00
2026-10-26 17:55:52 +01:00
2026-10-26 17:55:52 +01:00
2026-10-26 17:55:52 +01:00
2026-10-26 17:55:52 +01:00
2026-10-22 07:55:42 +00:00
2026-10-22 07:55:42 +00:00
2026-10-29 23:24:18 +01:00
2026-11-13 09:59:39 -07:00
2026-11-13 09:59:39 -07:00
2026-11-13 09:59:39 -07:00
2026-11-25 18:28:55 +02:00
2026-10-20 09:29:57 +00:00
2026-10-30 15:52:22 +02:00
2026-11-13 09:59:39 -07:00
2026-11-13 09:59:39 -07:00
2026-10-20 22:11:25 +00:00
2026-11-04 15:10:20 -06:00
2026-11-24 11:41:03 -05:00
2026-12-01 00:17:20 +11:00
2026-12-01 00:17:20 +11:00
2026-11-11 00:06:40 +11:00
2026-11-09 15:55:17 +11:00
2026-11-23 12:47:45 +02:00
2026-11-11 00:06:40 +11:00
2026-11-11 00:06:40 +11:00
2026-11-06 13:12:49 +11:00
2026-10-29 23:24:18 +01:00
2026-10-29 23:24:18 +01:00
2026-10-27 18:28:16 +00:00
2026-10-27 18:28:16 +00:00
2026-10-27 18:28:16 +00:00
2026-10-21 14:18:12 +00:00
2026-11-13 10:39:16 -05:00
2026-10-19 14:02:47 +11:00
2026-11-23 12:47:45 +02:00
2026-10-14 14:55:29 -07:00
2026-10-14 14:55:29 -07:00
2026-10-13 13:49:12 +02:00
2026-10-29 20:32:56 +01:00
2026-10-22 07:55:42 +00:00
2026-11-24 11:41:03 -05:00
2026-11-13 09:59:39 -07:00
2026-11-13 09:59:39 -07:00
2026-10-27 22:48:18 +00:00
2026-11-23 12:47:45 +02:00
2026-10-12 09:53:45 +11:00
2026-10-29 20:32:56 +01:00
2026-10-12 09:53:45 +11:00
2026-11-11 00:06:41 +11:00
2026-10-23 12:53:40 +11:00
2026-10-23 12:53:40 +11:00
2026-10-11 19:57:49 +02:00
2026-10-11 19:57:49 +02:00
2026-10-19 14:02:47 +11:00
2026-10-29 20:32:56 +01:00
2026-10-29 20:32:56 +01:00
2026-11-11 00:06:40 +11:00
2026-11-11 00:06:40 +11:00
2026-10-19 12:38:17 +00:00
2026-10-27 18:18:41 -04:00
2026-10-27 18:18:41 -04:00
2026-10-27 19:31:51 +00:00
2026-11-02 21:28:22 +11:00
2026-10-29 23:24:18 +01:00
2026-10-29 13:00:05 +01:00
2026-10-29 13:00:05 +01:00
2026-11-11 00:06:40 +11:00
2026-11-11 00:06:42 +11:00
2026-11-24 11:41:03 -05:00
2026-11-24 11:41:03 -05:00
2026-10-29 20:32:56 +01:00
2026-10-29 12:53:50 +00:00
2026-11-23 12:47:45 +02:00
2026-11-23 12:47:45 +02:00
2026-10-27 18:18:41 -04:00
2026-10-27 18:18:41 -04:00
2026-11-24 13:10:36 +02:00
2026-10-21 19:47:50 +07:00
2026-11-23 12:11:44 +00:00
2026-10-30 01:30:11 +00:00
2026-10-30 01:30:11 +00:00
2026-10-27 10:14:11 +01:00
2026-11-09 22:39:29 +11:00
2026-11-25 18:20:18 +11:00
2026-10-29 13:00:05 +01:00
2026-10-27 23:10:37 +00:00
2026-10-27 23:10:37 +00:00
2026-10-27 10:14:19 +01:00
2026-10-30 15:52:22 +02:00
2026-10-29 12:53:50 +00:00
2026-10-29 12:53:50 +00:00
2026-11-23 12:47:45 +02:00
2026-11-13 13:02:38 +02:00
2026-11-13 13:02:38 +02:00
2026-11-13 13:02:38 +02:00
2026-11-25 18:28:55 +02:00
2026-11-25 18:28:55 +02:00
2026-11-25 18:28:55 +02:00
2026-11-25 18:28:55 +02:00
2026-11-13 09:59:39 -07:00
2026-11-13 13:02:38 +02:00
2026-11-13 09:59:39 -07:00
2026-11-02 16:25:40 +11:00
2026-10-19 14:02:46 +11:00
2026-11-09 15:55:17 +11:00
2026-11-09 15:55:17 +11:00
2026-10-27 16:13:00 +01:00
2026-11-09 15:55:17 +11:00
2026-11-13 13:02:38 +02:00
2026-11-13 09:59:39 -07:00
2026-11-13 09:59:39 -07:00
2026-10-27 10:23:01 +01:00
2026-10-27 10:23:01 +01:00
2026-10-27 11:29:10 +11:00
2026-10-15 14:39:21 +11:00
2026-10-27 10:14:11 +01:00
2026-11-12 11:50:42 +01:00
2026-11-12 11:50:42 +01:00
2026-11-13 09:59:39 -07:00
2026-12-01 00:17:20 +11:00
2026-11-13 09:59:39 -07:00
2026-11-24 11:41:03 -05:00
2026-11-24 11:41:03 -05:00
2026-11-13 09:59:39 -07:00