n8n/packages/cli
n8n-cat-bot[bot] ca4dc42631 test(core): Lock each call site's timeout deadline at its own call site
The two call sites want different deadlines, and the shared helper alone
cannot prove which one each site asked for. Add one test for each:

- The poll handler counts a node's synchronous setup against the poll
  timeout, so the deadline must be armed before poll() runs.
- The publication consumer keeps its abort and abandon deadlines ref'd,
  so a shutdown still reaches the abort and the abandon reporting.

Also restore the setTimeout spy in the helper test while the fake timers
are still installed, so it cannot leak into a later test.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 09:48:08 +00:00
..
bin chore: Initial V2 changes (#22553) 2025-12-01 20:44:59 +02:00
scripts feat(core): Add new agent slack integration (#35591) 2026-08-17 09:27:50 +00:00
src test(core): Lock each call site's timeout deadline at its own call site 2026-09-08 09:48:08 +00:00
templates fix(Chat Trigger Node): Fix singular copy on the connect bar (#37945) 2026-09-07 09:10:10 +00:00
test refactor(core): Run insights compaction and pruning as system tasks (no-changelog) (#37543) 2026-09-08 07:15:14 +00:00
AGENTS.md chore(core): Lock the @n8n/typeorm import ratchet and document the boundary (no-changelog) (#34370) 2026-07-21 08:26:21 +00:00
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs refactor(core): Run insights compaction and pruning as system tasks (no-changelog) (#37543) 2026-09-08 07:15:14 +00:00
nodemon.json build: Fix cli nodemon config (#10628) 2024-08-30 19:03:47 +03:00
package.json 🚀 Release 2.39.0 (#38029) 2026-09-08 11:04:45 +03:00
tsconfig.build.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
tsconfig.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.base.ts fix(core): Register the encryption key provider before any encrypt or decrypt (no-changelog) (#37972) 2026-09-07 17:04:39 +00:00
vitest.config.integration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.integration.ts refactor(core): Tidy agent-eval runner and rating-persistence internals (no-changelog) (#35424) 2026-08-04 10:42:20 +00:00
vitest.config.migration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.migration.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.tsc-entity-transform.ts chore: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00