imbajin opened a new pull request, #3333:
URL: https://github.com/apache/hugegraph/pull/3333
## Purpose of the PR
Arthas 3.7.1 can fail one-time command cleanup when its foreground process
is already TERMINATED. Update Server diagnostics to 4.1.5, which includes the
upstream terminal-interrupt, null-foreground and disabled-MCP HTTP fixes.
## Main Changes
- Preserve the configured HTTP/telnet endpoints and the original four-field
activation response; disable the optional MCP endpoint internally.
- Keep one-time execution and add strict execution, session removal and
MCP-disabled regression checks.
- Update runtime documentation, the actual dependency inventory and embedded
license/notice coverage.
## Verifying these changes
- [x] Need tests and can be verified as follows:
- `ArthasApiTest` passed against the actual packaged RocksDB Server on
macOS arm64 / Java 17, including authenticated activation, execution, session
removal and `/mcp` HTTP 404.
- Real-library terminal-state controls and native HTTP/session checks
passed. The controlled state reproduces the old cleanup failure; the exact CI
scheduling interleaving was not reproduced.
- EditorConfig formatting, root clean compile/install and dependency
inventory regeneration passed. The final license-only archive was read back
byte-for-byte.
## Does this PR potentially affect the following parts?
- [x] Dependencies ([license
updates](https://github.com/hugegraph/hugegraph/blob/fix/server-arthas-terminal-cleanup/install-dist/release-docs/LICENSE)
and [actual
inventory](https://github.com/hugegraph/hugegraph/blob/fix/server-arthas-terminal-cleanup/install-dist/scripts/dependency/known-dependencies.txt))
- [ ] Modify configurations
- [ ] The public API
- [ ] Other affects
- [ ] Nope
## Documentation Status
- [ ] `Doc - TODO`
- [x] `Doc - Done`: [Server runtime
diagnostics](https://github.com/hugegraph/hugegraph/blob/fix/server-arthas-terminal-cleanup/docs/server-runtime.md)
- [ ] `Doc - No Need`
Website documentation: `Doc - No Need`. Final-head CI is pending; the full
binary distribution must be rebuilt from this source and its license entries
read back before release publication.
Paired org PR: https://github.com/hugegraph/hugegraph/pull/306
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]