Commit Graph

24485 Commits

Author SHA1 Message Date
Svetoslav Dekov
b5a251efb3 chore: Simplify the worktree cleanup script
Remove the --deps, --json and --no-gh modes, the upstream-remote PR lookup,
the zombie bookkeeping in the process scan, the size column and the
force/safe branch deletion split. Trash goes into a mkdtemp slot and the
background delete removes whole trash directories, so leftovers need no
separate scan. Idle time now comes from the worktree HEAD reflog.

Treat a PR as merged when its head SHA is the worktree HEAD, so a
squash-merged worktree is removed after its remote branch is pruned.
The process check is Linux only; elsewhere the script only reports.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 11:33:29 +00:00
Svetoslav Dekov
93eeaf3187 chore: Rank PR states across remotes and avoid trash name collisions
When origin and upstream both answer for a branch, keep OPEN over
MERGED over CLOSED instead of the last reply. Name --deps trash by the
directory's relative path plus a counter, so two dist directories in
one worktree do not collide.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 08:46:59 +00:00
Svetoslav Dekov
7db61bff4f chore: Harden worktree cleanup trash handling and PR lookup
Look up PRs in the upstream remote as well, so a fork's open PRs are
seen. Count processes that hide their cwd and say so in the report;
zombies and sshd children cannot hold a worktree open, so they do not
block removal. Put --deps trash next to the worktree and discover
leftover trash in the usual worktree parents, not only next to listed
worktrees. Continue the background delete past a failed path. Mention
locked worktrees in the README.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 08:35:28 +00:00
Svetoslav Dekov
b2c981eca3 chore: Make worktree removal instant and the start-up scan cheap
Rename a removed worktree into a sibling .worktree-trash directory and
prune the git entry, then delete the trash in a detached process.
Removing a worktree with 250k files drops from ~17 s to under a second
of blocking time. Look up PR states concurrently and skip the size
measurement in --yes mode, so the scan at Codespace start stays around
one second regardless of the number of worktrees. A re-check of the
tree right before the rename keeps work that appeared since the report.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 08:18:36 +00:00
Svetoslav Dekov
6cb4870137 chore: Cap each gh lookup in the worktree cleanup
A lookup that times out counts as failed, so the worktree is kept.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 07:50:02 +00:00
Svetoslav Dekov
e628be1dc2 chore: Bound the worktree cleanup at Codespace start
Give the cleanup call in post-start.mjs a deadline so a stalled git or
gh call cannot delay the agent worker. Cap each gh lookup inside the
script; a timed-out lookup keeps the worktree.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 07:49:27 +00:00
Svetoslav Dekov
2daad8b691 chore: Harden worktree cleanup after review
Keep a worktree when the PR lookup fails instead of treating it as
having no PR. Drop the --force retry on removal: git re-checks that the
tree is clean, and ignored build outputs never block removal. Count the
cleaner's own cwd as in use. Run the cleanup before the agent worker
starts. Continue past a failed directory in --deps mode. Document that
--deps needs --yes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 07:35:40 +00:00
Svetoslav Dekov
cfd8048bd0 chore: Add a worktree cleanup script and run it at Codespace start (no-changelog)
Add `pnpm worktree:clean`. It lists the git worktrees of the repository
with the reason each one is kept or removed. With `--yes` it removes the
worktrees that are clean, fully on a remote, not in use, and whose PR is
merged or closed or that idled past a threshold with no open PR.
Codespaces run it from post-start.mjs at each container start.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 07:18:10 +00:00
n8n-cat-bot[bot]
82f3a0154b
docs: Standardise on "engine v2" naming in AGENTS.md (#38966)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
2026-09-18 06:37:41 +00:00
n8n-assistant[bot]
39ef24a169
chore: Update e2e impact map (#39012)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-18 03:26:19 +00:00
Benny Neugebauer
1525f3a142
fix(Slack Node): Point OAuth2 scopes notice to an existing docs anchor (#38992) 2026-09-17 23:02:31 +00:00
Guillaume Jacquart
4dfec51b8b
test(core): Cover policy fan-out atomicity and cross-main reads (no-changelog) (#38950)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 19:27:42 +00:00
Garrit Franke
f4b857f6ec
feat(core): Reject install and update of community packages requiring an unsupported node API version (no-changelog) (#37744) 2026-09-17 18:52:40 +00:00
mfsiega
7374cbdab0
test(engine): Add a Playwright parity project for engine 2.0 (no-changelog) (#38708)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Danny Martini <danny@n8n.io>
2026-09-17 18:15:35 +00:00
Charlie Kolb
9ae5600999
ci: Enable the unlisted and catalog-reference knip rules (no-changelog) (#38795)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 17:15:32 +00:00
Riqwan Thamir
0a4976e62c
feat(editor): Open Edit with AI without a greeting turn (#38745)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 16:45:07 +00:00
Robin Braumann
77cd72ca05
perf(core): Improve observational memory retention (no-changelog) (#38961) 2026-09-17 16:23:19 +00:00
Declan Carroll
0024474b95
test(benchmark): Stabilize Playwright infrastructure baselines (#38900) 2026-09-17 15:58:16 +00:00
Nour Alhadi Mahmoud
0ee4d1f812
feat(core): Preview promotion changes in both directions and on the public API (no-changelog) (#38847)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 15:43:36 +00:00
Robin Braumann
9f57c9194b
fix(editor): Correct Agent Builder chat layout and update notices (#38987) 2026-09-17 15:39:47 +00:00
Lorent Lempereur
cebe908d3c
feat(core): Add a tracing span for each system task run (no-changelog) (#38913) 2026-09-17 15:22:02 +00:00
Ricardo Espinoza
768e74a5e7
fix(core): Always cast resource mapper string fields when type conversion is enabled (#37851) 2026-09-17 15:19:44 +00:00
Declan Carroll
9e18c4a8aa
fix: Unify startup deadlines and cancellation (#37927) 2026-09-17 15:14:42 +00:00
Rúben Castro
477481fec3
feat(core): Add kind property to node type policy telemetry events (no-changelog) (#38749)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-17 14:53:20 +00:00
João Almeida
b26bb7f452
fix(editor): Convert a pasted expression into expression mode in the resource locator input (#38872)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 14:32:08 +00:00
Veljko Terzic
514c499896
feat(core): Run the instance-registry stale-member cleanup as a durable system task (no-changelog) (#38621)
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-09-17 13:57:24 +00:00
Robin Braumann
512ac3be49
fix(core): Allow agents to finish without a reply (no-changelog) (#38973) 2026-09-17 13:56:31 +00:00
Tomi Turtiainen
3dd22cfd60
fix(engine): Use shared UUID v7 pattern for execution id check (#38963) 2026-09-17 13:54:54 +00:00
Tomi Turtiainen
cb1577367c
fix(engine): Report the host's v1 execution mode to a step (#38960) 2026-09-17 13:54:47 +00:00
José Braulio González Valido
e15b3fc922
fix(core): Restore the system prompt in Instance AI LLM step debug (no-changelog) (#38887)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 13:26:23 +00:00
Arvin A
33def0e800
feat(core): Add a description field to credentials (no-changelog) (#38839) 2026-09-17 13:16:34 +00:00
Arvin A
ba16e4f08d
feat(core): Give MCP clients the opening instance context (no-changelog) (#38292) 2026-09-17 13:16:10 +00:00
Predrag Ristic
cd623fd6ca
fix(core): Simulate Agent write tools during workflow verification (#38553) 2026-09-17 13:07:18 +00:00
Veljko Terzic
9059a89078
feat(core): Run the JTI cleanup as a durable system task (no-changelog) (#38596) 2026-09-17 12:55:14 +00:00
Robin Braumann
3ea03971d3
fix(editor): Add tooltips to assistant header actions (#38946) 2026-09-17 12:31:36 +00:00
Anne Aguirre
d1c805a595
fix(core): Observe agent execution tail when observation cursor moved in the middle of the run (#38907) 2026-09-17 12:18:00 +00:00
Kai
74334d2d85
feat(API): Pause promotion Apply until bindings are resolved (#38741) 2026-09-17 11:56:35 +00:00
Robin Braumann
536ae3ea14
fix(editor): Prevent agent builder shift during assistant transition (#38948) 2026-09-17 11:54:11 +00:00
Roman Makowiak
fe1012d75f
feat(core): Add the foundations for assistant-written preferences (no-changelog) (#38829)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 11:53:09 +00:00
Robin Braumann
0f0fca177a
fix(editor): Match n8n Assistant header background (#38944) 2026-09-17 11:52:33 +00:00
Declan Carroll
f6226f7252
ci: Run v3 sync automation from master (no-changelog) (#38951) 2026-09-17 11:34:54 +00:00
Robin Braumann
76fd3a0f67
fix(editor): Show step indicators in dark mode (#38937) 2026-09-17 11:27:35 +00:00
Declan Carroll
d027f2c286
ci: Defer sync lockfile conflicts (no-changelog) (#38942) 2026-09-17 11:13:50 +00:00
Declan Carroll
a0d084bbc3
ci: Isolate sync lockfile validation (no-changelog) (#38938) 2026-09-17 10:51:55 +00:00
n8n-cat-bot[bot]
3b3a773dc2
chore: Move the duplicated deserialize into AbstractEventMessage (#38486)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 10:36:23 +00:00
Declan Carroll
a9ae58ba76
ci: Use exact CI sync validation (no-changelog) (#38934) 2026-09-17 10:30:00 +00:00
Declan Carroll
615158d7c2
ci: Mirror sync lock validation with CI (no-changelog) (#38932) 2026-09-17 10:09:33 +00:00
Declan Carroll
ecc822d588
ci: Force fresh sync patch validation (no-changelog) (#38929) 2026-09-17 09:47:55 +00:00
Jan Kalkan
43fa826342
fix(core): Bound concurrent HashiCorp Vault external secrets reads (#38866)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 09:31:32 +00:00
Charlie Kolb
c915881537
build: Bump pnpm to 12.4.2 so Ctrl+C stops the dev processes (no-changelog) (#38919)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-17 09:24:18 +00:00