Commit Graph

32 Commits

Author SHA1 Message Date
Arvin Ansari
a59228f7a6
feat(core): Make the seed's API tokens optional (no-changelog)
Missing tokens no longer abort the run. The credential is still created and
still attached to every node that needs it, holding a placeholder — so the
workflows open without a missing-credential warning and nothing is left
half-wired. They just cannot run until a real token is supplied.

The placeholder is labelled in both places someone will look: the credential
name becomes "Anthropic (seed, fake key)", which is what shows in the
credential list and on every node, and the stored key is
SEEDED-FAKE-KEY-not-a-real-credential, so a 401 in a log explains itself rather
than raising a question about which key was used. The name is resolved once and
used for the row, the cached name on each node, and the report, so those three
cannot disagree.

The report ends with what to do about it: which token each placeholder needs,
where to generate it, and every place it can be set, each marked exists or
create it. Re-running with the token set replaces the credential in place and
keeps its id, so every node keeps pointing at it and the label drops away —
verified by seeding placeholders and then re-seeding with real tokens.

SEED_PLACEHOLDER_CREDENTIALS=1 forces placeholders even where a real token is
available, for producing a database with no real keys in it or for seeing the
estate as it looks before anything is configured.
2026-08-26 15:37:03 +02:00
Arvin Ansari
d9cf35cb56
feat(core): Add a one-page viewer for the activity log (no-changelog)
`pnpm inspect:activity` serves every column of `activity_event` on
127.0.0.1:5699 — paginated, sortable on any column, with a free-text filter
that also searches the JSON `data` column, so a run id or a failing node name
finds its entry without knowing which field holds it. Category and action get
their own dropdowns, listing what is actually in the table.

Standalone rather than a view in the editor UI, on purpose. An in-app page
would need a route, a store, an API client, a scope-gated endpoint, i18n
strings and tests — a lot of product surface for a table you want to eyeball
while working on it. This is one file, no build step and no dependency, and it
reads the database directly so what you see is what is stored.

Read-only in three ways that matter: the connection is opened with readOnly, so
a write is rejected by SQLite rather than by convention; every query is a
SELECT; and the sort column comes from an allowlist, because a column name
cannot be a bound parameter. Verified — a sort of `1; DROP TABLE
activity_event` falls back to id and leaves the table intact.

Bound to 127.0.0.1 only, and unauthenticated by design: it is a debug surface,
and the whole table including who did what in which project is served to
anything that can reach the port. Confirmed unreachable on the LAN address.

Verified in a browser against a seeded database: filters, header sorting, page
size and paging all drive correctly, the free-text search finds both failing
runs by their failing node name, and the console is clean.
2026-08-26 15:32:36 +02:00
Arvin Ansari
b492125038
feat(core): Add pnpm seed:account and make the seed findable (no-changelog)
`pnpm seed:account` builds n8n-core and runs the seed in one command, so the
build prerequisite stops being something you have to know.

Tokens now resolve from the environment or from a dotenv file this repo already
uses for local secrets — packages/cli/.env, packages/@n8n/instance-ai/.env, or a
root .env, in that order, with the shell always winning. Only the two token
variables are taken from those files, so nothing else in them leaks into the
process. A missing token is named with the credential it is for, where to
generate it, and every place it can be set, each marked exists or create it. The
run report says which source each token came from and how long it is, never its
value.

