Commit Graph
8 Commits
Author SHA1 Message Date
zeekay d660fd31c7 test: fix codex->dev rename + hanzo-default-provider test breakage
After the bin rename (codex->dev) and the hanzo default provider, upstream tests broke:
- 29 cargo_bin("codex") -> cargo_bin("dev") (integration tests spawned a
  non-existent `codex` binary).
- exec integration tests (28) reached the real api.hanzo.ai because the mock
  harness only overrode openai_base_url while the default provider is hanzo.
  Fix: ONE DRY helper mock_server_config_overrides() (sets openai_base_url AND
  pins the openai provider), consumed by cmd_with_server AND the resume test
  (which had duplicated the override inline — the actual cause of its failure).
- doctor insta snapshot prefix codex__ -> dev__ (snapshot name tracks the bin
  crate name).
- core feedback_tags doctest: bind the example vars so it compiles.
- main.rs plugin-marketplace help assertions codex -> dev (bin_name is dev).

Full workspace: 4552 passed. The remaining agent-graph-store failures are sqlite
pool-acquire saturation under full-workspace parallelism (30s timeout exceeded
when 100+ test binaries hit /tmp sqlite at once); they pass in isolation. CI
bounds this with nextest.
2026-06-18 21:41:23 -07:00
zeekayandHanzo Dev 54a8eed885 port: adopt latest openai/codex codex-rs base (2026-06-16, 33d5023)
Wholesale-adopt latest upstream codex-rs (97 crates, new architecture:
model-provider-info crate, app-server-daemon/transport, code-mode-host,
thread-store, file-watcher, etc.). Hanzo-only crates (browser, debug-client,
instructions, tui2) preserved on disk (not yet re-added to workspace). Builds
clean as upstream (codex bin). Hanzo overlay (dev bin, api.hanzo.ai default,
hanzo.id/Claude login, branding) re-applied in following commits.

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-16 21:24:01 -07:00
zeekayandHanzo Dev 8c3f180ef3 test: regenerate app-server/config/hooks schema fixtures + point CLI tests at 'dev' bin
- Regenerated schema fixtures to include Hanzo/Claude/OpenAI LoginAccount auth
  params (json + typescript) so schema_fixtures tests pass.
- Updated 10 test files: cargo_bin("codex") -> cargo_bin("dev") to match the
  renamed binary, fixing all CLI integration tests that shell out.

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-16 17:54:00 -07:00
James Peter 67be92bfb7 Refresh codex-rs mirror to upstream/main 2026-01-06 16:52:24 +10:00
James Peter 76870c2e4f Refresh codex-rs mirror to upstream/main 2025-12-28 07:26:17 +10:00
James Peter 6eb82a3fc0 Refresh codex-rs mirror to upstream/main 2025-12-12 09:33:40 +10:00
James Peter 15ee0f8782 Refresh codex-rs mirror to upstream/main 2025-12-10 07:42:54 +10:00
James Peter adfc9c1ca3 Refresh codex-rs mirror to upstream/main 2025-11-26 13:52:26 +10:00