Iftekhar Uddin
5e8a9a905d
fix(scripts): drain codex-cli metadata stdout ( #84239 ) (thanks @IftekharUddin)
...
Behavior addressed: The codex-cli metadata branch no longer calls process.exit(0) immediately after writing stdout, and it still emits exactly one unsupported-backend JSON object.
Real environment tested: Local OpenClaw source checkout on macOS with Node/tsx.
Exact steps or command run after this patch: pnpm test test/scripts/print-cli-backend-live-metadata.test.ts test/scripts/docker-build-helper.test.ts; node --import tsx scripts/print-cli-backend-live-metadata.ts codex-cli | python3 -c 'import sys,json; print(json.load(sys.stdin)["provider"])'; autoreview --mode branch --base origin/main --no-web-search.
Evidence after fix: Focused tooling test shard passed 2 files / 23 tests; direct pipe parse printed codex-cli; autoreview reported no accepted/actionable findings; PR status rollup was clean.
Observed result after fix: stdout is parseable as a single JSON payload and the normal metadata path is skipped for codex-cli.
What was not tested: Live provider metadata paths beyond the focused existing test coverage.
Co-authored-by: Iftekhar Uddin <ifuddin3@gmail.com >
2026-05-25 23:27:13 +01:00
..
2026-05-24 18:13:14 +02:00
2026-05-22 19:13:33 -07:00
2026-05-25 10:43:01 +02:00
2026-05-25 09:16:09 +02:00
2026-05-25 08:08:52 +01:00
2026-05-09 09:33:20 +01:00
2026-05-23 10:38:09 +01:00
2026-05-25 04:14:00 +02:00
2026-05-17 01:35:39 +08:00
2026-05-23 18:30:14 +02:00
2026-05-18 04:53:40 +01:00
2026-05-18 21:23:55 -07:00
2026-05-14 15:04:43 +00:00
2026-05-09 05:03:42 +01:00
2026-05-18 01:35:04 +01:00
2026-05-09 09:54:06 +01:00
2026-05-14 13:11:42 +08:00
2026-05-25 13:45:08 +01:00
2026-05-09 04:48:47 +01:00
2026-05-09 10:06:23 +01:00
2026-05-09 05:03:42 +01:00
2026-05-25 04:24:01 +02:00
2026-05-24 23:25:05 +02:00
2026-05-09 04:48:47 +01:00
2026-05-09 04:48:47 +01:00
2026-05-22 12:56:10 +01:00
2026-05-09 04:48:47 +01:00
2026-05-25 21:55:46 +01:00
2026-05-09 05:03:42 +01:00
2026-05-09 04:48:47 +01:00
2026-05-23 21:20:52 +02:00
2026-05-18 08:21:35 +01:00
2026-05-09 09:40:27 +01:00
2026-05-22 16:21:52 +02:00
2026-05-19 23:21:26 -07:00
2026-05-09 09:48:52 +01:00
2026-05-24 15:37:13 +02:00
2026-05-08 23:39:30 +01:00
2026-05-24 14:47:07 +02:00
2026-05-25 20:05:26 +02:00
2026-05-22 12:56:10 +01:00
2026-05-22 12:56:10 +01:00
2026-05-13 03:05:09 -05:00
2026-05-13 03:05:09 -05:00
2026-05-17 17:04:18 +08:00
2026-05-09 23:25:27 +01:00
2026-05-25 13:37:38 +02:00
2026-05-25 12:14:37 +02:00
2026-05-24 13:38:50 +02:00
2026-05-25 21:49:16 +02:00
2026-05-26 00:02:41 +02:00
2026-05-26 00:02:41 +02:00
2026-05-24 12:34:13 +02:00
2026-05-25 23:19:55 +02:00
2026-05-09 09:31:47 +01:00
2026-05-24 20:50:07 +02:00
2026-05-13 03:05:09 -05:00
2026-05-25 15:04:44 +01:00
2026-05-25 15:04:44 +01:00
2026-05-24 21:28:09 +02:00
2026-05-25 08:13:47 +01:00
2026-05-25 19:23:10 +02:00
2026-05-08 23:47:17 +01:00
2026-05-09 09:34:22 +01:00
2026-05-24 17:47:19 +02:00
2026-05-25 22:28:56 +02:00
2026-05-18 14:56:06 +01:00
2026-05-24 09:33:34 +01:00
2026-05-13 13:33:38 +01:00
2026-05-18 10:26:24 +01:00
2026-05-23 21:20:52 +02:00
2026-05-21 16:17:50 +00:00
2026-05-10 06:39:54 +01:00
2026-05-18 21:11:21 +05:30
2026-05-25 23:34:35 +05:30
2026-05-18 14:56:06 +01:00
2026-05-24 13:52:18 +02:00
2026-05-10 02:14:00 +01:00
2026-05-14 14:40:20 +08:00
2026-05-26 00:02:41 +02:00
2026-05-25 21:50:49 +01:00
2026-05-25 11:16:09 +02:00
2026-05-21 22:53:56 +01:00
2026-05-24 05:50:03 +01:00
2026-05-09 09:30:40 +01:00
2026-05-18 04:53:40 +01:00
2026-05-25 21:07:17 +02:00
2026-05-25 12:05:31 +02:00
2026-05-24 19:10:10 +02:00
2026-05-11 21:41:08 -07:00
2026-05-24 09:02:44 +02:00
2026-05-20 21:36:39 +01:00
2026-05-11 23:28:57 +01:00
2026-05-24 07:03:49 +02:00
2026-05-25 23:27:13 +01:00
2026-05-24 02:48:03 +01:00
2026-05-21 17:42:42 +08:00
2026-05-22 11:21:57 +00:00
2026-05-21 07:58:15 +01:00
2026-05-20 01:57:00 +01:00
2026-05-17 06:34:58 +01:00
2026-05-08 21:22:04 +01:00
2026-05-23 17:28:29 +01:00
2026-05-23 17:28:29 +01:00
2026-05-09 10:02:55 +01:00
2026-05-21 04:23:59 +00:00
2026-05-18 14:56:06 +01:00
2026-05-18 06:29:14 +01:00
2026-05-24 07:03:49 +02:00
2026-05-25 14:31:38 +02:00
2026-05-24 02:55:08 +02:00
2026-05-25 05:17:45 +01:00
2026-05-25 01:15:49 +02:00
2026-05-24 03:44:31 +01:00
2026-05-16 19:50:26 +08:00
2026-05-25 21:50:49 +01:00
2026-05-24 17:17:28 +02:00
2026-05-17 01:35:39 +08:00
2026-05-24 19:13:03 +02:00
2026-05-25 22:49:23 +01:00
2026-05-25 09:58:39 +02:00
2026-05-13 03:46:33 +01:00
2026-05-23 12:39:02 +02:00
2026-05-24 19:13:03 +02:00
2026-05-24 19:13:03 +02:00
2026-05-25 14:19:04 +00:00
2026-05-09 09:55:23 +01:00
2026-05-13 03:05:09 -05:00
2026-05-18 03:18:55 +01:00
2026-05-25 23:51:17 +02:00
2026-05-25 13:06:56 +02:00
2026-05-17 03:33:54 +08:00
2026-05-24 16:05:24 +02:00
2026-05-09 05:03:42 +01:00
2026-05-24 15:33:17 +01:00
2026-05-08 20:55:20 +01:00
2026-05-09 09:49:55 +01:00
2026-05-21 21:20:52 +01:00
2026-05-21 18:01:32 +08:00
2026-05-24 15:11:37 +02:00