feat(FN-2496): add overlap ignore paths support to scheduler settings

- Add overlap-ignore path validation and typed settings support in core schema
- Apply overlap ignore paths in scheduler overlap detection with dedicated engine tests
- Add Settings modal UI and routes handling for overlap ignore paths including path-picker feedback fixes
- Document overlap ignore paths in storage/settings docs and include a changeset for @runfusion/fusion
This commit is contained in:
Fusion
2026-04-25 15:48:36 -07:00
committed by gsxdsm
parent d028b41164
commit 9d8852e26a
11 changed files with 570 additions and 7 deletions

View File

@@ -69,6 +69,7 @@ export const DEFAULT_PROJECT_SETTINGS = {
pollIntervalMs: 15000,
heartbeatMultiplier: 1,
groupOverlappingFiles: true,
overlapIgnorePaths: [],
autoMerge: true,
mergeStrategy: "direct",
pushAfterMerge: false,

View File

@@ -1180,6 +1180,12 @@ export interface ProjectSettings {
* Must be > 0. Default: 1 (no change). */
heartbeatMultiplier?: number;
groupOverlappingFiles: boolean;
/** File/directory paths to ignore when evaluating overlap serialization.
* Entries are project-relative paths (for example: `docs/README.md`, `docs/`, `generated/*`).
* Absolute paths and `..` traversal are not allowed.
* When set, matching paths are excluded from overlap checks for both
* active in-progress tasks and in-review tasks with unmerged worktrees. */
overlapIgnorePaths?: string[];
autoMerge: boolean;
/** How completed in-review tasks should be finalized when autoMerge is enabled.
* - "direct": preserve the existing local squash-merge flow into the current branch