Skip to content

Pre-existing TS errors in agentdb benchmarks/ and tests/benchmarks/ block clean tsc --noEmit output #38

@DarkCodePE

Description

@DarkCodePE

Blocks A9 (browser bundle build verification) in [260526-kpoimj] (issue #35).

npx tsc --noEmit --skipLibCheck inside agentdb/ reports 114 errors confined to benchmarks/ and tests/benchmarks/helpers/. Zero errors in src/.

Representative failures:

  • benchmarks/attention-performance.ts: missing modules (../src/core/db, ../src/attention/*)
  • benchmarks/batch-ops/batch-ops-bench.ts: missing ../../dist/index.js
  • tests/benchmarks/helpers/graph-generator.ts: GraphEdges type mismatch (sourceIds, targetIds)

Pre-existing: present on baseline commit 1776223 before any [260526-kpoimj] changes.

Recommended fix: either exclude benchmarks/ from tsconfig.json include array, or fix the missing module imports after dist/ is built (post-build benchmarks pattern).

Source: docs/plans/260526-kpoimj-gnn-completion.md §8 Blocker 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions