{"record":{"id":"d69b60798cecb1ee","repo":"Kong/insomnia","slug":"already-up-to-date","errorCode":null,"errorMessage":"Already up to date","messagePattern":"Already up to date","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/insomnia-vcs/src/vcs.ts","lineNumber":771,"sourceCode":"  async push({ teamId, teamProjectId }: { teamId: string; teamProjectId: string }) {\n    await this._getOrCreateRemoteBackendProject({ teamId, teamProjectId });\n    const branch = await this._getCurrentBranch();\n    // Check branch history to make sure there are no conflicts\n    let lastMatchingIndex = 0;\n    const remoteBranch: Branch | null = await this._queryBranch(branch.name);\n    const remoteBranchSnapshots = remoteBranch ? remoteBranch.snapshots : [];\n\n    for (; lastMatchingIndex < remoteBranchSnapshots.length; lastMatchingIndex++) {\n      if (remoteBranchSnapshots[lastMatchingIndex] !== branch.snapshots[lastMatchingIndex]) {\n        throw new Error('Remote history conflict. Please pull latest changes and try again');\n      }\n    }\n\n    // Get the remaining snapshots to push\n    const snapshotIdsToPush = branch.snapshots.slice(lastMatchingIndex);\n\n    if (snapshotIdsToPush.length === 0) {\n      throw new Error('Already up to date');\n    }\n\n    // Gather a list of snapshot state entries to push\n    const allBlobIds = new Set<string>();\n    const snapshots: Snapshot[] = [];\n\n    for (const id of snapshotIdsToPush) {\n      const snapshot = await this._assertSnapshot(id);\n      snapshots.push(snapshot);\n\n      for (const entry of snapshot.state) {\n        allBlobIds.add(entry.blob);\n      }\n    }\n\n    // Figure out which blobs the backend is missing\n    const missingIds = await this._queryBlobsMissing(Array.from(allBlobIds));\n    await this._queryPushBlobs(missingIds);","sourceCodeStart":753,"sourceCodeEnd":789,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia-vcs/src/vcs.ts#L753-L789","documentation":"Error \"Already up to date\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia-vcs/src/vcs.ts:771 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":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}