Skip to content

🀯 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.

πŸ› fix(ci): restore release metadata sync and dispatch on main (#19424)

AmAzing-3bb887ca4c34
diff --git a/.github/workflows/auto-tag-release.yml b/.github/workflows/auto-tag-release.yml
index a85471f8ab8..3c7fd0786ab 100644
--- a/.github/workflows/auto-tag-release.yml
+++ b/.github/workflows/auto-tag-release.yml
@@ -221,7 +221,7 @@ jobs:
- name: Sync main to canary
if: env.SHOULD_TAG == 'true' && steps.check-tag.outputs.exists == 'false'
run: |
- gh workflow run sync-main-to-canary.yaml
+ gh workflow run sync-main-to-canary.yaml --ref main
echo "βœ… Dispatched sync-main-to-canary workflow"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 951837bab11..72f52e31ebe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,39 @@
# Changelog
+## [Version 2.2.16](https://github.com/lobehub/lobe-chat/compare/v2.2.16-canary.28...v2.2.16)
+
+<sup>Released on **2026-09-04**</sup>
+
+#### πŸ› Bug Fixes
+
+- **heterogeneous-agent**: preserve TRAE auth for model bindings.
+
+#### ✨ Features
+
+- **misc**: relax workspace resource management.
+
+<br/>
+
+<details>
+<summary><kbd>Improvements and Fixes</kbd></summary>
+
+#### What's fixed
+
+- **heterogeneous-agent**: preserve TRAE auth for model bindings, closes [#18932](https://github.com/lobehub/lobe-chat/issues/18932) ([08a22e1](https://github.com/lobehub/lobe-chat/commit/08a22e1))
+
+#### What's improved
+
+- **misc**: relax workspace resource management, closes [#19107](https://github.com/lobehub/lobe-chat/issues/19107) ([29da6a6](https://github.com/lobehub/lobe-chat/commit/29da6a6))
+
+</details>
+
+<div align="right">
+
+[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
+
+</div>
+
## [Version 2.2.11](https://github.com/lobehub/lobe-chat/compare/v2.2.11-canary.67...v2.2.11)
<sup>Released on **2026-07-23**</sup>
diff --git a/changelog/v2.json b/changelog/v2.json
index 90abf1ec630..aaa87c304cc 100644
--- a/changelog/v2.json
+++ b/changelog/v2.json
@@ -1,4 +1,11 @@
[
+ {
+ "children": {
+ "features": ["relax workspace resource management."]
+ },
+ "date": "2026-09-04",
+ "version": "2.2.16"
+ },
{
"children": {
"fixes": [
diff --git a/package.json b/package.json
index f204830dbb9..b977ad54968 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@lobehub/lobehub",
- "version": "2.2.14",
+ "version": "2.2.16",
"description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
"keywords": [
"framework",
diff --git a/tests/github-scripts/releaseSyncWorkflow.test.ts b/tests/github-scripts/releaseSyncWorkflow.test.ts
new file mode 100644
index 00000000000..3a8ac2bf761
--- /dev/null
+++ b/tests/github-scripts/releaseSyncWorkflow.test.ts
@@ -0,0 +1,48 @@
+// @vitest-environment node
+import { execFile } from 'node:child_process';
+import { readFile } from 'node:fs/promises';
+import path from 'node:path';
+import { promisify } from 'node:util';
+
+import { parse } from 'yaml';
+
+interface Workflow {
+ jobs: Record<string, { steps: { name: string; run?: string }[] }>;
+}
+
+describe('Release branch synchronization', () => {
+ it('dispatches the post-release sync on main even when the default branch is canary', async () => {
+ const workflow: Workflow = parse(
+ await readFile(path.resolve(process.cwd(), '.github/workflows/auto-tag-release.yml'), 'utf8'),
+ );
+ const step = workflow.jobs['auto-tag'].steps.find(({ name }) => name === 'Sync main to canary');
+
+ expect(step?.run).toBeDefined();
+ if (!step?.run) throw new Error('Missing post-release sync command');
+
+ // Mock the GitHub CLI boundary: omitting --ref selects the repository default.
+ const { stdout } = await promisify(execFile)('bash', [
+ '-eu',
+ '-c',
+ `
+gh() {
+ test "$1" = workflow && test "$2" = run
+ test "$3" = sync-main-to-canary.yaml
+ shift 3
+ local ref=canary
+ while [ "$#" -gt 0 ]; do
+ case "$1" in
+ --ref) ref="$2"; shift 2 ;;
+ *) return 1 ;;
+ esac
+ done
+ printf 'SYNC_REF=%s\\n' "$ref"
+}
+${step.run}
+`,
+ ]);
+
+ expect(stdout).toContain('SYNC_REF=main\n');
+ expect(stdout).not.toContain('SYNC_REF=canary\n');
+ });
+});