n8n/packages
Mutasem Aldmour ff8bc0aa7b
Some checks failed
CI: Python / Checks (push) Has been cancelled
fix(core): Stop the Python import guidance pointing at deployment config
On managed deployments the import allowlist is not the user's to change, so an
agent that names `N8N_RUNNERS_STDLIB_ALLOW` or tells them their setting is
invalid only produces a support request about something nobody will change for
them. Cloud also runs task runners in external mode, where n8n cannot see the
runner's configuration at all, so that guidance was doubly unfounded there.

Every agent- and user-facing surface now states the capability and stops: assume
no imports, write import-free Python, or use JavaScript. Environment variables
survive only in code comments and the config class, where operators read them.

The external-mode and rejected-allowlist cases now share one message. They led to
the same action already, and the separate wording existed only to name the
setting behind each.

Tests pin the rule across every policy shape rather than the phrasing, so a
future edit cannot quietly reintroduce a config recommendation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-27 15:47:56 +02:00
..
@n8n fix(core): Stop the Python import guidance pointing at deployment config 2026-08-27 15:47:56 +02:00
cli Merge remote-tracking branch 'origin/master' into ins-1222-builder-writes-native-python-code-nodes-with-imports-the 2026-08-27 13:22:39 +02:00
core feat(core): Wire credentialDecrypt host point (no-changelog) (#36962) 2026-08-27 08:46:38 +00:00
extensions/insights 🚀 Release 2.37.0 (#36986) 2026-08-25 07:32:14 +00:00
frontend fix(editor): Close add-channel modal on outside click (#37171) 2026-08-27 10:58:05 +00:00
modules 🚀 Release 2.37.0 (#36986) 2026-08-25 07:32:14 +00:00
node-dev chore: Set up repository for TypeScript 7 migration (#33890) 2026-07-09 13:21:16 +03:00
nodes-base fix(core): Stop the Python import guidance pointing at deployment config 2026-08-27 15:47:56 +02:00
testing fix(core): Keep AI Assistant workflow builds honest about their project (#37177) 2026-08-27 09:40:04 +00:00
workflow chore: Add groundwork for OAuth2 protected Chats (no-changelog) (#37045) 2026-08-26 08:06:56 +00:00