Skip to content

fix(health): update health status method to handle persistent instances correctly#14635

Merged
KomachiSion merged 1 commit into
alibaba:developfrom
KomachiSion:develop#14600
Mar 19, 2026
Merged

fix(health): update health status method to handle persistent instances correctly#14635
KomachiSion merged 1 commit into
alibaba:developfrom
KomachiSion:develop#14600

Conversation

@KomachiSion

Copy link
Copy Markdown
Collaborator

Fix #14600

Please do not create a Pull Request without creating an issue first.

What is the purpose of the change

XXXXX

Brief changelog

XX

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean package apache-rat:check spotbugs:check -DskipTests to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass.

@KomachiSion KomachiSion added kind/bug Category issues or prs related to bug. area/Naming labels Mar 19, 2026
@github-actions

Copy link
Copy Markdown

Thanks for your this PR. 🙏
Please check again for your PR changes whether contains any usage/api/configuration change such as Add new API , Add new configuration, Change default value of configuration.
If so, please add or update documents(markdown type) in docs/next/ for repository nacos-group/nacos-group.github.io


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式/API/配置参数的变更,如:新增API新增配置参数修改默认配置等操作。
如果是,请确保在提交之前,在仓库nacos-group/nacos-group.github.io中的docs/next/目录下添加或更新文档(markdown格式)。

@KomachiSion KomachiSion modified the milestones: 3.2.0, 3.1.2 Mar 19, 2026
@KomachiSion
KomachiSion merged commit 35c58e6 into alibaba:develop Mar 19, 2026
4 checks passed
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wuyfee

wuyfee commented Mar 19, 2026

Copy link
Copy Markdown

$\color{red}{FAILURE}$
DETAILS
✅ - docker: success
❌ - deploy (standalone & cluster & standalone_auth): failure
❌ - e2e-java-test (standalone & cluster & standalone_auth): skipped
❌ - e2e-go-test (standalone & cluster): skipped
❌ - e2e-cpp-test (standalone & cluster): skipped
❌ - e2e-csharp-test (standalone & cluster): skipped
❌ - e2e-nodejs-test (standalone & cluster): skipped
❌ - e2e-python-test (standalone & cluster): skipped
✅ - clean (standalone & cluster & standalone_auth): success

@KomachiSion
KomachiSion deleted the develop#14600 branch March 19, 2026 07:29
KomachiSion added a commit that referenced this pull request Mar 19, 2026
* Add core coverage (#14608)

* test(core-utils): remove unused method and add comprehensive unit tests.

* test(web): add unit tests for NacosCoreWebConfiguration and NacosWebServerListener。

* test(core): add unit tests for parts of remote package.

* add core unit test coverage (#14618)

* test(core): add unit tests for plugin forms and prompt request extractor.

* test(core): add unit tests for remote param check and connection ejector.

* fix(naming): 添加分页参数验证 (#14616)

- 在实例列表查询接口中增加 pageForm.validate() 验证调用
- 确保分页参数在处理前进行有效性检查

* test(auth): add and improve unit tests for auth module. (#14619)

* [ISSUE #14622] fix: exclude json-schema-validator 3.0.0 from agentscope-core to resolve NoClassDefFoundError (#14625)

agentscope-core:1.0.7 directly depends on json-schema-validator:3.0.0 (Jackson 3),
which overrides the 1.5.7 version required by mcp-json-jackson2:0.14.1 (Jackson 2).
This causes NoClassDefFoundError for SpecVersion$VersionFlag when using the
'Auto import from MCP Server' feature, since SpecVersion.VersionFlag was renamed
to SpecificationVersion in json-schema-validator 2.0.0+.

Excluding json-schema-validator from agentscope-core allows mcp's transitive
dependency (1.5.7) to take effect, resolving the conflict.

* test(consistency): add unit tests for serializers, processors and utils. (#14628)

* fix(health): update health status method to handle persistent instances correctly (#14635)

* Refactor database plugins and update CI report paths (#14640)

* refactor(plugin): Refactor default database plugin, split database plugins and move depend jdbc to plugins dir.

* fix(ci): update JaCoCo report paths for datasource plugins in CI workflow

* fix(pom): update maven-antrun-plugin version and correct task tags

* chore(db): remove derby and mysql schemas, add AI resource mappers.

---------

Co-authored-by: Lichenkang <2188718831@qq.com>
Co-authored-by: Sunrisea <1336317033@qq.com>
KomachiSion added a commit that referenced this pull request Mar 19, 2026
* Add core coverage (#14608)

* test(core-utils): remove unused method and add comprehensive unit tests.

* test(web): add unit tests for NacosCoreWebConfiguration and NacosWebServerListener。

* test(core): add unit tests for parts of remote package.

* add core unit test coverage (#14618)

* test(core): add unit tests for plugin forms and prompt request extractor.

* test(core): add unit tests for remote param check and connection ejector.

* fix(naming): 添加分页参数验证 (#14616)

- 在实例列表查询接口中增加 pageForm.validate() 验证调用
- 确保分页参数在处理前进行有效性检查

* test(auth): add and improve unit tests for auth module. (#14619)

* [ISSUE #14622] fix: exclude json-schema-validator 3.0.0 from agentscope-core to resolve NoClassDefFoundError (#14625)

agentscope-core:1.0.7 directly depends on json-schema-validator:3.0.0 (Jackson 3),
which overrides the 1.5.7 version required by mcp-json-jackson2:0.14.1 (Jackson 2).
This causes NoClassDefFoundError for SpecVersion$VersionFlag when using the
'Auto import from MCP Server' feature, since SpecVersion.VersionFlag was renamed
to SpecificationVersion in json-schema-validator 2.0.0+.

Excluding json-schema-validator from agentscope-core allows mcp's transitive
dependency (1.5.7) to take effect, resolving the conflict.

* test(consistency): add unit tests for serializers, processors and utils. (#14628)

* fix(health): update health status method to handle persistent instances correctly (#14635)

* Refactor database plugins and update CI report paths (#14640)

* refactor(plugin): Refactor default database plugin, split database plugins and move depend jdbc to plugins dir.

* fix(ci): update JaCoCo report paths for datasource plugins in CI workflow

* fix(pom): update maven-antrun-plugin version and correct task tags

* chore(db): remove derby and mysql schemas, add AI resource mappers.

---------

Co-authored-by: Lichenkang <2188718831@qq.com>
Co-authored-by: Sunrisea <1336317033@qq.com>
KomachiSion added a commit that referenced this pull request Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/Naming kind/bug Category issues or prs related to bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nacos3.1.1 update health status not work: /nacos/v3/admin/ns/health/instance

3 participants