fix(ci): restore shared Codex fork monitor helper

Merged
AU
2mo ago
+76-25

Summary

Restore the Codex fork monitor argument helper on the shared CmuxTuiRemoteRouting type used by app-host tests.

The current main seed build fails on every macOS runner because CodexForkMonitorTests resolves CMUXCLI to CmuxTuiRemoteRouting, but the helper only exists in the CLI executable extension. The CLI delegates to the shared implementation again, keeping the test and runtime paths on one contract.

Validation

  • python3 scripts/verify-local.py --only swift-syntax --swift-changed HEAD^
  • python3 scripts/verify-local.py --only test-wiring
  • CI evidence: Main Seed DerivedData run 36994410999 failed with CMUXCLI ... has no member codexForkMonitorArguments.

Changelog

Fixed: restore shared Codex fork monitor argument construction so app-host test compilation succeeds.

Sign-off: unregistered


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Restores the shared Codex fork monitor argument helper so app-host test compilation works on the main seed, fixing macOS CI seed build failures.

  • Moves the helper into CodexForkMonitorArguments in the CMUXAgentLaunch package; the CLI and CmuxTuiRemoteRouting delegate to it, keeping tests and runtime on one contract.
  • Switches environment keys to CMUX_AGENT_FORK_PARENT_SESSION_ID and CMUX_AGENT_FORK_LAUNCH_ID; CMUX_CODEX_PID is unchanged.
  • Drops unused URL bindings from Cloud port rows and removes the port help fallback: hover text is now the process name (or none) and the accessibility label is the port number plus the process name when available.

Summary by CodeRabbit

  • Bug Fixes
    • Fork monitor launches include available parent session, launch, and process identifiers. Optional identifiers are omitted when unavailable, and no fork arguments are provided when the parent session identifier is missing.
    • Port rows match searches using their displayed titles, independent of the associated URL. Tooltips and accessibility labels show the port and, when available, its process name; ports without a process name have no tooltip or in-app open messaging.