{"record":{"id":"0bb69e9f1200a3c0","repo":"zed-industries/zed","slug":"failed-to-parse-tasks-file-at-path","errorCode":null,"errorMessage":"Failed to parse tasks file at {path}","messagePattern":"Failed to parse tasks file at (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/extension_cli/src/main.rs","lineNumber":504,"sourceCode":"        .iter()\n        .all(|author| author.trim().is_empty())\n    {\n        return Err(ExtensionManifestValidationError::MissingAuthors);\n    }\n\n    let repository = manifest\n        .repository\n        .as_ref()\n        .map(|repository| repository.trim())\n        .filter(|repository| !repository.is_empty())\n        .ok_or(ExtensionManifestValidationError::MissingRepository)?;\n\n    let repository_url = repository\n        .parse::<Url>()\n        .map_err(|_| ExtensionManifestValidationError::InvalidRepository(repository.to_string()))?;\n\n    if repository_url.host_str().is_none() {\n        return Err(ExtensionManifestValidationError::InvalidRepository(\n            repository.to_string(),\n        ));\n    };\n\n    if !manifest.language_model_providers.is_empty() {\n        return Err(ExtensionManifestValidationError::LanguageModelProvidersUnsupported);\n    }\n\n    Ok(())\n}\n\nfn test_grammars(\n    manifest: &ExtensionManifest,\n    extension_path: &Path,\n    wasm_store: &mut WasmStore,\n) -> Result<HashMap<String, Language>> {\n    let mut grammars = HashMap::default();\n    let grammars_dir = extension_path.join(\"grammars\");","sourceCodeStart":486,"sourceCodeEnd":522,"githubUrl":"https://github.com/zed-industries/zed/blob/9d272b036335401f339d024ea94968fd51016c40/crates/extension_cli/src/main.rs#L486-L522","documentation":"The extension's tasks file at {path} was read successfully but could not be parsed — deserialization of the task templates JSON/TOML failed. This is a content/format error distinct from the read error: the schema of the tasks file does not match what TaskTemplates expects.","triggerScenarios":"Thrown at crates/extension_cli/src/main.rs:480 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the task template entries per the parse error — typically wrong field names/types in a task definition","Compare against the documented tasks.json schema and known-good extension examples"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9d272b036335401f339d024ea94968fd51016c40","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}