`spacetime publish` panics in `system_configuration` when run from Codex tool context on macOS
What version of Codex is running?
Version 260202.0859 (517)
What subscription do you have?
free
Which model were you using?
got-5.2-codex medium
What platform is your computer?
Darwin 25.2.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
Title spacetime publish panics in system_configuration when run from Codex tool context on macOS
Summary
Running spacetime publish from the Codex app tool context on macOS panics with Attempted to create a NULL object in system_configuration::dynamic_store::SCDynamicStoreBuilder::build, while the same command works fine in a regular terminal.
Environment
- OS: macOS
- Command context: Codex app tool execution
- Working directory:
/Users/pziersch/code/spacetimedb-connector/my-spacetime-app - SpacetimeDB CLI: installed locally (same binary used successfully in normal terminal)
Repro Steps
- From Codex app tool context, run:
spacetime publish --project-path spacetimedb/ my-db-test
- Observe panic.
Expected
Module publishes successfully (same as running in a normal terminal).
Actual
Panic with Attempted to create a NULL object.
Backtrace (top)
system_configuration::dynamic_store::SCDynamicStoreBuilder<T>::build
hyper_util::client::proxy::matcher::mac::with_system
reqwest::async_impl::client::ClientBuilder::build
spacetimedb_cli::subcommands::publish::exec
spacetimedb_cli::main
Notes
- Clearing proxy env vars (
HTTP_PROXY,HTTPS_PROXY,NO_PROXY) did not help. - Full backtrace available (included below if needed).
- Suggest investigating environment/entitlements differences or proxy detection in
reqwest/system_configurationwhen run from tool context.
What steps can reproduce the bug?
Running spacetime publish from the Codex app tool context on macOS panics with Attempted to create a NULL object in system_configuration::dynamic_store::SCDynamicStoreBuilder::build, while the same command works fine in a regular terminal.
What is the expected behavior?
Expected
Module publishes successfully (same as running in a normal terminal).
Actual
Panic with Attempted to create a NULL object.
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