Also puts it where an agent will actually look: a section in the root AGENTS.md
saying what the seed contains, when to reach for it, and how it differs from
seedInstance.mjs. An empty instance is a bad place to test anything that reasons
about a user's work, and until now nothing in the docs an agent loads by default
said a seed existed.
2026-08-26 15:14:08 +02:00
Declan Carroll
1ef82d5081
fix: Resolve the codespace box name from disk and fix the dev-loop guidance (no-changelog) (#36254)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 08:49:50 +00:00
Lorent Lempereur
15cbd90367
docs: Correct stale paths and symbols in agent-facing docs (#35349) 2026-08-03 10:17:23 +00:00
Filipe Tavares
855c283101
feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 16:09:54 +00:00
Kai
ca0c5f4938
feat(editor): Keep review-required toggle synchronized with open reviews (#34606) 2026-07-22 09:28:10 +00:00
Andreas Fitzek
be786e2802
chore(core): Lock the @n8n/typeorm import ratchet and document the boundary (no-changelog) (#34370) 2026-07-21 08:26:21 +00:00
Charlie Kolb
f71a94ddf9
chore: Add opt-in dev-tooling usage metrics (no-changelog) (#33620)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Matsuuu <matias.huhta@n8n.io>
2026-07-15 10:54:41 +00:00
phyllis-noester
5b92d0a844
docs: Add customer confidentiality guidelines to AGENTS.md (#33992) 2026-07-10 14:12:21 +00:00
Matsu
885c250b12
ci: Set up v3 branch sync and nightly build workflows (no-changelog) (#33678)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 12:49:39 +03:00
Matsu
df97053888
chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
Tomi Turtiainen
e6c30826f4
chore: Add no-application-error lint rule and ban new usage (no-changelog) (#33248) 2026-06-30 10:08:47 +00:00
Tomi Turtiainen
029905890d
docs: Add concise comments guideline to AGENTS.md (#32553) 2026-06-18 09:31:11 +00:00
Svetoslav Dekov
fe98bef7a4
chore: Unify agent skill sources (no-changelog) (#30541)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 09:25:09 +00:00
Matsu
31bb246234
chore: Create a lightweight version of pnpm reset (#32125) 2026-06-11 12:24:46 +00:00
n8n-cat-bot[bot]
91182ed02b
build: Add pnpm agent:setup for fresh-checkout install + build + test (#31756)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-04 16:44:24 +00:00
Danny Martini
a3cb0c801a
docs: Clarify Linear ticket requirement in PR conventions (#31652) 2026-06-03 13:36:46 +00:00
Matsu
89ffd90e84
chore: Migrate @n8n/config and @n8n/backend-common from jest to vitest (#30597) 2026-05-18 14:26:59 +03:00
Declan Carroll
87cfbbbc6e
docs: Document pnpm services + pnpm dev developer loop (#30515)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 09:16:07 +00:00
Rob Hough
d332fe9c84
refactor(editor): Align @n8n/design-system with DS3 (no-changelog) (#28428) 2026-04-28 09:53:05 +00:00
Jaakko Husso
6cfa0ed559
feat(core): Rename instance AI to AI Assistant in the UI texts (no-changelog) (#28732) 2026-04-20 17:49:04 +00:00
Csaba Tuncsik
a00dd19c43
chore: Move Claude Code skills, agents and commands under n8n plugin (no-changelog) (#28020) 2026-04-08 07:57:39 +00:00
Dawid Myslak
604b291236
docs: Add security fix hygiene guidelines for public artifacts (#27441) 2026-03-23 15:04:17 +00:00
Albert Alises
30b8dc4f33
feat: Add design principles section to AGENTS.md with the security guidelines (#25997) 2026-03-18 13:42:05 +00:00
Milorad FIlipović
4d40db2c39
perf(core): Fix slow user mock in cli tests (no-changelog) (#27205) 2026-03-18 13:41:10 +00:00
Rob Hough
13a0a72159
docs(editor): Add shared design-system AI style review rules (no-changelog) (#27008) 2026-03-17 13:54:43 +00:00
Declan Carroll
2d6a0e1041
fix: Lazy load heavy imports and add future guidance (#26903)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:51:25 +00:00
Declan Carroll
593fc27863
test: Add Playwright janitor for test architecture enforcement (no-changelog) (#24869) 2026-02-13 11:03:13 +00:00
Csaba Tuncsik
4f65f7201e
chore: Add Claude Code configuration for n8n development (#23440)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-02-06 10:36:18 +00:00
Michael Drury
3e13296059
docs: Add Claude Code guidance for workflow traversal and prompt building (no-changelog) (#24708) 2026-01-22 16:01:28 +00:00
Dawid Myslak
305b7a226b
chore: Move to AGENTS.md file with agent instructions (#22227)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-25 12:41:53 +01:00