Skip to content

fix: resolve operator deploy destination from systemd unit - #1388

Merged
Th0rgal merged 1 commit into
masterfrom
codex/core-roadmap
Oct 28, 2026
Merged

Th0rgal merged 1 commit into
masterfrom
codex/core-roadmap

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Oct 28, 2026

Copy link
Copy Markdown
Owner

The operator deploy CLI can run from a newly built binary outside the installed service directory. It previously inferred the installation directory from that CLI executable, causing companion installation to target the build artifacts themselves and fail.

Resolve the destination from the selected systemd unit's ExecStart, rejecting wrappers, relative paths and ambiguous commands. A generic build can bootstrap the explicitly selected unit; installed environment-suffixed binaries retain their cross-service guard. API deployments retain their current service entrypoint.

Validation: five targeted deploy CLI tests passed, including the build-directory regression and fail-closed destination parsing; cargo fmt and git diff --check passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T11:28:52.624772Z 0d759d8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Th0rgal

Th0rgal commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 0d759d8e4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Th0rgal
Th0rgal merged commit de1b0af into master Oct 28, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant