{"record":{"id":"3e1639f730e592fd","repo":"windmill-labs/windmill","slug":"stale","errorCode":null,"errorMessage":"${stale}","messagePattern":"\\$\\{stale\\}","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/src/commands/sync/sync.ts","lineNumber":5180,"sourceCode":"        await flushLockfileBatch();\n      }\n    }\n  }\n\n  if (staleScripts.length > 0) {\n    log.info(\"\");\n    if (autoRegenerate) {\n      log.info(\"Auto-regenerated metadata for stale scripts:\");\n    } else {\n      log.warn(\n        \"Stale scripts metadata found, you may want to update them using 'wmill generate-metadata' before pushing:\",\n      );\n    }\n    for (const stale of staleScripts) {\n      if (autoRegenerate) {\n        log.info(`  ${stale}`);\n      } else {\n        log.warn(stale);\n      }\n    }\n\n    log.info(\"\");\n  }\n\n  if (staleFlows.length > 0) {\n    if (autoRegenerate) {\n      log.info(\"Auto-regenerated locks for stale flows:\");\n    } else {\n      log.warn(\n        \"Stale flows locks found, you may want to update them using 'wmill generate-metadata' before pushing:\",\n      );\n    }\n    for (const stale of staleFlows) {\n      if (autoRegenerate) {\n        log.info(`  ${stale}`);\n      } else {","sourceCodeStart":5162,"sourceCodeEnd":5198,"githubUrl":"https://github.com/windmill-labs/windmill/blob/e474e8803ce2ff5c2df09a58dab51d45f5c922ca/cli/src/commands/sync/sync.ts#L5162-L5198","documentation":"Per-item line printed after the stale-scripts header in `wmill sync push`: it is the path of one script whose metadata was found stale (info line when auto-regenerated, warn line otherwise). Not an error itself — the header message carries the guidance.","triggerScenarios":"Thrown at cli/src/commands/sync/sync.ts:5180 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Regenerate metadata for the listed scripts via 'wmill generate-metadata'","Re-push so the refreshed locks are applied"],"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"}