Enhance devcontainer and CI workflows

- Add persistent volume mounts for Go/npm caches (faster rebuilds)
- Add shell config with helpful aliases and custom prompt
- Add comprehensive devcontainer documentation
- Add pre-commit hooks for Go formatting and linting
- Use go-version-file in CI workflows instead of hardcoded versions
- Simplify docker compose commands with --wait flag
- Add gitignore entries for devcontainer auth files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rcourtman 2026-01-01 22:29:15 +00:00
parent cb99673b7c
commit 3fdf753a5b
106 changed files with 1648 additions and 1373 deletions

View file

@ -81,7 +81,7 @@ func TestDetector_CorrelationDetection(t *testing.T) {
// Check correlations
correlations := d.GetCorrelations()
found := false
for _, c := range correlations {
if c.SourceID == "storage-1" && c.TargetID == "vm-100" {
@ -92,7 +92,7 @@ func TestDetector_CorrelationDetection(t *testing.T) {
break
}
}
if !found {
t.Error("Expected correlation between storage-1 and vm-100")
}
@ -230,7 +230,7 @@ func TestDetector_FormatForContext(t *testing.T) {
if context == "" {
t.Error("Expected non-empty context")
}
if !contains(context, "Correlation") {
t.Errorf("Expected context to mention correlations: %s", context)
}
@ -333,4 +333,3 @@ func TestIntToStr(t *testing.T) {
}
}
}