{"record":{"id":"711a8613b32411fd","repo":"different-ai/openwork","slug":"target-update-manifest-did-not-resolve-to-v-targe","errorCode":null,"errorMessage":"Target update manifest did not resolve to v${targetVersion}.","messagePattern":"Target update manifest did not resolve to v(.+?)\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"apps/desktop/electron/updater.mjs","lineNumber":642,"sourceCode":"      : normalizeElectronUpdaterChannel(rawChannel, manifestChannel);\n    const updater = await ensureAutoUpdater();\n    try {\n      const targetVersion = rawTargetVersion === undefined\n        ? null\n        : normalizeStableTargetVersion(rawTargetVersion);\n      if (rawTargetVersion !== undefined && !targetVersion) {\n        throw new Error(\"Target update version must use the stable x.y.z format.\");\n      }\n      const channelState = updater\n        ? await applyElectronUpdaterFeed(app, updater, targetVersion, manifestChannel, false, channel)\n        : updaterChannelState(app, channel, targetVersion, manifestChannel);\n      if (!updater) return { available: false, reason: \"unavailable\", ...channelState };\n\n      const result = await updater.checkForUpdates();\n      const info = result?.updateInfo ?? null;\n      const currentVersion = resolveAppVersion(app);\n      if (targetVersion && compareVersions(info?.version ?? \"\", targetVersion) !== 0) {\n        throw new Error(`Target update manifest did not resolve to v${targetVersion}.`);\n      }\n      const available = Boolean(info?.version && isVersionNewer(info.version, currentVersion));\n      checkedUpdateVersion = available ? info.version : null;\n      checkedUpdateTargetVersion = available ? targetVersion : null;\n      checkedUpdateChannel = available ? channelState.channel : null;\n      if (!available) updateDownloaded = false;\n      return {\n        available,\n        currentVersion,\n        latestVersion: targetVersion ?? info?.version ?? null,\n        releaseDate: info?.releaseDate ?? null,\n        releaseNotes: info?.releaseNotes ?? null,\n        ...channelState,\n      };\n    } catch (error) {\n      checkedUpdateVersion = null;\n      checkedUpdateTargetVersion = null;\n      checkedUpdateChannel = null;","sourceCodeStart":624,"sourceCodeEnd":660,"githubUrl":"https://github.com/different-ai/openwork/blob/2b7df46e8ae1517d64c896c7793d2d52ec845669/apps/desktop/electron/updater.mjs#L624-L660","documentation":"Error \"Target update manifest did not resolve to v${targetVersion}.\" thrown in different-ai/openwork.","triggerScenarios":"Thrown at apps/desktop/electron/updater.mjs:642 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2b7df46e8ae1517d64c896c7793d2d52ec845669","analyzedAt":"2026-09-01T07:59:23.713Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}