Repository navigation
test(smoke): distribution smoke plan COMP-kafgraph-01..14 as a suite (KG-01) - #49
Merged
Merged
Conversation
…(KG-01) test/smoke/PLAN.md is an unchanged copy of the plan at distribution tag pre-consolidation-2026-11-30 (sao/tests/smoke/components/kafgraph/PLAN.md); the distribution removed it and components/kafgraph from main on 2026-11-30. test/smoke is its own module: one test per case, HTTP via net/http, Bolt via neo4j-go-driver/v5 as the plan prescribes. Without a target it builds and starts KafGraph locally. Cases not passing yet are skipped with the roadmap entries that make them pass; a test fails if such an entry is missing, done or deferred. KAFGRAPH_SMOKE_STRICT=1 runs all. make test-smoke runs it, and CI runs it on every push and pull request. Today 14 passes. The official driver cannot complete the Bolt handshake: KafGraph accepts only the exact version 0x00000404, the driver offers ranges. With a range-aware handshake 03 and 11 pass; 05 lacks summary counters and 06 gets maps instead of nodes. ROADMAP.md proposes KG-15 for this; KG-07, KG-09 and KG-13 depend on it. The goal names the correct location of the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The distribution's component smoke plan for KafGraph (COMP-kafgraph-01 to -14) runs as a suite in this repository and in CI. Cases KafGraph does not pass yet are skipped with the roadmap entries that make them pass.
test/smoke/PLAN.md: unchanged copy of the plan. Source:scalytics/LASCARIS-distribution, tagpre-consolidation-2026-11-30(1f6fe6e67), pathsao/tests/smoke/components/kafgraph/PLAN.md, blobb624f914…(git hash-object test/smoke/PLAN.md).test/smoke/: its own Go module with one test per case. HTTP goes throughnet/http, Bolt through the officialneo4j-go-driver/v5, as the plan prescribes. WithoutKAFGRAPH_SMOKE_HTTP_URL/KAFGRAPH_SMOKE_BOLT_URL, the suite builds./cmd/kafgraphand starts it on free ports.KAFGRAPH_SMOKE_STRICT=1runs every case without skips (KG-13).TestPendingCasesNameOpenRoadmapEntriesfails if a skipped case names an entry that is missing,doneordeferredinSPEC/ROADMAP.md.make test-smoke, and a CI step inci.yml(GitHub-hosted runner).SPEC/ROADMAP.md: the plan path in the goal was wrong (thesao/prefix was missing) and the file is no longer on distributionmain. New row KG-15 (see below). KG-07, KG-09 and KG-13 now also depend on KG-15: cases 04 and 12 query over Bolt.Why the plan is a copy
On 2026-11-30 the distribution removed
components/kafgraph(b9d6d0b70, v1.0.1 keep list, scalytics/LASCARIS-distribution#143) andsao/with the plan (a46cca945) frommain. The plan now exists only in history. The copy fixes the contract this release is measured against.Result today
/health,/readydbms.components()dis a map, not a nodeops.agent.decisionskafgraph_nodes_total/metricshas Go runtime metrics onlymake test-smoke: 14 passes, 13 skipped, the consistency test passes. WithKAFGRAPH_SMOKE_STRICT=1, 13 fail as listed.Decision needed: KG-15
The official driver offers Bolt versions as ranges (
4.4with range 2,5.0–5.8).internal/server/bolt.goaccepts only the exact value0x00000404, so no handshake succeeds. All Bolt cases fail on that. In a throwaway copy with a range-aware handshake, 03 and 11 passed, and two more gaps showed up: nostatsin the PULL summary (05), and nodes sent as maps instead of Bolt node structures (06). No entry covered this, so the PR proposes row KG-15. Merging the PR accepts the row.Review
A reviewer with fresh context read the diff. These findings are fixed in this PR:
pendingnow holds a list of entries per case.dev, so case 04 could never pass locally. It is now stamped likemake build(git describe --tags).Pdeathsig.lag/*_lagkey with a numeric or object value.createdis set before the write, a trailing/in the URL is trimmed,go vetruns fortest/smoke, and the setup-go cache key includestest/smoke/go.sum.Not covered
Decision.immutable=true. It is not a numbered case and has no roadmap entry yet.<title>KafGraph</title>. The plan says only "knowledge-graph shell"./.test/smoke/go.modwould need its owngomodentry.main, KafGraph has been removed, so the handover is a re-add, and the distribution owner decides on it. The row is unchanged here.Checks
make fmt-check,bash hack/license-header.sh,make docs-sync-check,make test-smokepassed locally.go list ./...at the root does not includetest/smoke, sotest-race,vet,lint,cover-checkandgovulnchecksee no change. A mutation check confirmed that the consistency test reports a done entry and an unknown one.Ref: KG-01, proposes KG-15
🤖 Generated with Claude Code