feat(FN-2855): route scheduled tasks using effective node resolution

- Add an effective node resolver with task override, project default, and local fallback precedence.
- Wire scheduler dispatch to persist effectiveNodeId/effectiveNodeSource and log resolved node routing.
- Add coverage for effective node resolution and scheduler node routing integration behavior.
- Stabilize workspace test resolution by adding @fusion/core and @fusion/plugin-sdk aliases across Vitest configs.
This commit is contained in:
Fusion
2026-04-28 07:39:05 -07:00
committed by gsxdsm
parent bf9273abae
commit 0f40d96e50
16 changed files with 296 additions and 0 deletions

View File

@@ -5,6 +5,12 @@ const maxWorkers = Math.max(1, Math.min(4, Number.isFinite(requestedMaxWorkers)
process.env.VITEST_MAX_WORKERS = String(maxWorkers);
export default defineConfig({
resolve: {
alias: {
"@fusion/core": new URL("../../../packages/core/src/index.ts", import.meta.url).pathname,
"@fusion/plugin-sdk": new URL("../../../packages/plugin-sdk/src/index.ts", import.meta.url).pathname,
},
},
test: {
include: ["src/**/*.test.ts"],
pool: "threads",