GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — inspector: fix builds without SQLite by christianaurichzm · Pull Request #67722 · nodejs/node

Conversation

@christianaurichzm

@christianaurichzm christianaurichzm commented Nov 23, 2026

Copy link
Copy Markdown
Member

./configure --without-sqlite fails to compile unless the inspector is disabled too:

$ ./configure --without-sqlite && make
In file included from ../src/inspector/dom_storage_agent.h:8,
                 from ../src/inspector_agent.cc:7:
../src/node_webstorage.h:10:10: fatal error: sqlite3.h: No such file or directory

Since #62145, dom_storage_agent.h includes node_webstorage.h, which needs SQLite. This replaces the include with a forward declaration and puts the code that reads localStorage and sessionStorage behind HAVE_SQLITE. Without SQLite, getDOMStorageItems still returns what was registered with inspector.DOMStorage.registerStorage(). Anything else gets the same "storage is unavailable" error as when localStorage is missing.

v24.x and v26.x got the same include in 24.16.0 and 26.1.0.

Refs: #62145

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@christianaurichzm
inspector: fix builds without SQLite
b42cf85
dom_storage_agent.h includes node_webstorage.h, which needs sqlite3.h,
so `./configure --without-sqlite` only compiles together with
`--without-inspector`. Forward-declare webstorage::Storage there and
build the agent's web storage fallback only with SQLite. Without it,
getDOMStorageItems reports unregistered storage as unavailable.

Signed-off-by: Christian Aurich Zanettini Martins <[email protected]>
@nodejs-github-bot

nodejs-github-bot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/inspector
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Nov 23, 2026
@christianaurichzm
christianaurichzm requested review from aduh95 and legendecas November 23, 2026 01:30
@christianaurichzm christianaurichzm added inspector Issues and PRs related to the V8 inspector protocol. lts-watch-v26.x PRs that may need to be released in v26.x. labels Nov 23, 2026
@christianaurichzm christianaurichzm mentioned this pull request Nov 23, 2026
cli: remove --no-experimental-sqlite flag #67698
Open
@codecov

codecov Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.54%. Comparing base (2566f1b) to head (b42cf85).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #67722   +/-   ##
=======================================
  Coverage   90.54%   90.54%           
=======================================
  Files         801      801           
  Lines      284119   284119           
  Branches    54882    54883    +1     
=======================================
+ Hits       257257   257261    +4     
+ Misses      17022    17011   -11     
- Partials     9840     9847    +7     
Files with missing lines Coverage Δ
src/inspector/dom_storage_agent.cc 83.25% <ø> (ø)

... and 32 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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aduh95
aduh95 approved these changes Nov 23, 2026
View reviewed changes
@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Nov 23, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 23, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/79445/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jakecastelli
jakecastelli approved these changes Nov 23, 2026
View reviewed changes
@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 23, 2026
@christianaurichzm christianaurichzm mentioned this pull request Nov 23, 2026
sqlite: throw ERR_NO_SQLITE without SQLite support #67727
Merged
legendecas
legendecas approved these changes Nov 23, 2026
View reviewed changes
lpinca
lpinca approved these changes Nov 23, 2026
View reviewed changes
@nodejs-github-bot
nodejs-github-bot merged commit be0f17c into nodejs:main Nov 25, 2026
88 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Landed in be0f17c

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 25, 2026
@aduh95 aduh95 mentioned this pull request Nov 25, 2026
2026-11-25, Version 27.0.0-alpha.0.2.0 (Alpha) #67757
Merged
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@christianaurichzm @gabylb
inspector: fix builds without SQLite
3217ab1
dom_storage_agent.h includes node_webstorage.h, which needs sqlite3.h,
so `./configure --without-sqlite` only compiles together with
`--without-inspector`. Forward-declare webstorage::Storage there and
build the agent's web storage fallback only with SQLite. Without it,
getDOMStorageItems reports unregistered storage as unavailable.

Signed-off-by: Christian Aurich Zanettini Martins <[email protected]>
PR-URL: nodejs#67722
Refs: nodejs#62145
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lpinca lpinca lpinca approved these changes
@legendecas legendecas legendecas approved these changes
@aduh95 aduh95 aduh95 approved these changes
@jakecastelli jakecastelli jakecastelli approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol. lts-watch-v26.x PRs that may need to be released in v26.x. needs-ci PRs that need a full CI run.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@christianaurichzm @nodejs-github-bot @lpinca @legendecas @aduh95 @jakecastelli
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.