{"record":{"id":"5db1c24970e713b8","repo":"windmill-labs/windmill","slug":"not-implemented","errorCode":null,"errorMessage":"Not implemented","messagePattern":"Not implemented","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"cli/src/commands/app/app_metadata.ts","lineNumber":1047,"sourceCode":"  } & SyncOptions,\n  appPath: string | undefined\n) {\n  const { generateAppLocksInternal } = await import(\"./app_metadata.ts\");\n  const { elementsToMap, FSFSElement } = await import(\"../sync/sync.ts\");\n  const { ignoreF } = await import(\"../sync/sync.ts\");\n  const { Confirm } = await import(\"@cliffy/prompt/confirm\");\n\n  if (appPath == \"\") {\n    appPath = undefined;\n  }\n\n  const workspace = await resolveWorkspace(opts);\n  await requireLogin(opts);\n  opts = await mergeConfigWithConfigFile(opts);\n\n  if (appPath) {\n    //TODO: Generate metadata for a specific raw app but handle normal apps to\n    throw new Error(\"Not implemented\");\n    // Generate metadata for a specific app\n    // await generateAppLocksInternal(\n    //   appPath,\n    //   true,\n    //   false,\n    //   workspace,\n    //   opts,\n    //   false,\n    //   false\n    // );\n  } else {\n    // Generate metadata for all apps\n    const ignore = await ignoreF(opts);\n    const elems = await elementsToMap(\n      await FSFSElement(process.cwd(), [], true),\n      (p, isD) => {\n        return (\n          ignore(p, isD) ||","sourceCodeStart":1029,"sourceCodeEnd":1065,"githubUrl":"https://github.com/windmill-labs/windmill/blob/e474e8803ce2ff5c2df09a58dab51d45f5c922ca/cli/src/commands/app/app_metadata.ts#L1029-L1065","documentation":"A sentinel 'Not implemented' error inside the app metadata generation command. It fires on a code path that is still TODO — specifically the branch for generating metadata for a single raw app via an explicit appPath argument (the comment above the throw marks raw-app handling as unfinished). It is not a data problem: reaching this line means the command was invoked in a mode the CLI does not yet support.","triggerScenarios":"Thrown at cli/src/commands/app/app_metadata.ts:1047 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Drop the explicit app path argument and run the command over the whole workspace/app tree, which is the implemented path","For raw apps, generate locks via the supported raw-app flow (wmill app sync / bundle) instead of app metadata generation"],"exampleFix":null,"handlingStrategy":"try-catch","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"}