Skip to content

feat: add sqlite-node package - #29

Merged
Mearman merged 3 commits into
mainfrom
feat/sqlite-node
Oct 10, 2026
Merged

Mearman merged 3 commits into
mainfrom
feat/sqlite-node

Conversation

@Mearman

@Mearman Mearman commented Oct 10, 2026

Copy link
Copy Markdown
Member

Adds @exadev/process-graph-sqlite-node, the Node driver for the SQLite graph store, stacked on #27.

openNodeGraphStore(path, options) opens a node:sqlite database (a file or ":memory:") through drizzle-orm/node-sqlite and returns the store, the Drizzle database and close. A file database is put in write-ahead logging so a reader in another process is not blocked by a writer; node:sqlite's own options (such as timeout) pass straight through rather than being defaulted here.

The schema is migrated on the store's first operation by graph-store-sqlite's migrate, the same statements the browser driver applies. That package's tests already check migrate against drizzle's own node-sqlite migrator on the committed folder.

The conformance kit runs against an in-memory database in process and against a file database over a MessageChannel, and a further test checks write-ahead logging and a reopen.

npm name to reserve before the first release: npm-reserve @exadev/process-graph-sqlite-node --trust ExaDev/process-graph --workflow ci.yml.

@Mearman
Mearman marked this pull request as ready for review October 10, 2026 16:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-10T20:47:17.412397Z 9b4f303 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The SQLite graph store on Node's built-in node:sqlite through
drizzle-orm/node-sqlite, for the command line and servers.
openNodeGraphStore opens a file or an in-memory database, passes
node:sqlite's options through, and puts a file database in write-ahead
logging so a reader in another process is not blocked by a writer.

The conformance kit runs against an in-memory database in process and a
file database over a MessageChannel.
@Mearman
Mearman changed the base branch from feat/store-sqlite to main October 10, 2026 19:58
@Mearman Mearman closed this Oct 10, 2026
@Mearman Mearman reopened this Oct 10, 2026
@Mearman

Mearman commented Oct 10, 2026

Copy link
Copy Markdown
Member Author

@codex security review

@Mearman Mearman closed this Oct 10, 2026
@Mearman Mearman reopened this Oct 10, 2026
@Mearman Mearman closed this Oct 10, 2026
@Mearman Mearman reopened this Oct 10, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 0657932976

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@Mearman Mearman closed this Oct 10, 2026
@Mearman Mearman reopened this Oct 10, 2026
@Mearman

Mearman commented Oct 10, 2026

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 9b4f3039fa

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@Mearman

Mearman commented Oct 10, 2026

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 9b4f3039fa

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@Mearman
Mearman merged commit 6822709 into main Oct 10, 2026
16 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant