Skip to content

fix(changeset): unblock release by dropping private kimi-code-docs from web-search changeset - #1270

Merged
RealKai42 merged 1 commit into
mainfrom
fix/changeset-remove-ignored-docs
Jul 1, 2026
Merged

fix(changeset): unblock release by dropping private kimi-code-docs from web-search changeset#1270
RealKai42 merged 1 commit into
mainfrom
fix/changeset-remove-ignored-docs

Conversation

@RealKai42

Copy link
Copy Markdown
Collaborator

背景

main 分支的 Release workflow 在 changeset version 步骤失败(run):

Found mixed changeset web-search-query-only
Found ignored packages: kimi-code-docs
Found not ignored packages: @moonshot-ai/agent-core
Mixed changesets that contain both ignored and not ignored packages are not allowed

根因

#1260 合入的 .changeset/web-search-query-only.md 同时声明了:

  • @moonshot-ai/agent-core(公开包,参与发布)
  • kimi-code-docs(private: true 且无 version 字段 → changesets 隐式视为 ignored)

changesets 不允许同一个 changeset 混合 ignored 与非 ignored 包,导致整个 release 卡住,连带其它待发布的 changeset 一起被阻塞。

修复

从该 changeset 中移除 kimi-code-docs 一行,仅保留 @moonshot-ai/agent-core。私有文档站从不发布、无需 changelog,本就不应出现在 changeset 中。

验证

changeset status 已能干净解析,不再报 mixed changeset 错误:

Packages to be bumped at minor:
- @moonshot-ai/agent-core

… to unblock release

The web-search-query-only changeset mixed @moonshot-ai/agent-core (published)
with kimi-code-docs, a private package without a version field that changesets
treats as ignored. Changesets rejects any changeset containing both ignored and
non-ignored packages, which broke the Release workflow's version step. Drop the
private docs entry; it never publishes and needs no changelog.
@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1527757

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 4 packages
Name Type
@moonshot-ai/agent-core Minor
@moonshot-ai/acp-adapter Patch
@moonshot-ai/migration-legacy Patch
@moonshot-ai/server Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 1, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@1527757
npx https://pkg.pr.new/@moonshot-ai/kimi-code@1527757

commit: 1527757

@RealKai42
RealKai42 merged commit ffe41ac into main Jul 1, 2026
10 checks passed
@RealKai42
RealKai42 deleted the fix/changeset-remove-ignored-docs branch July 1, 2026 11:28
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