Skip to content

feat(github): gitops fleet, argocd rollouts & cloud cost monitor (tab-gitops) #689

Closed as not planned

Description

@dan-petty

Context & Rationale

Brings continuous deployment and cloud infrastructure FinOps into situational awareness.

Scope & Deliverables

  • Context & Rationale*: Brings continuous deployment and cloud infrastructure FinOps into situational awareness.
  • ArgoCD Application Fleet*: Tree view of deployed GitOps applications showing sync status (Synced, OutOfSync) and health status (Healthy, Progressing, Degraded). One-key app synchronization trigger (s -> devops argo cd apps sync).
  • Argo Rollout Canary Visualizer*: Live step-by-step rollout progression with canary traffic weight and automated metric analysis results.
  • IaC Drift & Infracost Spend Tracker*: OpenTofu workspace state overview, drift status badge, and monthly cloud cost forecast summary (devops tf cost).

Update 2026-10-08: refinement

No gitops tab exists; commands already read the data (commands/argo.py:186-263, :495; commands/tf.py:531, :819-892). Drift uses #1437's tofu result, so this depends on #1437.

Proposed design

Problem statement

The devops-cli needs to provide a unified operations hub that includes GitOps fleet management, ArgoCD rollouts visualization, and cloud cost monitoring capabilities within a new 'tab-gitops' interface. This will enable users to monitor deployed applications, visualize rollout progress, and track infrastructure costs in a centralized TUI view.

Acceptance criteria

  • Criterion 1: The application fleet displays a tree view of GitOps applications showing sync status (Synced, OutOfSync) and health status (Healthy, Progressing, Degraded)
    Verification: Run 'devops argo cd apps list' and verify that the output shows applications with their respective sync and health statuses in a tree format
  • Criterion 2: One-key app synchronization trigger works via keyboard shortcut 's' to execute 'devops argo cd apps sync'
    Verification: In the tab-gitops UI, press 's' key and verify that it triggers the application synchronization command without requiring additional input
  • Criterion 3: Rollout visualization shows step-by-step progression with canary traffic weight and automated metric analysis results
    Verification: Navigate to the rollouts section in tab-gitops and verify that each rollout step displays traffic weight percentage and analysis run phase status
  • Criterion 4: IaC drift detection shows state overview and drift status badge using fix(terraform): drift reads state through tofu show -json, so encrypted state and module resources are no longer misreported #1437's tofu result
    Verification: Run 'devops tf drift' command and verify that the output includes a drift status badge showing whether the IaC state is in sync or drifted
  • Criterion 5: Cloud cost forecast summary is displayed monthly using 'devops tf cost' command
    Verification: Execute 'devops tf cost' command and verify that it outputs a monthly cloud cost forecast summary in the tab-gitops interface

Key questions

Fit

Needs splitting into 5 items:

  1. Create the tab-gitops UI interface with tree view for ArgoCD applications
  2. Implement keyboard shortcut 's' to trigger application synchronization
  3. Add ArgoCD rollout visualization with canary traffic weight and analysis results
  4. Integrate IaC drift detection using fix(terraform): drift reads state through tofu show -json, so encrypted state and module resources are no longer misreported #1437's tofu result
  5. Add cloud cost forecast display using devops tf cost command

Suspected block

#1437

Dependencies

None.

Activity

  1. added this to the v0.2.24 milestone on Sep 28, 2026
  2. added
    type/feature
    scope/github
    priority/p1-high
    on Sep 28, 2026
  3. modified the milestones: v0.2.24, v0.2.25, v0.2.26 on Sep 30, 2026
  4. dan-petty commented on Sep 30, 2026

    @dan-petty
    OwnerAuthor

    Moved from v0.2.25 to v0.2.26. v0.2.25 is capped at 12 items (#740): it keeps #739-#742, their dependency #704, and the oldest P1 items. This P1 item is next in line.

  5. removed this from the v0.2.26 milestone on Sep 30, 2026
  6. added
    scope/k8s
    priority/p2-medium
    and removed
    scope/github
    priority/p1-high
    on Oct 2, 2026
  7. dan-petty commented on Oct 2, 2026

    @dan-petty
    OwnerAuthor

    Grooming (2026-10-02): Priority p1-high → p2-medium, by the owner's decision. This is a feature with no defect behind it, and it is still a one-paragraph description with no acceptance criteria. That matches #685, the refined sibling tab, which is already P2. It stays in the backlog until it is refined.

  8. added this to the milestone on Oct 17, 2026
  9. dan-petty commented on Oct 18, 2026

    @dan-petty
    OwnerAuthor

    Proposal needs splitting into 5 items at 25e2cda (see proposed design in issue body).

  10. removed this from the milestone on Oct 23, 2026
  11. dan-petty commented on Oct 25, 2026

    @dan-petty
    OwnerAuthor

    This item cannot be built as specified. It depends on issue #1437 for OpenTofu state and drift detection. Issue #1437 remains open and not implemented. The codebase in src/devops_cli/tf/analysis.py still parses the state file directly. Also, the item requires splitting into five items as recorded in refinement. Rule 2 requires returning the item to New with this evidence.

  12. dan-petty commented on Oct 25, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned (rejected), 2026-10-25. The owner asked: "fix issue 689 or close as rejected".

    Why this item is not built:

    • The direction is open tools. VISION item 15 says that devops dashboard covers only what no open tool covers. refactor(ui): audit five dashboard tabs against open tools #1885 audits the existing tabs for deletion. A new GitOps tab adds custom code against that direction.
    • Existing commands and tools already give each deliverable (AGENTS.md rule 3):
      • Application fleet with sync and health: devops argo cd apps list, devops argo cd apps status <app> and devops argo cd apps sync <app>. k9s, which devops install-tools pins, lists the Applications with :applications. The Application CRD on the cluster has the printer columns Sync Status, Health Status, Revision and Project (kubectl, 2026-10-25), so k9s shows sync and health for each one. The Argo CD web UI shows the resource tree of each application.
      • Rollout progression: devops argo rollouts status, promote, abort and analyze. kubectl argo rollouts get rollout <name> --watch shows each step, the canary weight and the AnalysisRuns live. kubectl-argo-rollouts v1.10.0 is in tools.lock.
      • Drift and cost: devops tf drift, and devops tf cost breakdown and devops tf cost diff through Infracost.
    • The item is not buildable as written. Its drift badge needs fix(terraform): drift reads state through tofu show -json, so encrypted state and module resources are no longer misreported #1437, which is open. Refine said that it needs five separate items, and it has no acceptance criteria that a test can check.

    What stays open: #1437 makes drift read the state through tofu show -json. If a view that no open tool gives is still necessary after that, file it as a new item with acceptance criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/k8stype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions