• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / terranoodle / 23506218501
81%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 06:36PM UTC
Jobs 1
Files 54
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Mar 2026 06:36PM UTC coverage: 75.636% (-1.7%) from 77.357%
23506218501

push

github

web-flow
feat: add state remove command (#34)

implement state remove command for removing destroyed resources from terraform/terragrunt state without destroying infrastructure. the command detects resources planned for deletion from the plan json, excludes renames (resources with previousaddress), and can either preview the operations or execute terraform/terragrunt state rm commands.

new packages:
- internal/state/remove: handles resource removal detection and state rm operations

new api:
- remove.RemoveTarget: represents a resource to remove
- remove.DetectFromPlan: extracts destroyed resources from plan, excluding renames
- remove.StateRm/TerragruntStateRm: execute state rm commands

new command:
- terranoodle state remove [flags]: preview or execute resource removals
  - --dir: working directory
  - --plan: path to plan json
  - --apply: execute state rm (default: preview)
  - --force: skip confirmation

also adds plan.FilterDestroys helper to complement FilterCreates.

tested: all new functions covered, including edge cases (renames excluded, nil changes skipped, sorted output).

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

4045 of 5348 relevant lines covered (75.64%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
153
63.92
-11.14% cli/state.go
7
65.0
-35.0% state/plan/parser.go
Jobs
ID Job ID Ran Files Coverage
1 23506218501.1 24 Mar 2026 06:36PM UTC 54
75.64
GitHub Action Run
Source Files on build 23506218501
  • Tree
  • List 54
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23506218501
  • 5493cbc7 on github
  • Prev Build on main (#23505655063)
  • Next Build on main (#23506393830)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc