Skip to content

chore: upgrade opensumi to 3.8.3#286

Closed
Ricbet wants to merge 3 commits intomainfrom
v2.6
Closed

chore: upgrade opensumi to 3.8.3#286
Ricbet wants to merge 3 commits intomainfrom
v2.6

Conversation

@Ricbet
Copy link
Member

@Ricbet Ricbet commented Dec 18, 2025

Types

  • 🎉 New Features
  • 🐛 Bug Fixes
  • 📚 Documentation Changes
  • 💄 Code Style Changes
  • 💄 Style Changes
  • 🪚 Refactors
  • 🚀 Performance Improvements
  • 🏗️ Build System
  • ⏱ Tests
  • 🧹 Chores
  • Other Changes

Background or solution

ChangeLog

Summary by CodeRabbit

版本更新

  • Chores
    • 各子包发布版本统一升级到 3.6.0。
    • 根配置版本调整为 2.6.0(包括 lerna 配置)。
    • OpenSumi 框架及相关依赖同步升级至 3.8.3-next 系列。
    • 构建/工具配置中的 OpenSumi 版本常量一并更新。

✏️ Tip: You can customize this high-level summary in your review settings.

@Ricbet Ricbet requested a review from hacke2 December 18, 2025 05:42
@coderabbitai
Copy link

coderabbitai bot commented Dec 18, 2025

📝 Walkthrough

Walkthrough

将仓库中多个包的版本与 OpenSumi 相关常量统一升级:顶层和若干子包的 version2.5.1 提升为 3.6.0(顶层新增 version: "2.6.0"),并将 engines.opensumi / __OPENSUMI_VERSION__3.7.2-next-1741226843.0 升级至 3.8.3-next-1744195855.0,同时同步若干 @opensumi/* 依赖版本。

Changes

Cohort / File(s) 变更摘要
根目录元数据
package.json, lerna.json
顶层 package.json 新增/设置 version: "2.6.0"lerna.jsonversion2.5.1 升至 2.6.0
各包版本统一升级
packages/cli/package.json, packages/code-api/package.json, packages/code-service/package.json, packages/common/package.json, packages/i18n/package.json, packages/plugin/package.json, packages/registry/package.json, packages/startup/package.json, packages/toolkit/package.json, packages/sumi-core/package.json, ...(若干 packages/*/package.json)
多个包的 version2.5.1 升至 3.6.0packages/cli3.6.0
OpenSumi 引擎与常量升级
package.json, packages/cli/package.json, packages/toolkit/define.json
engines.opensumi__OPENSUMI_VERSION__3.7.2-next-1741226843.0 升级为 3.8.3-next-1744195855.0
@opensumi/ 依赖同步升级*
packages/cli/package.json, packages/core/package.json, packages/sumi-core/package.json, ...(若干 packages 下的依赖)
将多个 @opensumi/* 依赖版本从 3.7.2-next-1741226843.0 升级至 3.8.3-next-1744195855.0(涉及多数 opensumi 组件)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 分钟

  • 需重点核对:
    • packages/core/package.json / packages/sumi-core/package.json 中大量 @opensumi/* 依赖是否全部一致且无遗漏;
    • 顶层 package.jsonpackages/cli/package.jsonpackages/toolkit/define.json 中 OpenSumi 版本的一致性;
    • 发布版本号变更是否与发布/构建脚本或 CI 配置保持同步(若存在相关 CI 配置,需另外检查)。

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and accurately describes the main change: upgrading OpenSumi dependency from 3.7.2 to 3.8.3 across multiple packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch v2.6

📜 Recent review details

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7c8a33c and c947721.

📒 Files selected for processing (1)
  • package.json (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


sarah.wangxj seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 962b052 and 7c8a33c.

📒 Files selected for processing (1)
  • lerna.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: unittest (ubuntu-latest, 18.x)
  • GitHub Check: unittest (ubuntu-latest, 18.x)

{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "2.5.1"
"version": "2.6.0"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check lerna.json configuration and all package.json versions

echo "=== lerna.json content ==="
cat -n lerna.json 2>/dev/null || echo "lerna.json not found"

echo ""
echo "=== Versioning Mode Detection ==="
if grep -q '"version"\s*:\s*"independent"' lerna.json 2>/dev/null; then
  echo "✓ Independent mode detected (version field is 'independent')"
else
  echo "✓ Fixed mode detected (version field has numeric value)"
  lerna_version=$(jq -r '.version' lerna.json 2>/dev/null)
  echo "  lerna.json version: $lerna_version"
fi

echo ""
echo "=== Checking all package.json versions ==="
# Find all package.json files and extract versions
fd -t f '^package\.json$' -x sh -c '
  version=$(jq -r ".version // \"N/A\"" "$1" 2>/dev/null)
  echo "$1: $version"
' sh {} \; | sort

Repository: opensumi/codeblitz

Length of output: 875


🏁 Script executed:

#!/bin/bash
# Show git diff for lerna.json to see what changed
echo "=== Git diff for lerna.json ==="
git diff HEAD~1 lerna.json 2>/dev/null || echo "Could not retrieve git diff"

echo ""
echo "=== Recent changes to package.json files (if any) ==="
git diff --name-only HEAD~1 | grep package.json | head -10 || echo "No recent package.json changes detected"

Repository: opensumi/codeblitz

Length of output: 380


修复 Lerna 固定模式下的版本不一致问题

在固定模式下,所有受影响的包应使用相同的版本。当前 lerna.json 的版本设置为 "2.6.0",但所有 package.json 文件的版本均为 "3.6.0"。这造成了 1.0.0 的版本偏差,会导致发布和版本管理问题。

需要更新 lerna.json 中的版本号为 "3.6.0" 以匹配所有包的版本。

🤖 Prompt for AI Agents
In lerna.json around line 3, the repository is using Lerna fixed mode but the
version field is "2.6.0" while all package.json files use "3.6.0"; update the
"version" value in lerna.json to "3.6.0" so the root Lerna version matches all
package versions and prevents release/versioning inconsistencies.

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.

3 participants