Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 32 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ea0a453d4a
ℹ️ 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".
| # 2. Apply the NixOS-managed runtime on the laptop host. | ||
| # This owns Pad, Grist, ready-for-agent, Kaneo, and PostgreSQL. | ||
| nixos-rebuild switch |
There was a problem hiding this comment.
Render Pad and Grist env files before the first switch
On a fresh checkout, the first-time procedure no longer creates ~/pm-stack/pad/.env or ~/pm-stack/grist/.env, yet nixos/services/pm-apps/default.nix:117,131 requires those files through environmentFiles. The NixOS module does not render them, and the component sections also remove the deploy commands that previously did so. Document running pad/deploy.sh render and grist/deploy.sh render before applying the configuration; otherwise both containers lack required env files and cannot start.
Useful? React with 👍 / 👎.
| created by `services.pm-apps` and pick up the new host's tailnet | ||
| address from the module. The fallback scripts still derive |
There was a problem hiding this comment.
Set the destination host's tailnet address explicitly
When moving to a host with a different Tailscale address, the module does not discover that address as the old deploy scripts did: services.pm-apps.tailnetAddress defaults to the literal 100.99.113.103 in nixos/services/pm-apps/default.nix:100-104, and the container port mappings and ready-for-agent socket use it directly. A repository-wide search of Nix files found no override. Add an explicit step to configure the destination address; following the replacement instructions unchanged leaves these services trying to bind the old host's address.
Useful? React with 👍 / 👎.
Closes #10142
Summary:
Verification:
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.