Repository navigation
feat(agent-registry): scaffold mctl-agents-worker deployment (phase 4) - #713
Merged
Merged
Conversation
Temporal worker for the dev-workflow control plane, riding the same ghcr.io/mctlhq/mctl-agents image every CWFT already uses with a different command (python -m orchestrator.temporal.worker). Base-service chart, ingress disabled, no HTTP server so probes are explicitly nulled out (chart default httpGet /healthz//readyz would otherwise crash-loop a pod with nothing listening on any port). replicaCount: 0 until orchestrator/temporal/ ships in a tagged mctl-agents release (currently only on mctlhq/mctl-agents#105, unreleased) — deploying at today's pin would crash-loop on an ImportError. Bump replicaCount and image.tag together once that release exists.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Claude finished @mashkovd's task in 1m 32s —— View job Code Review: mctl-agents-worker DeploymentStatus: ✅ Approved SummaryThis PR scaffolds a new Temporal worker service ( AnalysisCorrectness:
Operational Safety:
Security:
Backstage Integration:
Test CoveragePR author has verified:
Finding SummaryP1: 0 | P2: 0 | P3: 0 No blocking issues. Configuration follows codebase conventions, correctly uses ExternalSecret for secrets management, and includes appropriate comments explaining non-obvious decisions. Ready to merge. |
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
services/admins/mctl-agents-worker/— a standalone Deployment (base-service chart,ingress.enabled: false) running the Temporal worker forDevLoopWorkflow(mctl-agents#105).ghcr.io/mctlhq/mctl-agentsimage every Argo CWFT already uses, withcommand: ["python", "-m", "orchestrator.temporal.worker"]instead of the usual entrypoint — no separate build.probes.liveness/probes.readinessexplicitly nulled: the base-service chart's ownvalues.yamldefaults those tohttpGet /healthz//readyz, which would crash-loop this pod against a port nothing listens on (this worker is a pure asyncio process, no HTTP server). Verified viahelm template— first attempt (probes: {}) silently left the chart defaults in place since Helm deep-merges rather than replaces; had to null the two specific leaf keys.replicaCount: 0on purpose:orchestrator/temporal/only exists on mctl-agents#105 (unreleased) as of this PR. Deploying at today's pin (1.21.0) would crash-loop onImportError: No module named orchestrator.temporal. BumpreplicaCountto 1 andimage.tagto the first release containing chore(mctl-agent): bump image to 1.7.0 (rollback resolver) #105 together, in one commit, once that release exists.MCTL_TOKENsourced via a new ExternalSecret from the same Vault path (platform/mctl-agents, keymctl-token) the Argo CWFT pods already use for the same purpose.Test plan
python3 -c "import yaml; ..."on both new files — parses cleanlyhelm lint platform-gitops/helm-charts/base-service -f .../values.yaml— cleanhelm template ... -f .../values.yaml— renders correctly; confirmed nolivenessProbe/readinessProbeblock in the outputreplicas: 0, no pods — expected until the follow-up bump)Running, connects to Temporal (temporal workflow list --namespace mctl-agentsvia admintools, or the Web UI), and aorchestrator.temporal.cli start <issue_url>run completes