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

NVIDIA / holodeck / 16627726469
11%
main: 22%

Build:
Build:
LAST BUILD BRANCH: pull-request/585
DEFAULT BRANCH: main
Ran 30 Jul 2025 04:04PM UTC
Jobs 1
Files 21
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

30 Jul 2025 04:04PM UTC coverage: 12.277% (-2.0%) from 14.278%
16627726469

push

github

ArangoGutierrez
feat: replace bash cleanup script with native Go implementation

Migrate AWS VPC cleanup functionality from bash script to a native Go
package and CLI command, improving maintainability, error handling, and
integration with the holodeck toolchain.

BREAKING CHANGE: The cleanup functionality is now available through
`holodeck cleanup` command instead of scripts/awscleanup.sh

Changes:
- Add pkg/cleanup package with comprehensive AWS resource deletion
  - Handles EC2 instances, security groups, subnets, route tables, IGWs
  - Includes GitHub job status checking via API
  - Implements retry logic for VPC deletion (3 attempts, 30s delay)
  - Better error handling with partial failure support

- Add `holodeck cleanup` CLI command
  - Accepts multiple VPC IDs in a single invocation
  - --region flag for AWS region specification
  - --force flag to skip GitHub job status checks
  - Comprehensive help documentation

- Update periodic GitHub workflow
  - Now uses `holodeck cleanup` instead of bash script
  - Builds Go binary as part of the workflow
  - Better error handling and logging
  - Handles multiple VPCs more efficiently

- Add documentation
  - docs/commands/cleanup.md with detailed usage examples
  - Updated README.md with cleanup examples
  - Updated command reference documentation

- Add deprecation warning to scripts/awscleanup.sh
  - Script still functional but warns users to migrate
  - Can be removed in a future release

Benefits:
- Type safety and better error handling
- Consistent with other holodeck commands
- Easier to test and maintain
- More efficient handling of multiple VPCs
- Better integration with CI/CD pipelines

Fixes: Improves reliability of periodic cleanup jobs
Refs: Migration from bash to Go for better maintainability

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>

7 of 355 new or added lines in 1 file covered. (1.97%)

268 of 2183 relevant lines covered (12.28%)

0.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
348
1.97
pkg/cleanup/cleanup.go
Jobs
ID Job ID Ran Files Coverage
1 16627726469.1 30 Jul 2025 04:04PM UTC 21
12.28
GitHub Action Run
Source Files on build 16627726469
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16627726469
  • c27dbd6f on github
  • Prev Build on pull-request/434 (#16625672268)
  • Next Build on pull-request/433 (#20030097929)
  • Delete
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