{"record":{"id":"c79ce4ae6a7a28fe","repo":"windmill-labs/windmill","slug":"the-overrides-field-is-no-longer-supported","errorCode":null,"errorMessage":"❌ The 'overrides' field is no longer supported.\n   The configuration system now uses workspace-based configuration.\n   Please delete your wmill.yaml and run 'wmill init' to recreate it with the new format.","messagePattern":"❌ The 'overrides' field is no longer supported\\.\n   The configuration system now uses workspace-based configuration\\.\n   Please delete your wmill\\.yaml and run 'wmill init' to recreate it with the new format\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/src/core/conf.ts","lineNumber":229,"sourceCode":"        log.warn(\n          \"No wmill.yaml found. Use 'wmill init' to bootstrap it.\"\n        );\n      }\n      return {};\n    }\n\n    const conf = (await yamlParseFile(wmillYamlPath)) as SyncOptions;\n\n    // Handle obsolete overrides format\n    if (conf && \"overrides\" in conf) {\n      const overrides = conf.overrides as any;\n      const hasSettings =\n        overrides &&\n        typeof overrides === \"object\" &&\n        Object.keys(overrides).length > 0;\n\n      if (hasSettings) {\n        throw new Error(\n          \"❌ The 'overrides' field is no longer supported.\\n\" +\n            \"   The configuration system now uses workspace-based configuration.\\n\" +\n            \"   Please delete your wmill.yaml and run 'wmill init' to recreate it with the new format.\"\n        );\n      } else {\n        delete conf.overrides;\n      }\n    }\n\n    // Normalize legacy formats to `workspaces` in memory (no file rewrite).\n    // Priority: workspaces > gitBranches > environments > git_branches\n    if (conf && !conf.workspaces) {\n      let legacyKey: string | null = null;\n      let legacyData: LegacyBranchesConfig | undefined;\n\n      if (conf.gitBranches) {\n        legacyKey = \"gitBranches\";\n        legacyData = conf.gitBranches;","sourceCodeStart":211,"sourceCodeEnd":247,"githubUrl":"https://github.com/windmill-labs/windmill/blob/e474e8803ce2ff5c2df09a58dab51d45f5c922ca/cli/src/core/conf.ts#L211-L247","documentation":"Error \"❌ The 'overrides' field is no longer supported.\n   The configuration system now uses workspace-based configuration.\n   Please delete your wmill.yaml and run 'wmill init' to recreate it with the new format.\" thrown in windmill-labs/windmill.","triggerScenarios":"Thrown at cli/src/core/conf.ts:229 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Delete wmill.yaml and run `wmill init` to recreate it in the workspace-based format.","Migrate any needed values from the old overrides block into the new workspace-based settings manually."],"exampleFix":null,"handlingStrategy":"validation","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"}