Skip to content

test: use Database in sqlite virtual table test - #66307

Closed
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:test-sqlite-virtual-table
Closed

trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:test-sqlite-virtual-table

Conversation

@trivikr

@trivikr trivikr commented Sep 26, 2026

Copy link
Copy Markdown
Member

Refs: #65988

The sqlite classes were renamed from DatabaseSync to Database. The file now imports only Database, but the "closes the iterator when a filter is reapplied to the cursor" test landed with a leftover new DatabaseSync() call, which throws a ReferenceError.

The sqlite classes were renamed from DatabaseSync to Database.
The file now imports only `Database`, but the "closes the iterator when
a filter is reapplied to the cursor" test landed with a leftover
`new DatabaseSync()` call, which throws a ReferenceError.

Signed-off-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/sqlite

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Sep 26, 2026
@trivikr trivikr added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Sep 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @trivikr. Please 👍 to approve.

@trivikr
trivikr requested a review from araujogui September 26, 2026 02:46
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.37%. Comparing base (8812357) to head (1b881bf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #66307   +/-   ##
=======================================
  Coverage   90.36%   90.37%           
=======================================
  Files         790      790           
  Lines      274292   274292           
  Branches    52510    52507    -3     
=======================================
+ Hits       247874   247894   +20     
+ Misses      16901    16895    -6     
+ Partials     9517     9503   -14     

see 23 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@panva panva added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Sep 26, 2026
panva pushed a commit that referenced this pull request Sep 26, 2026
The sqlite classes were renamed from DatabaseSync to Database.
The file now imports only `Database`, but the "closes the iterator when
a filter is reapplied to the cursor" test landed with a leftover
`new DatabaseSync()` call, which throws a ReferenceError.

Signed-off-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
PR-URL: #66307
Refs: #65988
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
@panva

panva commented Sep 26, 2026

Copy link
Copy Markdown
Member

Landed in 38ad98a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. fast-track PRs proposed for a shorter-than-standard waiting period before landing. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants