Skip to content

feat(deploy): register the 3 Cloudflare deploy apps as deploy targets (#5767 phase 1) - #7592

Merged
dezren39 merged 1 commit into
mainfrom
queue/12785-5767-cloudflare-targets
Nov 8, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/12785-5767-cloudflare-targets

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Refs #5767 — phase 1 only, deliberately no closing keyword: later phases (new targets, bundle-as-package, id-mail rollback parity, live deploy+rollback cycle) remain on issue #5767.

Absorbs the 3 existing Cloudflare deploy apps as class = "cloudflare" deploy targets (task 12785, follow-up routed by triage task 12280; registry foundation is PR #6231 for #5766).

  • pkgs/deploy/services.nix: new id-mail, pkarr, and developing-today-backup definitions in the design §3 shape. For a cloudflare target, package/entryPoint reference the existing deploy app derivation (bin/id-mail-deploy, bin/pkarr-deploy, bin/developing-today-backup-deploy) — the one-shot command a later activation slice runs. The apps resolve their Cloudflare credentials impurely at deploy time (sops/bws inside their own scripts), so the definitions name no secrets; Workers listen on the Cloudflare edge (no local ports, no local health endpoint); restart = "no" (one-shot, not a daemon).
  • pkgs/deploy/default.nix: constructs the three deploy apps with the same callPackage expressions lib/default.nix uses for the flake apps (including cf = callPackage ../cf { } for pkarr), so the registry references the identical derivations.
  • No change to the deploy apps' behavior, no deploy.py change (the existing validator admits the §3 shape for cloudflare entries), no new targets.

Verification (laptop, this branch):

  • nix eval .#deployTargets.x86_64-linux → 7 targets: developing-today-backup, id-mail, mcpx, pkarr, queue-broker, secrets-broker, session-proxy
  • nix build .#deploy + deploy list → rc 0, validation passes, 3 cloudflare targets listed alongside the existing 4
  • nix build .#checks.x86_64-linux.deploy-list → passes
  • nix eval .#apps.x86_64-linux → id-mail-deploy, pkarr-deploy, developing-today-backup-deploy still present and evaluating as before
  • nixfmt --check on both touched files → clean

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 8, 2026 09:05
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 128f03e1-c7c3-4c2b-9648-d3698de2abbb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@developing-today

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

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