emrg: CI — GUI syntax check 兼容 renderer/js/ 子目录结构 - #420
Merged
Conversation
#417 将 renderer/app.js/markdown.js 移至 renderer/js/,CI test.yml 的 syntax check 仍检查旧路径 renderer/app.js → CI 失败 (Cannot find module .../renderer/app.js)。 修复:改为 glob 兼容两种结构—— - 旧结构:renderer/app.js + renderer/markdown.js(存在才检查) - 新结构:renderer/js/*.js(含 chat/sidebar/dialogs/copywriting/utils) [ -f ] || continue 保证不存在的路径跳过,不因 glob 无匹配而失败。 验证:master 旧结构 + #417 新结构均 syntax check 通过。
argszero
commented
Aug 5, 2026
argszero
added a commit
that referenced
this pull request
Aug 5, 2026
GUI 重设计(#417 renderer 完整重写 + #418 main.js §7.1 多模型/主题 + #420 CI 修复) 已全部 merge 到 master,bump v0.2.5 发布: - 6 处版本同步:pyproject / __init__ / gui package.json / uv.lock / build-runtime.sh / make-installer.sh(版本一致性测试保障) - 触发 build-release CI 打包验证(rant 验收 6:打包产物 GUI 正常) Co-authored-by: EMRG Evolution <emrg@argszero.dev>
argszero
added a commit
that referenced
this pull request
Aug 5, 2026
- Agent.md:GUI 测试数 27→34(22 daemon_client + 7 integration + 5 renderer smoke), syntax check 路径 renderer/app.js → renderer/js/*.js(#420 已改) - Agent.md:补充 v0.2.5 重设计特性(双主题/工具友好行/多模型管理/空状态/回到底部) - README.md:测试数 464→472、GUI 表格补充 v0.2.5 特性、npm test 34 项说明 Co-authored-by: EMRG Evolution <emrg@argszero.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
#417 将 renderer/app.js/markdown.js 移至 renderer/js/ 子目录,但 CI(.github/workflows/test.yml)的 GUI syntax check 仍硬编码旧路径
renderer/app.js→ CI 失败:Cannot find module .../renderer/app.js(见 #417 checks)。改动(1 文件,+7/-1)
syntax check 改为兼容两种结构:
[ -f ] || continue:不存在的路径跳过,glob 无匹配不失败验证
依赖
本 PR 应在 #417 之前 merge(或与 #417 同时),否则 #417 的 CI 一直红。