Repository navigation
fix(hubble): clone graph Schema through explicit Server endpoint - #870
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #870 +/- ##
============================================
+ Coverage 55.40% 56.45% +1.05%
- Complexity 5989 6265 +276
============================================
Files 619 622 +3
Lines 32582 33191 +609
Branches 4217 4361 +144
============================================
+ Hits 18052 18738 +686
+ Misses 12952 12799 -153
- Partials 1578 1654 +76 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
bitflicker64
left a comment
There was a problem hiding this comment.
Blocking: yes. Summary: The client matches the schema-clone contract in apache/hugegraph#3439, but the Hubble dialog hides the Server's rejection reason and the action is enabled on Servers without the endpoint.
| </span> | ||
| </Tooltip> | ||
| ), | ||
| disabled: !canManage || !graphCreateEnabled, |
There was a problem hiding this comment.
Important: graph_create_enabled holds on every released Server, none of which has schema-clone, so those users get an enabled Clone Schema action that always fails where they saw a disabled action with graph.clone.unavailable before. Gate the action on a ServerCompatibility check for the endpoint, for example an API version bump in apache/hugegraph#3439, and keep the disabled hint otherwise.
Before
Hubble calls an unavailable extension and offers unsupported data and cross-space cloning.
After
Use an explicit schema-only SDK/Server endpoint; reject unsupported options and keep older-Server 404 behavior without an empty-graph fallback. Also retain algorithm-search input while graph scope initializes.
Validation and scope
Author-reported validation is recorded in the source PR; independent dots review and exact-head ASF CI are pending. No live deployment or RC acceptance is claimed. Keep Server #361, Toolchain #121 and Doc #58 paired; the new endpoint is unavailable on older Servers.
Source review: hugegraph/hugegraph-toolchain#121. This PR uses the same source branch; see that discussion for detailed validation evidence and limitations.
Visual overview
版本纠正:Hubble/SDK 采用显式端点并按 API 能力门控。本图仅说明同一 GraphSpace、无边标签源图的配置/属性键/顶点标签及其索引复制;不复制顶点或边数据。有边标签的源图由 Server 在创建目标前拒绝,不表示 SDK 独立保证源图状态。复制期间仍需保持源 Schema 不变,失败可能遗留部分目标,没有自动回滚。API 0.73+ 为能力门槛,不代表该版本已发布或联合验收通过。三仓配套:🔗 Server #3439、🔗 Toolchain #870、🔗 Doc #554。机制示意,不代表 CI、独立实测全覆盖或同一 RC 已通过。评审核对:2026-10-31。