Skip to content

The agent that grows with you

test(desktop): the source hand-off fixture publishes stable as GitHub's latest release

Tekniumc300c295c132
diff --git a/apps/desktop/electron/updater/checkout-source.test.ts b/apps/desktop/electron/updater/checkout-source.test.ts
index 3d273b3e5b8..fda3512b1ed 100644
--- a/apps/desktop/electron/updater/checkout-source.test.ts
+++ b/apps/desktop/electron/updater/checkout-source.test.ts
@@ -266,6 +266,12 @@ it('carries each install channel from Python publication checks into the source
responses.set(`/repos/NousResearch/hermes-agent/commits/${tags[channel]}`, { sha })
}
+ // Stable is GitHub's latest published release; R2 holds no stable record.
+ responses.set('/repos/NousResearch/hermes-agent/releases/latest', {
+ tag_name: tags.stable,
+ draft: false,
+ prerelease: false
+ })
responses.set('/releases/stable/release-candidates.json', { tag: tags.stable, commit: commits[1] })
// The 'main' subscription is a source-branch channel record under the R2 protocol.
responses.set(