Skip to content

remove offline planning - #161

Merged
atkrad merged 2 commits into
mainfrom
remove-offline-planning
Sep 27, 2026
Merged

atkrad merged 2 commits into
mainfrom
remove-offline-planning

Conversation

@atkrad

@atkrad atkrad commented Sep 27, 2026

Copy link
Copy Markdown
Member

Summary

  • deployah plan is always cluster-aware. --offline is an unknown flag, with no alias or hidden flag.
  • Remove the production RenderOffline API and CountResources. Tests render fixture charts through test helpers instead.
  • Update the plan docs and ADR-0010. Cluster-independent checks stay on deployah validate and deployah resolve.

Related

Test plan

  • Unit tests added/updated
  • Scenario under scenarios/ (if behavior changes)
  • nix run .#lint / pre-commit clean
  • Manual smoke (command + expected result), if user-facing

deployah plan --help has no --offline. deployah plan prod --offline fails with unknown flag: --offline before cluster work. go test -race ./..., integration tests, gen-docs, markdown lint, and link checks passed. Scenario goldens did not change.

Labels

  • One of: kind/feature, kind/bug, kind/docs, kind/chore
  • Add breaking-change if this breaks existing CLI or config behavior
  • Add skip-changelog for internal-only PRs that should not appear in notes

Checklist

  • Title is short and imperative (matches commit style)
  • Docs / CLI help updated when user-facing (README.md, docs/cli/)
  • No secrets or local-only paths in the diff

- drop deployah plan --offline and RenderOffline
- render test fixtures without a production API
- keep plan cluster-aware
@github-actions github-actions Bot added kind/docs Documentation only area/cli Commands, flags, UX copy area/helm Chart render, release, post-render area/deploy Deploy and plan session flow area/extras Custom manifests and CRDs under .deployah/ area/testing Scenarios, harness, goldens labels Sep 27, 2026
@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.21053% with 6 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
internal/testing/fixture_render.go 84.37% 5 Missing ⚠️
internal/cmd/plan/plan.go 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

- render scenario fixtures from internal/testing
- keep the semantic render local to the view tests
- remove the deleted-flag test and fix the TLS comment
@atkrad atkrad self-assigned this Sep 27, 2026
@atkrad atkrad added kind/chore Cleanup, deps, CI, or refactor with no user-facing change breaking-change Breaking change; call out in release notes and removed kind/docs Documentation only area/extras Custom manifests and CRDs under .deployah/ labels Sep 27, 2026
@atkrad
atkrad merged commit 440ea46 into main Sep 27, 2026
17 checks passed
@atkrad
atkrad deleted the remove-offline-planning branch September 27, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli Commands, flags, UX copy area/deploy Deploy and plan session flow area/helm Chart render, release, post-render area/testing Scenarios, harness, goldens breaking-change Breaking change; call out in release notes kind/chore Cleanup, deps, CI, or refactor with no user-facing change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant