Alexander Whitestone
c22cdcaa8e
Docker Build and Publish / build-and-push (pull_request) Has been skipped
Contributor Attribution Check / check-attribution (pull_request) Failing after 23s
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Successful in 27s
Tests / e2e (pull_request) Successful in 1m51s
Tests / test (pull_request) Failing after 37m0s
fix: add _validate_gateway_config tests and API_SERVER_KEY network binding warning
...
Refs #892 - Gateway config debt: missing keys and broken fallbacks
Changes:
- Add `_is_network_accessible()` helper to gateway/config.py (avoids circular
import with gateway.platforms.base which imports from gateway.config)
- Add API_SERVER_KEY warning in `_validate_gateway_config`: when the API server
is enabled on a network-accessible address (0.0.0.0, public IP, hostname) but
no key is configured, log a warning at config-load time so operators see the
issue before any adapter initialisation runs
- Add `TestValidateGatewayConfig` in tests/gateway/test_config.py covering:
- idle_minutes <= 0 and None are corrected to 1440 (default)
- at_hour outside 0-23 is corrected to 4 (default)
- Boundary hours 0 and 23 are accepted unchanged
- Empty platform token triggers a warning log
- Disabled platform with empty token produces no warning
- API server on 0.0.0.0 without key logs a warning
- API server on 127.0.0.1 without key is silent (loopback is allowed)
- API server with a key set logs no warning regardless of bind address
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-17 02:18:02 -04:00
..
2026-02-26 03:20:08 +03:00
2026-04-14 14:21:57 -07:00
2026-03-26 13:19:43 -07:00
2026-03-29 21:29:13 -07:00
2026-04-10 16:51:44 -07:00
2026-04-05 12:31:10 -07:00
2026-04-12 18:03:16 -07:00
2026-04-07 03:28:44 -07:00
2026-04-14 21:06:32 -07:00
2026-04-11 02:03:20 -07:00
2026-04-01 12:05:02 -07:00
2026-04-14 16:56:49 -07:00
2026-04-10 03:52:00 -07:00
2026-03-17 03:52:15 -07:00
2026-04-10 03:52:00 -07:00
2026-04-14 11:02:48 -07:00
2026-04-14 22:07:28 -07:00
2026-04-06 13:20:01 -07:00
2026-04-12 03:03:07 -07:00
2026-04-10 03:52:00 -07:00
2026-04-10 21:16:53 -07:00
2026-04-11 19:23:29 -07:00
2026-03-13 23:59:18 -07:00
2026-04-17 02:18:02 -04:00
2026-04-10 03:44:43 -07:00
2026-04-11 13:59:52 -07:00
2026-03-09 02:20:57 -07:00
2026-04-09 23:25:27 -07:00
2026-04-10 05:19:26 -07:00
2026-04-11 19:22:14 -07:00
2026-04-09 02:26:33 -07:00
2026-04-13 04:49:21 -07:00
2026-03-14 09:32:05 -07:00
2026-03-13 08:52:54 -07:00
2026-03-14 14:27:21 +03:00
2026-04-10 03:52:00 -07:00
2026-04-14 10:22:11 -07:00
2026-04-03 10:24:07 -07:00
2026-04-14 16:55:48 -07:00
2026-03-23 06:50:09 -07:00
2026-04-11 13:59:52 -07:00
2026-04-14 10:52:23 -07:00
2026-04-03 18:20:50 -07:00
2026-04-03 13:16:26 -07:00
2026-04-15 03:42:24 -07:00
2026-04-14 01:43:45 -07:00
2026-03-17 01:47:34 -07:00
2026-04-10 21:16:56 -07:00
2026-04-10 05:54:56 -07:00
2026-04-14 14:22:11 -07:00
2026-04-12 13:05:56 -07:00
2026-04-14 01:43:45 -07:00
2026-04-03 13:10:11 -07:00
2026-04-08 20:01:06 -07:00
2026-04-10 21:18:34 -07:00
2026-03-13 07:40:38 -07:00
2026-03-29 20:05:59 -07:00
2026-04-12 00:36:22 -07:00
2026-03-15 03:50:45 -07:00
2026-04-12 18:05:41 -07:00
2026-04-10 21:15:59 -07:00
2026-04-15 04:16:16 -07:00
2026-04-11 13:59:52 -07:00
2026-04-10 05:04:28 -07:00
2026-02-28 03:38:27 -05:00
2026-03-11 09:15:34 +01:00
2026-04-10 03:07:00 -07:00
2026-04-10 02:58:42 -07:00
2026-03-05 18:39:37 -08:00
2026-04-10 03:44:43 -07:00
2026-03-14 21:28:51 -07:00
2026-04-12 19:06:20 -07:00
2026-04-07 09:58:45 -07:00
2026-04-14 10:49:48 -07:00
2026-04-14 00:11:49 -07:00
2026-04-11 14:43:53 -07:00
2026-04-08 03:36:44 -07:00
2026-04-14 16:56:49 -07:00
2026-04-12 22:32:19 -07:00
2026-04-11 03:11:34 -07:00
2026-03-14 21:19:22 -07:00
2026-03-10 23:34:52 -07:00
2026-04-14 10:52:23 -07:00
2026-03-28 14:25:12 -07:00
2026-04-11 19:38:05 -07:00
2026-03-27 04:03:13 -07:00
2026-04-04 19:05:34 -07:00
2026-04-10 21:18:34 -07:00
2026-04-10 03:01:59 -07:00
2026-04-14 01:43:45 -07:00
2026-04-14 01:43:45 -07:00
2026-03-26 19:27:58 -07:00
2026-04-11 03:11:34 -07:00
2026-04-06 13:20:01 -07:00
2026-04-13 14:59:05 -07:00
2026-03-22 09:33:39 -07:00
2026-04-13 04:54:07 -07:00
2026-04-12 13:05:56 -07:00
2026-04-11 13:59:52 -07:00
2026-04-07 11:12:08 -07:00
2026-04-09 14:07:32 -07:00
2026-04-10 05:04:28 -07:00
2026-04-11 14:05:38 -07:00
2026-03-27 11:33:19 -07:00
2026-03-15 23:04:34 -07:00
2026-04-07 17:27:09 -07:00
2026-04-13 04:59:25 -07:00
2026-04-02 20:54:27 -07:00
2026-03-01 05:28:12 -08:00
2026-04-14 01:52:42 -07:00
2026-04-11 14:43:53 -07:00
2026-04-14 17:08:35 -07:00
2026-04-07 17:19:07 -07:00
2026-04-07 14:08:59 -07:00
2026-04-11 13:59:52 -07:00
2026-04-03 13:16:26 -07:00
2026-04-14 10:16:49 -07:00
2026-04-14 01:40:32 -07:00
2026-03-27 04:03:13 -07:00
2026-03-28 14:23:27 -07:00
2026-04-13 10:50:24 -07:00
2026-04-10 05:34:33 -07:00
2026-04-12 19:06:20 -07:00
2026-03-17 02:49:57 -07:00
2026-04-05 11:59:28 -07:00
2026-04-09 23:25:27 -07:00
2026-03-14 14:27:20 +03:00
2026-03-04 21:34:40 +03:00
2026-03-31 10:42:03 -07:00
2026-04-05 11:59:28 -07:00
2026-04-05 00:28:58 -07:00
2026-04-12 04:52:59 -07:00
2026-04-10 02:33:01 -07:00
2026-04-11 17:20:34 -07:00
2026-04-13 04:49:21 -07:00
2026-04-12 18:05:41 -07:00
2026-04-07 17:27:09 -07:00
2026-03-28 14:33:35 -07:00
2026-04-07 17:27:09 -07:00
2026-04-11 15:22:49 -07:00
2026-04-09 23:25:27 -07:00
2026-04-12 16:43:25 -07:00
2026-03-29 16:25:20 -07:00
2026-04-12 19:20:13 -07:00
2026-04-03 01:16:39 -07:00
2026-03-17 10:44:37 -07:00
2026-04-14 01:43:45 -07:00
2026-04-13 16:32:04 -07:00