Skip to content

Conversation

@phyllis-noester
Copy link
Contributor

@phyllis-noester phyllis-noester commented Jan 7, 2026

Summary

Two new log streaming events will be sent:

  • n8n.audit.external-secrets-provider-settings.saved whenever a new secrets provider is added or an existing one is updated (this is handled identically in the code). tested locally
  • external-secrets-provider-reloaded whenever a secrets provider is reloaded meaning the secrets are refetched. I was not able to test that locally because I don't have valid credentials to a secrets store
Screenshot 2026-01-07 at 17 00 05

You can test this by setting up log streaming locally and seeing an event arrive when you update a secrets provider
setting up log streaming locally: https://github.com/n8n-io/n8n/blob/29bd48acbd6d52d93b9f0424db3c9a9a7c2a80bf/packages/cli/test/integration/eventbus/README-manual-test-syslog.md

Screenshot 2026-01-07 at 16 58 38

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/PAY-2932/log-streaming-add-external-secrets

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)

@CLAassistant
Copy link

CLAassistant commented Jan 7, 2026

CLA assistant check
All committers have signed the CLA.

@phyllis-noester phyllis-noester changed the title PAY-2932: add log streaming for external secrets provider feat(core): add log streaming for external secrets provider Jan 7, 2026
@phyllis-noester phyllis-noester changed the title feat(core): add log streaming for external secrets provider feat(core): add log streaming events for external secrets provider Jan 7, 2026
@phyllis-noester phyllis-noester changed the title feat(core): add log streaming events for external secrets provider feat(core): Add log streaming events for external secrets provider Jan 7, 2026
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jan 7, 2026
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@currents-bot
Copy link

currents-bot bot commented Jan 7, 2026

E2E Tests: n8n tests passed after 7m 0.4s

🟢 609 · 🔴 0 · ⚪️ 38 · 🟣 2

View Run Details

Run Details

  • Project: n8n

  • Groups: 2

  • Framework: Playwright

  • Run Status: Passed

  • Commit: 5ea3e0c

  • Spec files: 142

  • Overall tests: 647

  • Duration: 7m 0.4s

  • Parallelization: 16

Groups

GroupId Results Spec Files Progress
multi-main:e2e 🟢 552 · 🔴 0 · ⚪️ 38 · 🟣 1 133 / 133
multi-main:e2e:isolated 🟢 57 · 🔴 0 · ⚪️ 0 · 🟣 1 9 / 9


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

@phyllis-noester phyllis-noester requested review from a team, MarcL and guillaumejacquart January 7, 2026 16:26
Copy link
Contributor

@MarcL MarcL left a comment

Choose a reason for hiding this comment

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

Looking great! Thanks for your first PR @phyllis-noester! 🎉
Just some minor nits about naming consistency.

eventService.emit('external-secrets-provider-settings-saved', event);

expect(eventBus.sendAuditEvent).toHaveBeenCalledWith({
eventName: 'n8n.audit.external-secrets-provider-settings.saved',
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename as suggested above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point thanks! added the requested changes :)

@blacksmith-sh

This comment has been minimized.

Copy link
Contributor

@MarcL MarcL left a comment

Choose a reason for hiding this comment

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

Nice! :shipit:

@MarcL MarcL marked this pull request as ready for review January 8, 2026 11:17
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 7 files

@phyllis-noester phyllis-noester added this pull request to the merge queue Jan 8, 2026
@shortstacked shortstacked removed this pull request from the merge queue due to a manual request Jan 8, 2026
@shortstacked shortstacked added this pull request to the merge queue Jan 8, 2026
Merged via the queue into master with commit d58d367 Jan 8, 2026
50 checks passed
@shortstacked shortstacked deleted the PAY-2932-log-streaming-add-external-secrets branch January 8, 2026 14:14
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.

5 participants