n8n/scripts
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
..
backend-module refactor: Migrate source control feature to modules (#22453) 2026-01-06 15:59:11 +00:00
dev-metrics chore: Add opt-in dev-tooling usage metrics (no-changelog) (#33620) 2026-07-15 10:54:41 +00:00
instance-seeding fix(core): Say why the activity log was skipped, not just that it was (no-changelog) 2026-08-26 15:20:25 +02:00
licenses build: Re-pin mailsplit license election to 5.4.15 (no-changelog) (#36491) 2026-08-18 10:39:29 +00:00
mutation-health chore: Remove remaining Jest references (no-changelog) (#33412) 2026-07-09 09:29:24 +03:00
agent-setup.mjs build: Add pnpm agent:setup for fresh-checkout install + build + test (#31756) 2026-06-04 16:44:24 +00:00
block-npm-install.js ci: Block execution of npm install (no-changelog) (#4662) 2022-11-21 12:53:11 +01:00
build-n8n.mjs fix: Keep Kafka patch in Docker image build (no-changelog) (#36569) 2026-08-19 07:41:55 +00:00
check-boundaries.mjs ci: Exempt node-test-harness imports from the boundaries ratchet (no-changelog) (#34294) 2026-07-16 08:13:06 +00:00
check-workspace-deps.mjs chore: Fix lefthook config for windows (#22676) 2025-12-08 07:53:13 +02:00
check-workspace-private-deps.mjs test(core): Guard against private packages in the published runtime graph (#34889) 2026-07-27 07:01:43 +00:00
cloud-session.mjs chore: Update skills marketplace name to n8n-agent-skills (#36535) 2026-08-19 06:01:13 +00:00
codespace-env.mjs fix: Resolve the codespace box name from disk and fix the dev-loop guidance (no-changelog) (#36254) 2026-08-14 08:49:50 +00:00
codespace-env.test.mjs fix: Resolve the codespace box name from disk and fix the dev-loop guidance (no-changelog) (#36254) 2026-08-14 08:49:50 +00:00
dev-command-removed-notice.mjs chore(core): Fix memory-intensive dev commands in root package.json (#35521) 2026-08-04 14:41:56 +00:00
dev-up.mjs fix: Resolve the codespace box name from disk and fix the dev-loop guidance (no-changelog) (#36254) 2026-08-14 08:49:50 +00:00
dockerize-n8n.mjs feat: Bump base images to Node 24.16.0 and slim n8n-base apk layer (no-changelog) (#32217) 2026-06-12 12:17:05 +00:00
ensure-zx.mjs build: Add reset script (#10627) 2024-09-03 15:35:13 +03:00
format.mjs test: Remove cypress infrastracture (#21173) 2025-10-28 11:00:04 +01:00
generate-emoji-data.mjs feat(editor): Rewrite icon picker with search, full Lucide set, emoji sections, and color/skin tone pickers (#25649) 2026-06-16 08:55:15 +00:00
generate-lucide-icon-data.mjs feat(editor): Rewrite icon picker with search, full Lucide set, emoji sections, and color/skin tone pickers (#25649) 2026-06-16 08:55:15 +00:00
grind.mjs chore: Remove remaining Jest references (no-changelog) (#33412) 2026-07-09 09:29:24 +03:00
inspect-activity-log.mjs feat(core): Add a one-page viewer for the activity log (no-changelog) 2026-08-26 15:32:36 +02:00
nathan.mjs docs: Warn when pnpm nathan combines enterprise and AI features (no-changelog) (#34716) 2026-07-22 13:58:23 +00:00
os-normalize.mjs test: Add Playwright smoke spec for Vite dev-server boot (#29539) 2026-05-06 08:49:25 +00:00
prepare.mjs chore: Add opt-in dev-tooling usage metrics (no-changelog) (#33620) 2026-07-15 10:54:41 +00:00
reset.mjs chore: Create a lightweight version of pnpm reset (#32125) 2026-06-11 12:24:46 +00:00
scan-n8n-image.mjs ci: Refine Trivy scans, centralizes security config (#26384) 2026-03-02 07:43:29 +00:00
smoke-n8n-image.mjs fix(core): Fix AI Agent not seeing tools connected through HITL tools (#34271) 2026-07-17 09:53:50 +00:00
sync-agent-skill-links.mjs chore: Add guardrails and table output to human-like-code-review (#32943) 2026-06-24 14:01:36 +00:00
turbo-critical-path.mjs ci: Report the turbo critical path in build job summaries (#35092) 2026-08-11 07:21:51 +00:00