Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: preserve upstream owner for fork comparisons
[._.]/ Adam Eivyd35e65dc9379
diff --git a/server/services/managedAppRepositories.js b/server/services/managedAppRepositories.jsindex 439898953c..db377cf9a6 100644--- a/server/services/managedAppRepositories.js+++ b/server/services/managedAppRepositories.js@@ -186,7 +186,12 @@ async function inspectCheckout({ id, label, repoPath }) {shortHead: originHead?.slice(0, 7) || null,},upstream: topology.upstream- ? { fullName: topology.upstream.fullName, branch: topology.upstream.branch, host: topology.upstream.host }+ ? {+ fullName: topology.upstream.fullName,+ owner: topology.upstream.owner,+ branch: topology.upstream.branch,+ host: topology.upstream.host,+ }: null,localVsOrigin: countsResult ? parseRevisionCounts(countsResult) : null,remoteFresh: fetchResult.fresh,diff --git a/server/services/managedAppRepositories.test.js b/server/services/managedAppRepositories.test.jsindex cd2c24de06..79805c0219 100644--- a/server/services/managedAppRepositories.test.js+++ b/server/services/managedAppRepositories.test.js@@ -117,6 +117,16 @@ describe('managed app repository topology', () => {forkVsUpstream: { ahead: 0, behind: 2, state: 'behind' },}],});+ expect(mock.execGh).toHaveBeenCalledWith(+ [+ 'api',+ 'repos/example-org/example-app/compare/example-org%3Amain...example-owner%3Amain',+ '--jq',+ '{status: .status, ahead: .ahead_by, behind: .behind_by}',+ ],+ 60000,+ expect.objectContaining({ cwd: REPO }),+ );expect(JSON.stringify(result)).not.toContain(REPO);});