fix(search): wire SearchResult imports/exports and stabilize map hub selection #279
test.yml
on: pull_request
Quality Checks
27s
Functional Tests
1m 28s
Annotations
7 errors and 12 warnings
|
Functional Tests
Process completed with exit code 1.
|
|
tests/search-decision-card.test.ts > Search Decision Card (Edit Intent) > includes snippet field when includeSnippets=true:
tests/search-decision-card.test.ts#L289
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ tests/search-decision-card.test.ts:289:3
|
|
tests/search-decision-card.test.ts > Search Decision Card (Edit Intent) > decision card has all expected fields when returned:
tests/search-decision-card.test.ts#L206
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ tests/search-decision-card.test.ts:206:3
|
|
tests/search-decision-card.test.ts > Search Decision Card (Edit Intent) > intent="edit" with multiple results returns full decision card with ready field:
tests/search-decision-card.test.ts#L169
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ tests/search-decision-card.test.ts:169:3
|
|
tests/codebase-map.test.ts > renderMapMarkdown > renders deterministic markdown from fixture — snapshot:
tests/codebase-map.test.ts#L271
Error: Snapshot `renderMapMarkdown > renders deterministic markdown from fixture — snapshot 1` mismatched
- Expected
+ Received
@@ -17,26 +17,11 @@
- `src/utils/helpers.ts`
- `lib/utils.ts`
## Key Interfaces
- - **SearchOptions** `interface` — `src/core/search.ts` (imported by 3)
- ```
- export interface SearchOptions {
- query: string;
- limit?: number;
- ```
- - **CodebaseSearcher** `class` — `src/core/search.ts` (imported by 3)
- ```
- export class CodebaseSearcher {
- private rootPath: string;
- constructor(rootPath: string)
- ```
- - **SearchResult** `type` — `src/types.ts` (imported by 0)
- ```
- export type SearchResult = { chunk: CodeChunk; score: number; };
- ```
+ _None detected._
## API Surface
- `src/cli.ts` — exports: runCli, parseArgs
- `src/index.ts` — exports: main, createServer
❯ tests/codebase-map.test.ts:271:16
|
|
tests/codebase-map.test.ts > buildCodebaseMap > signatureHint contains the symbol name:
tests/codebase-map.test.ts#L159
TypeError: Cannot read properties of undefined (reading 'signatureHint')
❯ tests/codebase-map.test.ts:159:18
|
|
tests/codebase-map.test.ts > buildCodebaseMap > derives keyInterfaces from symbolAware chunks, sorted by importer count:
tests/codebase-map.test.ts#L138
AssertionError: expected 0 to be greater than or equal to 2
❯ tests/codebase-map.test.ts:138:51
|
|
Quality Checks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Quality Checks:
src/cli-formatters.ts#L395
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L394
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L377
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L376
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L373
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L371
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L367
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L280
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L278
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Quality Checks:
src/cli-formatters.ts#L276
Unexpected console statement. Only these console methods are allowed: warn, error
|
|
Functional Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|