GeezerVison is showing github.com — feat(deploy): deployTargets registry + deploy list CLI (#5766 slice 1) by developing-today[bot] · Pull Request #6231 · developing-today/code
Conversation
developing-today
Bot
commented
Nov 5, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Slice 1 of #5766 (queue task 10491): the registry foundation only.
What lands
pkgs/deploy/services.nix — this repo's service definitions in the design §3 option shape (package, entryPoint, args, environment, secrets-by-name, user, ports, restart, healthCheck, targets, plus the §4 class): queue-broker, secrets-broker, session-proxy, mcpx. Ports taken from pkgs/fleet/crates/fleet-config constants (4800/4801/3130); secrets are names only, never values.
deployTargets flake output (per system, via lib.make-deploy) exposing those definitions with package as a derivation for later renderers.
pkgs/deploy/deploy.py + package deploy — the CLI with list: validates every definition against the §3 shape (the validator names its oracle: exact field set, types, port range, restart-policy and class vocabularies) and enumerates name / class / targets. Any malformed definition makes list exit non-zero with field-named errors. Unimplemented subcommands (deploy / status / rollback) say so and exit non-zero.
- Flake checks
deploy-list (enumerates the real registry) and deploy-list-malformed (a fixture registry with a non-string entryPoint and an out-of-range port must be refused).
Explicitly not in this slice (per the task packet): systemd activation, generation profiles, rollback — later slices on #5766. Cloudflare/container classes are #5767.
Refs #5766 (slice 1 of its scope; the issue stays open for the remaining slices).
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
First slice of issue #5766 (queue task 10491): a deployTargets flake output carrying this repo's service definitions in the design 2026-11-04 section-3 option shape (pkgs/deploy/services.nix: queue-broker, secrets-broker, session-proxy, mcpx), and the deploy CLI package with list + strict definition validation (pkgs/deploy/deploy.py). Flake checks pin both halves: list enumerates the real registry, and list refuses a malformed fixture registry with field-named errors. No activation, systemd, or rollback code in this slice -- those are later slices on issue #5766.
coderabbitai
Bot
commented
Nov 5, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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:
5411bee0-0695-4edf-a4ef-668d1bc05b3a
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:
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…oy.py
The malformed-registry flake check calls `deploy list --registry <fixture>`; the parser only honoured --registry before the subcommand, silently listing the baked-in registry instead (caught by check-deploy-list-malformed on the laptop, queue task 10491). Parse the flag in any position. Also run the treefmt python formatter (ruff format) over deploy.py.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 8, 2026
This was referenced Nov 8, 2026
Reviewers
dezren39
Awaiting requested review from dezren39
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|