{"record":{"id":"14e1c4bde7d3efa7","repo":"windmill-labs/windmill","slug":"warning","errorCode":null,"errorMessage":"${warning}","messagePattern":"\\$\\{warning\\}","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/src/commands/sync/sync.ts","lineNumber":5247,"sourceCode":"    for await (const entry of readDirRecursiveWithIgnore(() => false, local)) {\n      if (entry.isDirectory) continue;\n      if (!opts.includeSchedules && entry.path.endsWith(\".schedule.yaml\"))\n        scheduleCount++;\n      if (!opts.includeTriggers && entry.path.endsWith(\"_trigger.yaml\"))\n        triggerCount++;\n    }\n    if (scheduleCount > 0) {\n      skippedWarnings.push(\n        `Skipping ${scheduleCount} schedule file(s). Use --include-schedules or set includeSchedules: true in wmill.yaml`,\n      );\n    }\n    if (triggerCount > 0) {\n      skippedWarnings.push(\n        `Skipping ${triggerCount} trigger file(s). Use --include-triggers or set includeTriggers: true in wmill.yaml`,\n      );\n    }\n    for (const warning of skippedWarnings) {\n      log.warn(warning);\n    }\n    if (skippedWarnings.length > 0) log.info(\"\");\n  }\n\n  await fetchRemoteVersion(workspace);\n\n  const recordedMigrationPaths: RecordedMigrationPaths = changes.some(\n    (c) => c.name === \"deleted\" && isDatatableMigrationPath(c.path),\n  )\n    ? gitRecordedDatatableMigrationPaths()\n    : { kind: \"known\", paths: new Set() };\n  const ambiguousMigrationDeletions = untrackedDatatableMigrationDeletions(\n    changes,\n    recordedMigrationPaths,\n  );\n  const keepAmbiguousMigrationsOnRemote = () => {\n    log.info(\n      colors.yellow(","sourceCodeStart":5229,"sourceCodeEnd":5265,"githubUrl":"https://github.com/windmill-labs/windmill/blob/e474e8803ce2ff5c2df09a58dab51d45f5c922ca/cli/src/commands/sync/sync.ts#L5229-L5265","documentation":"Emission of one advisory from the skippedWarnings list in `wmill sync push`: each entry explains objects that were deliberately not pushed, e.g. N .schedule.yaml files skipped without --include-schedules, or N *_trigger.yaml files skipped without --include-triggers.","triggerScenarios":"Thrown at cli/src/commands/sync/sync.ts:5247 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add --include-schedules / --include-triggers (or the matching wmill.yaml setting) to push those objects","Delete the files locally if they should not be synced","Accept the skip if the objects are managed elsewhere"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e474e8803ce2ff5c2df09a58dab51d45f5c922ca","analyzedAt":"2026-09-03T12:38:19.024Z","contentChangedAt":"2026-09-03T12:38:19.024Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}