feat(desktop): add Electron shell lifecycle (#923)

* feat(desktop): add Electron shell lifecycle

Signed-off-by: QCYTSN <2558348385@qq.com>

* docs(desktop): document shell security boundary

Signed-off-by: QCYTSN <2558348385@qq.com>

* fix(desktop): address shell lifecycle review

Signed-off-by: QCYTSN <2558348385@qq.com>

* fix(desktop): constrain backend executable resolution

Signed-off-by: QCYTSN <2558348385@qq.com>

---------

Signed-off-by: QCYTSN <2558348385@qq.com>
This commit is contained in:
Gao Fengkai authored and GitHub committed 2026-08-08 16:23:26 +08:00
1 parent 6c44732818
commit 832b2c9efd
19 files changed
+2197

No files matched your search

+38
View File
@@ -123,3 +123,41 @@ jobs:
agent/tests/test_background_tools.py
agent/tests/test_bash_tool.py
-q
desktop-electron-windows:
name: Windows desktop source lifecycle
runs-on: windows-2025
timeout-minutes: 30
steps:
# actions/checkout v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
# actions/setup-python v7.0.0
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: "3.12"
architecture: x64
cache: pip
# actions/setup-node v7.0.0
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
with:
node-version: "22"
cache: npm
cache-dependency-path: desktop/electron/package-lock.json
- name: Install Vibe-Trading source backend
run: python -m pip install -e .
- name: Install desktop dependencies
working-directory: desktop/electron
run: npm ci
- name: Build desktop shell
working-directory: desktop/electron
run: npm run build
- name: Run desktop lifecycle and parent-death smoke tests
working-directory: desktop/electron
run: npm run smoke:lifecycle