Skip to content

fix(hubble): prevent query history overflow and restore copy - #875

Merged
imbajin merged 5 commits into
apache:masterfrom
hugegraph:codex/fix-query-canvas-history
Oct 31, 2026
Merged

imbajin merged 5 commits into
apache:masterfrom
hugegraph:codex/fix-query-canvas-history

Conversation

@imbajin

@imbajin imbajin commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Before

Lossless numeric records can overflow G6 history alignment, and history copying can fail without Clipboard API access.

After

Keep raw records opaque to history, preserve precision and restore copy fallback/focus; wait for graph scope before algorithm search.

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.

Source review: hugegraph/hugegraph-toolchain#118. This PR uses the same source branch; see that discussion for detailed validation evidence and limitations.

Visual overview

原始记录在 G6 历史中采用隔离包装;剪贴板优先 API,必要时尝试后备路径并恢复焦点。浏览器限制仍可能使复制失败。 机制示意;不表示独立实测、CI 或同一 RC 已通过。评审核对:2026-10-31。

机制示意

@codecov

codecov Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.54%. Comparing base (b34007e) to head (ef4f845).
⚠️ Report is 30 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #875      +/-   ##
============================================
+ Coverage     55.40%   55.54%   +0.13%     
+ Complexity     5989     3731    -2258     
============================================
  Files           619      285     -334     
  Lines         32582    19908   -12674     
  Branches       4217     3042    -1175     
============================================
- Hits          18052    11057    -6995     
+ Misses        12952     7671    -5281     
+ Partials       1578     1180     -398     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

MrJs133
MrJs133 previously approved these changes Oct 31, 2026
@imbajin imbajin changed the title fix(hubble): prevent query canvas history overflow and restore copy fallback fix(hubble): prevent query history overflow and restore copy Oct 31, 2026
@imbajin
imbajin merged commit 7d97d01 into apache:master Oct 31, 2026
18 checks passed
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.

2 participants