🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
👷 ci(desktop): preserve merge SHA in release PR checks (#23704)
Inneid60d089f040c
diff --git a/.github/scripts/desktopReleaseGithub.mjs b/.github/scripts/desktopReleaseGithub.mjsindex ae42dbfd15e..9be865ad168 100644--- a/.github/scripts/desktopReleaseGithub.mjs+++ b/.github/scripts/desktopReleaseGithub.mjs@@ -208,7 +208,12 @@ export function createGithubStore(options) {return delivered;},async assertReleasePr(intent) {- const pr = await (await request(`${root}/pulls/${intent.prNumber}`)).json();+ // GitHub removed merge_commit_sha from pull request responses in 2026-03-10.+ const pr = await (+ await request(`${root}/pulls/${intent.prNumber}`, {+ headers: { 'X-GitHub-Api-Version': '2022-11-28' },+ })+ ).json();if (pr.number !== intent.prNumber ||pr.merged !== true ||diff --git a/.github/scripts/desktopReleaseTestUtils.mjs b/.github/scripts/desktopReleaseTestUtils.mjsindex ae8287bca13..2592d453a44 100644--- a/.github/scripts/desktopReleaseTestUtils.mjs+++ b/.github/scripts/desktopReleaseTestUtils.mjs@@ -103,7 +103,10 @@ export async function startGithubFixture() {}if (route.startsWith('/pulls/')) {const pr = state.pullRequest;- return json(response, pr ? 200 : 404, pr || { message: 'not found' });+ if (!pr) return json(response, 404, { message: 'not found' });+ const payload = { ...pr };+ if (request.headers['x-github-api-version'] !== '2022-11-28') delete payload.merge_commit_sha;+ return json(response, 200, payload);}return json(response, 404, { message: `Unknown fixture route ${route}` });});