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:
@@ -69,6 +69,7 @@ export const DEFAULT_PROJECT_SETTINGS = {
|
||||
pollIntervalMs: 15000,
|
||||
heartbeatMultiplier: 1,
|
||||
groupOverlappingFiles: true,
|
||||
overlapIgnorePaths: [],
|
||||
autoMerge: true,
|
||||
mergeStrategy: "direct",
|
||||
pushAfterMerge: false,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user