Skip to content

Fix engine#804

Merged
bijinfeng merged 4 commits into
iflytek:mainfrom
bijinfeng:fix-engine
Jun 10, 2026
Merged

Fix engine#804
bijinfeng merged 4 commits into
iflytek:mainfrom
bijinfeng:fix-engine

Conversation

@bijinfeng

@bijinfeng bijinfeng commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

📝 Pull Request 描述 | Description

🎯 变更类型 | Change Type

  • ✨ 新功能 | New Feature
  • 🐛 Bug 修复 | Bug Fix
  • 📚 文档更新 | Documentation
  • 🎨 代码格式/样式 | Code Style
  • ♻️ 重构 | Refactoring
  • ⚡ 性能优化 | Performance
  • ✅ 测试相关 | Tests
  • 🔧 配置变更 | Configuration
  • 🔨 构建/CI | Build/CI
  • 🌐 国际化 | Internationalization
  • ⬆️ 依赖升级 | Dependencies Update

🔗 相关 Issue | Related Issues

  • Closes #
  • Related to #

📋 变更内容 | Changes Made

主要变更 | Main Changes

技术细节 | Technical Details


🧪 测试 | Testing

测试环境 | Test Environment

  • Windows 10/11
  • Linux
  • macOS
  • Docker

测试步骤 | Test Steps

测试结果 | Test Results


📸 截图/录屏 | Screenshots/Recordings

变更前 | Before

变更后 | After


⚠️ 破坏性变更 | Breaking Changes

  • 此 PR 包含破坏性变更 | This PR contains breaking changes
破坏性变更详情 | Breaking Changes Details

✅ 检查清单 | Checklist

代码质量 | Code Quality

  • 代码遵循项目的编码规范 | Code follows project coding standards
  • 已进行自我代码审查 | Self-reviewed the code
  • 代码有适当的注释(特别是复杂逻辑)| Code has appropriate comments (especially for complex logic)
  • 更新了相关文档 | Updated relevant documentation
  • 没有产生新的警告 | No new warnings generated

测试 | Testing

  • 添加了相应的测试用例 | Added corresponding test cases
  • 所有测试通过 | All tests pass
  • 手动测试验证通过 | Manual testing verification passed

文档 | Documentation

  • 更新了 README(如需要)| Updated README (if needed)
  • 更新了 API 文档(如需要)| Updated API documentation (if needed)
  • 更新了用户指南(如需要)| Updated user guide (if needed)
  • 更新了 CHANGELOG(如需要)| Updated CHANGELOG (if needed)

其他 | Others

  • 已与相关利益方沟通 | Communicated with relevant stakeholders
  • 不影响现有功能 | Does not affect existing functionality
  • 考虑了向后兼容性 | Considered backward compatibility
  • 考虑了性能影响 | Considered performance impact
  • 考虑了安全性 | Considered security

📌 额外说明 | Additional Notes


🙏 致谢 | Acknowledgements


📖 提示 | Tips:

  • 确保 PR 标题简洁明了,使用动词开头(例如:Add, Fix, Update, Remove)
  • Ensure PR title is concise and clear, starting with a verb (e.g., Add, Fix, Update, Remove)
  • 尽量保持 PR 的改动范围小而集中,便于审查
  • Try to keep PR changes small and focused for easier review
  • 遵循项目的分支管理策略
  • Follow the project's branch management strategy

/cc @maintainers

- Added new dependencies in pnpm-workspace.yaml including vue-router and lodash-es.
- Configured allowBuilds for specific packages to control build behavior.
- Updated remote address in conf.yaml to use the new API endpoint.
- Changed app_auth_type from casdoor to uap for authentication.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces localization updates across English and Chinese locales, updates dependency configurations to utilize the pnpm workspace catalog, and refactors the server process startup to use spawn instead of exec. Feedback highlights a critical issue with a non-existent lodash version in electron-app/package.json that will cause installation failures. Additionally, it is recommended to centralize shared dependencies like i18next, i18next-vue, crypto-js, and dayjs into the workspace catalog to prevent version drift and maintain consistency.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

"electron-log": "^5.4.3",
"electron-updater": "^6.7.3",
"lodash-es": "^4.17.21",
"lodash": "^4.18.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The dependency lodash specifies version ^4.18.1, which does not exist on npm. The latest stable version of lodash is 4.17.21. Specifying a non-existent version will cause installation and resolution failures during pnpm install.

Please downgrade/update this to a valid version like ^4.17.21.

Suggested change
"lodash": "^4.18.1",
"lodash": "^4.17.21",

Comment on lines +84 to +85
"i18next": "^25.3.6",
"i18next-vue": "^5.3.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The peer dependencies i18next and i18next-vue are also used in frontend/packages/web-app/package.json with the exact same versions. To prevent version drift and maintain a single source of truth across the monorepo, these dependencies should be moved to the central catalog in frontend/pnpm-workspace.yaml and referenced using the catalog: protocol.

Additionally, since these are peer dependencies, they should also be added to devDependencies of @rpa/components to ensure they are available during local development and isolated builds.

Suggested change
"i18next": "^25.3.6",
"i18next-vue": "^5.3.0"
"i18next": "catalog:",
"i18next-vue": "catalog:"

tailwind-merge: ^3.4.0
tailwindcss: "^3.4.4"
tsdown: "^0.20.1"
lodash-es: "^4.17.21"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider adding other shared dependencies like crypto-js, dayjs, i18next, and i18next-vue to the central catalog in pnpm-workspace.yaml. Currently, there is a version mismatch for dayjs (^1.11.19 in components vs ^1.11.18 in web-app), and crypto-js is duplicated across multiple packages. Centralizing them in the catalog will prevent version drift and simplify dependency updates.

  lodash-es: "^4.17.21"
  i18next: "^25.3.6"
  i18next-vue: "^5.3.0"
  crypto-js: "^4.2.0"
  dayjs: "^1.11.19"

@bijinfeng bijinfeng merged commit fe4d462 into iflytek:main Jun 10, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant