Category
Code quality / code smell
Description
Filenames in internal/workloads/ use underscores everywhere except for chaos-network.go, which uses a hyphen:
- Underscore:
chaos_disk.go, chaos_process.go, tps.go, cpu.go, memory.go, disk.go, database.go, network.go
- Hyphen:
chaos-network.go
Go itself does not care, but the inconsistency is the kind of papercut that misleads readers and trips up file-search shortcuts.
Severity
Low — cosmetic or minor inconvenience
Affected Files
internal/workloads/chaos-network.go — rename to chaos_network.go
internal/workloads/chaos-network_test.go — rename to chaos_network_test.go
- Any docs, CI scripts, or Makefile targets that name the file (
grep -r 'chaos-network\.go')
Proposed Fix
git mv both files and run a repo-wide search for any literal string references. Single PR, no behavior change.
Area
Workloads
Architecture Layer
Layer 3 - Workload Definitions (workloads, registry)
Category
Code quality / code smell
Description
Filenames in
internal/workloads/use underscores everywhere except forchaos-network.go, which uses a hyphen:chaos_disk.go,chaos_process.go,tps.go,cpu.go,memory.go,disk.go,database.go,network.gochaos-network.goGo itself does not care, but the inconsistency is the kind of papercut that misleads readers and trips up file-search shortcuts.
Severity
Low — cosmetic or minor inconvenience
Affected Files
internal/workloads/chaos-network.go— rename tochaos_network.gointernal/workloads/chaos-network_test.go— rename tochaos_network_test.gogrep -r 'chaos-network\.go')Proposed Fix
git mvboth files and run a repo-wide search for any literal string references. Single PR, no behavior change.Area
Workloads
Architecture Layer
Layer 3 - Workload Definitions (workloads, registry)