Skip to content

feat(core): Add Data Store Backend API (no-changelog) #17824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 119 commits into from
Aug 12, 2025
Merged

Conversation

CharlieKolb
Copy link
Contributor

@CharlieKolb CharlieKolb commented Jul 30, 2025

Summary

Initial draft for the data store backend.

Remaining work for initial deliverable:

  • Still misses clearStore, deleteRow and updateRow operations.
  • Should start storing sizing data if feasible - currently the approach of tracking size of inserted/updated/deleted data manually seems favorable

I'm new to this, so there's probably a few issues, particularly I'm unsure about the following:

  • When to use dtos vs just taking one or two parameters in-place.
  • Whether it's okay to rely on these dtos in the repository typings - I'm using some where it makes sense and am adding to api-types where I need modification

Related Linear tickets, Github issues, and Community forum posts

Linear project with links to notion phases https://linear.app/n8n/project/project-data-store-d3559ac715b1
Linear ticket for this PR https://linear.app/n8n/issue/ADO-3851/feature-implement-controller-and-service

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@CharlieKolb CharlieKolb changed the title feature(core): Add Data Store Backend API (no-changelog) feat(core): Add Data Store Backend API (no-changelog) Jul 30, 2025
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jul 30, 2025
@@ -79,6 +79,13 @@ export const GLOBAL_OWNER_SCOPES: Scope[] = [
'insights:list',
'folder:move',
'oidc:manage',
'dataStore:create',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are for personal projects also, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be for all projects I think

@@ -23,7 +23,7 @@ export class ModuleRegistry {
private readonly modulesConfig: ModulesConfig,
) {}

private readonly defaultModules: ModuleName[] = ['insights', 'external-secrets'];
private readonly defaultModules: ModuleName[] = ['insights', 'external-secrets', 'data-store'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] Shall we make it plural for consistency?

@dariacodes dariacodes self-assigned this Aug 12, 2025
Copy link
Contributor

@Cadiac Cadiac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets ship this at this stage like this 🚀

I've verified that all the endpoints work and most of the code changes are within the module, which isn't enabled by default.

Copy link

currents-bot bot commented Aug 12, 2025

E2E Tests: n8n tests passed after 4m 39.1s

🟢 514 · 🔴 0 · ⚪️ 0

View Run Details

Run Details

  • Project: n8n

  • Groups: 3

  • Framework: Playwright

  • Run Status: Passed

  • Commit: 79af2d2

  • Spec files: 107

  • Overall tests: 514

  • Duration: 4m 39.1s

  • Parallelization: 3

Groups

GroupId Results Spec Files Progress
ui 🟢 39 · 🔴 0 · ⚪️ 0 13 / 13
ui:isolated 🟢 6 · 🔴 0 · ⚪️ 0 2 / 2
No name 🟢 469 · 🔴 0 · ⚪️ 0 92 / 92


This message was posted automatically by currents.dev | Integration Settings

@dariacodes dariacodes merged commit 98dc71e into master Aug 12, 2025
49 of 50 checks passed
@dariacodes dariacodes deleted the ADO-3851 branch August 12, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants