From a306b156a1a468ccde0533eebd2d63b2de26c4ac Mon Sep 17 00:00:00 2001 From: Sergey Kozyrenko Date: Sun, 12 Jul 2026 16:37:17 +0700 Subject: [PATCH] chore: gitignore backend/vendor, drop stale pkg/queue doc row, self-contained test messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ignore the local `backend/vendor/` tree (187 MB, present only for the vendored-fork build) so it can't be accidentally staged. - Remove the architecture-table row for `pkg/queue/`, which was deleted when the container stat fan-out moved to errgroup. - Drop the internal "H4" report-id labels from the telemetry test — the sentences already say what they guard. Co-Authored-By: Claude Opus 4.8 --- .gitignore | 1 + CLAUDE.md | 1 - backend/pkg/observability/otelclient_test.go | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1f8a58a6..557b191f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ backend/tmp backend/build +backend/vendor frontend/coverage frontend/dist diff --git a/CLAUDE.md b/CLAUDE.md index ab05b466..874ceb8a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -77,7 +77,6 @@ The full stack runs at `https://localhost:8443` when using Docker Compose. Copy | `pkg/tools/` | Penetration testing tool integrations | | `pkg/docker/` | Docker SDK wrapper for sandboxed container execution | | `pkg/terminal/` | Terminal session and command execution management | -| `pkg/queue/` | Async task queue | | `pkg/csum/` | Chain summarization for LLM context management | | `pkg/graphiti/` | Knowledge graph (Neo4j via Graphiti) integration | | `pkg/observability/` | OpenTelemetry tracing, metrics, structured logging | diff --git a/backend/pkg/observability/otelclient_test.go b/backend/pkg/observability/otelclient_test.go index 572a93dc..35c613b0 100644 --- a/backend/pkg/observability/otelclient_test.go +++ b/backend/pkg/observability/otelclient_test.go @@ -76,7 +76,7 @@ func TestNewTelemetryClient_SuccessPathExportsAndShutsDown(t *testing.T) { } } -// H4 guard: a set-but-unreachable collector must not hang startup. The endpoint +// A set-but-unreachable collector must not hang startup. The endpoint // accepts the TCP connection but never completes the gRPC handshake, so a // WithBlock dial would wait forever without the internal DefaultDialTimeout that // this bounds — the caller's context has no deadline. @@ -110,6 +110,6 @@ func TestNewTelemetryClient_UnreachableReturnsWithinDialTimeout(t *testing.T) { t.Fatal("expected an error for an unreachable collector") } case <-time.After(DefaultDialTimeout + 10*time.Second): - t.Fatal("NewTelemetryClient hung past the dial timeout (H4 regression)") + t.Fatal("NewTelemetryClient hung past the dial timeout") } }