Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
004c21c
fix: update application lookup configuration in NewInfrastructureEnvi…
padili-metrostar Dec 17, 2025
a2a381a
feat: implement AWS resource cleanup functionality and enhance destro…
padili-metrostar Dec 19, 2025
cdf870a
fix: update region configuration to use Aws.Region in ForceAWSCleanup
padili-metrostar Dec 19, 2025
6148c36
feat: add EC2 instance termination functionality to ForceAWSCleanup
padili-metrostar Dec 19, 2025
caaca5b
refactor: remove force cleanup flag and streamline AWS resource clean…
padili-metrostar Dec 19, 2025
fbc0aeb
feat: implement fallback AWS resource cleanup in TfDestroyWithRetry f…
padili-metrostar Dec 19, 2025
7d26880
feat: add proactive check for blocking AWS resources before Terraform…
padili-metrostar Dec 19, 2025
8ad740a
feat: implement Kubernetes resource cleanup before EC2 termination in…
padili-metrostar Dec 22, 2025
4e1a791
feat: enhance logging and retry mechanisms for health checks and AWS …
padili-metrostar Dec 22, 2025
8845b2d
feat: add DaemonSet readiness checks and cleanup for stuck terminatin…
padili-metrostar Dec 23, 2025
95e8b73
feat: add VirtualService listing and print functionality to Kubernete…
padili-metrostar Dec 23, 2025
03e1598
feat: enhance Kubernetes cleanup process to remove all validating and…
padili-metrostar Dec 23, 2025
21f9f22
test: add unit tests for cleanup retry logic
padili-metrostar Dec 23, 2025
2b6b150
fix: upgrade Go 1.24.11 and mapstructure v2.4.0 to fix vulnerabilities
padili-metrostar Dec 23, 2025
4954e21
fix: resolve golangci-lint issues in aws_cleanup.go and stages.go
padili-metrostar Dec 23, 2025
3649a52
test: add unit tests for DaemonSetStageCheck and GetDaemonSetStatus
padili-metrostar Dec 23, 2025
c3532ee
chore: add codecov.yml and additional test coverage
padili-metrostar Dec 23, 2025
3f5b274
test: add additional coverage for Kubernetes and stages packages
padili-metrostar Dec 23, 2025
4263b05
test: add coverage for check callbacks and Kubernetes operations
padili-metrostar Dec 23, 2025
6c040c3
test: add coverage tests for Export and CleanupTerminatingPods
padili-metrostar Dec 23, 2025
bb95d9f
chore: remove internal.go from codecov exclusions
padili-metrostar Dec 23, 2025
6e6469a
fix: format internal_test.go with gofmt
padili-metrostar Dec 23, 2025
4a032e9
fix: update Go version to 1.24.11 in devbox.json
padili-metrostar Dec 30, 2025
f2a9d9f
fix: update Go version to 1.24.11 in devbox.lock
padili-metrostar Jan 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Codecov configuration for quartzctl
# https://docs.codecov.io/docs/codecov-yaml

coverage:
precision: 2
round: down
range: "60...100"

status:
project:
default:
# Set target to be the same as base coverage, allowing minor decreases
target: auto
threshold: 2% # Allow 2% decrease from base
informational: false
patch:
default:
# Reduce patch coverage requirement for integration-heavy code
target: 50%
threshold: 5%
informational: false

# Ignore files that are difficult to unit test due to external dependencies
# These files primarily contain CLI integration code with exec.CommandContext
ignore:
# AWS CLI integration code - uses exec.CommandContext extensively
- "internal/cmd/aws_cleanup.go"
# Main entry point
- "cmd/quartz/main.go"

comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: true
2 changes: 1 addition & 1 deletion devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"errcheck@latest",
"gitleaks@latest",
"pre-commit@latest",
"go@1.24.2",
"go@1.24.11",
"upx@latest"
]
}
24 changes: 12 additions & 12 deletions devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -149,51 +149,51 @@
}
}
},
"go@1.24.2": {
"last_modified": "2025-05-06T08:06:31Z",
"resolved": "github:NixOS/nixpkgs/1cb1c02a6b1b7cf67e3d7731cbbf327a53da9679#go",
"go@1.24.11": {
"last_modified": "2025-12-03T03:51:48Z",
"resolved": "github:NixOS/nixpkgs/cadcc8de247676e4751c9d4a935acb2c0b059113#go_1_24",
"source": "devbox-search",
"version": "1.24.2",
"version": "1.24.11",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/fd2s1z3why92qn8w7j6r0xlarikpv27v-go-1.24.2",
"path": "/nix/store/8k6qc3a84qvq9k85d7szjrknb91baqza-go-1.24.11",
"default": true
}
],
"store_path": "/nix/store/fd2s1z3why92qn8w7j6r0xlarikpv27v-go-1.24.2"
"store_path": "/nix/store/8k6qc3a84qvq9k85d7szjrknb91baqza-go-1.24.11"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/kxiwzqk0rg2qfw2n246cgp9p5k46zw72-go-1.24.2",
"path": "/nix/store/qnfbvhrv4nv8rij76fp4pw6wjijc9dwh-go-1.24.11",
"default": true
}
],
"store_path": "/nix/store/kxiwzqk0rg2qfw2n246cgp9p5k46zw72-go-1.24.2"
"store_path": "/nix/store/qnfbvhrv4nv8rij76fp4pw6wjijc9dwh-go-1.24.11"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/m69ix2b1g4npzx093dxvbx3z5gzd0c1n-go-1.24.2",
"path": "/nix/store/cisrkjr39cdgwyc42r1348ly04jahh9d-go-1.24.11",
"default": true
}
],
"store_path": "/nix/store/m69ix2b1g4npzx093dxvbx3z5gzd0c1n-go-1.24.2"
"store_path": "/nix/store/cisrkjr39cdgwyc42r1348ly04jahh9d-go-1.24.11"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/czwkf2ly24qy4gssd2scmjklp36b3pda-go-1.24.2",
"path": "/nix/store/i2yqx3x40i64g0mcb2ray2rxvz1zwbhm-go-1.24.11",
"default": true
}
],
"store_path": "/nix/store/czwkf2ly24qy4gssd2scmjklp36b3pda-go-1.24.2"
"store_path": "/nix/store/i2yqx3x40i64g0mcb2ray2rxvz1zwbhm-go-1.24.11"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/MetroStar/quartzctl

go 1.24.2
go 1.24.11
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update devbox.json golang version.


require (
github.com/aws/aws-sdk-go v1.55.7
Expand Down Expand Up @@ -83,7 +83,7 @@ require (
github.com/go-openapi/jsonpointer v0.21.1 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/swag v0.23.1 // indirect
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/gofrs/flock v0.12.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/btree v1.1.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ github.com/go-openapi/swag v0.23.1 h1:lpsStH0n2ittzTnbaSloVZLuB5+fvSY/+hnagBjSNZ
github.com/go-openapi/swag v0.23.1/go.mod h1:STZs8TbRvEQQKUA+JZNAm3EWlgaOBGpyFDqQnDHMef0=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
Expand Down
Loading
Loading