fix(knowledge): scope list counts to selected knowledge bases - #8575
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
027ac32 to
1d66a7d
Compare
|
@cubic-dev-ai review this PR |
@icecrasher321 I have started the AI code review. It will take a few minutes to complete. |
1d66a7d to
2a16f91
Compare
|
@cubic-dev-ai review this PR |
@icecrasher321 I have started the AI code review. It will take a few minutes to complete. |
| 'Actual Rows': number | ||
| 'Actual Loops': number | ||
| 'Rows Removed by Filter'?: number | ||
| 'Rows Removed by Index Recheck'?: number |
There was a problem hiding this comment.
Interfaces lack required suffixes
The new CapturedQuery interface here and ExplainNode below omit the descriptive suffix required by the repository’s interface-naming convention. Rename both with suffixes that describe their roles, such as CapturedQueryRecord and ExplainNodeData. This repository requirement must be satisfied before merging.
Context Used: CLAUDE.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
This is accurate as a repository naming-convention issue: AGENTS.md and CLAUDE.md require a suffix on interface names. I am renaming these test-only types to CapturedQueryRecord and ExplainNodeData. The SQL, assertions, and production behavior stay unchanged.
There was a problem hiding this comment.
The naming finding is accurate. I committed and validated the rename in 3f453e1, but this PR merged at its previous head before that push completed, so the rename is not included in the merge. The follow-up commit is available on the source branch. It only renames the test interfaces to CapturedQueryRecord and ExplainNodeData; the emitted JavaScript is identical. All four PostgreSQL list regressions, the full repository test suite, type-check, lint, and all 58 audits passed. I am leaving this thread open because the naming correction has not landed on staging.
Summary
Type of Change
Testing
Checklist
test-auditauthoring gate)