← Back to Pull requests

revert: run Dex from the argo-cd subchart again #1552

Closed
unknown closed this pull request without merging on Oct 04, 2026 01:26 UTC
View on GitHub
unknown unknown commented on Oct 04, 2026 01:21 UTC
Author

Reverts #1545 (merge 24afba1f). This is an outage rollback. Refs #1500.

What broke


  • Since the merge, argocd-server (all replicas) is in CrashLoopBackOff with level=fatal msg="malformed Dex configuration found".

  • - argocd-server runs dex.GenerateDexConfigYAML on the settings in argocd-cm.
    - That function requires every connector that needs a redirect URI to have a config map.
    - #1545 reduced dex.config to the connector's id/name/type only.
  • With argocd-server down, /api/dex is down too, so Argo CD, Argo Workflows, Grafana and mctl-api Dex logins all fail.

  • The bundled argocd-dex-server also crashloops: #1545 emptied its Role, and the sync never got as far as replacing that Deployment.

  • The PR's local tests ran Dex alone and never started argocd-server against the new argocd-cm. That was the gap.
  • This PR


    A plain git revert -m 1 24afba1f. helm template renders. It restores the bundled Dex, the full dex.config, the Role rules and the previous server.dex.server params.

    After merge


    The argocd-self-managed operation is stuck waiting for argocd-server health. Someone with cluster write access needs to run argocd --core app terminate-op argocd-self-managed and then argocd --core app sync argocd-self-managed.

    🤖 Generated with Claude Code

    Diff: 168 lines (+126 / -42) across 2 files Reviewer: claude[bot] Review duration: 4m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.35) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 168 lines diff across 2 files
    0.35
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.307
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1552"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.1% (MEDIUM) · Higher = larger blast radius
    35.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.2% · Safe to merge
    15.2%