Skip to content

Named profile: --set base-url override left request on saved endpoint during Praxis LAN test #3754

Description

@acoliver

Observed behavior

During local acceptance testing on branch issue3745, a named Codex profile with ephemeralSettings.base-url pointing at a loopback Praxis endpoint continued connecting to that loopback address when invoked with only --set base-url=http://192.168.1.38:18443/backend-api/codex. The model request succeeded, so response text alone concealed that the intended override had not taken effect.

Socket evidence showed the original loopback destination. Adding the dedicated --baseurl option alongside the same --set option produced connections to the intended LAN address through Caddy and Praxis.

Reproduction shape

  1. Save an authenticated Codex profile with a loopback base URL.
  2. Run bun scripts/start.ts --profile-load PROFILE --set base-url=http://LAN_IP:18443/backend-api/codex --model gpt-5.6-luna --prompt 'Reply with exactly PRAXIS_LAN_OK and no other text. Do not call tools.'.
  3. Observe actual network destination, not just successful output.
  4. Repeat with --baseurl http://LAN_IP:18443/backend-api/codex added. The LAN path was then observed.

Expected / investigation needed

Determine the intended precedence between named-profile endpoint settings and CLI --set base-url. If this is a supported runtime override, it should select the explicit destination; otherwise reject or clearly document the unsupported setting rather than silently leaving the profile endpoint active.

This report records observed behavior, not an established root cause. No isolated precedence regression test has been added, and --baseurl alone was not separately characterized in this run. The test used the issue3745 workspace fix, not an assertion about every published version.

Local evidence retained under tmp/issue3745/lan-proxy/, including smoke-baseurl.log and smoke-baseurl-sockets.log; these are not committed artifacts. No credentials are included. Related to #3745 but distinct from hostname-based Codex mode selection.

Recreated by request after the original llxprt-authored issue became unavailable due to account flagging. Content preserved from the original report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions