Skip to content

fix(hubble): support anonymous mode and cluster-ready graph creation - #28

Open
looksaw2 wants to merge 3 commits into
cx/hubble-auth-redesignfrom
codex/hubble-anonymous-session
Open

looksaw2 wants to merge 3 commits into
cx/hubble-auth-redesignfrom
codex/hubble-anonymous-session

Conversation

@looksaw2

@looksaw2 looksaw2 commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • establish an explicit anonymous Hubble session when Server authentication is disabled instead of calling /auth/login
  • expose anonymous GraphSpace/resource capabilities to the UI without inventing a Server token
  • wait for PD-backed graphs to report READY on every registered Server before returning create success
  • show live ready_count/expected_count progress while Hubble is waiting
  • preserve compatibility with 1.5/1.7 Servers that do not expose the readiness endpoint, with an explicit warning and no false guarantee

Verification

  • Hubble backend full unit suite: 470 tests, 0 failures, 0 errors
  • Client/readiness focused reactor: 27 tests, 0 failures, 0 errors
  • Frontend Graph/Login/auth contract: 58 tests, 0 failures
  • Hubble distribution package: BUILD SUCCESS (Client/Loader installed first per repository build instructions)
  • no-auth browser flow previously verified for Graph, Schema, Gremlin, and Loader in the isolated test namespace

Server dependency

Cluster-wide readiness counts require hugegraph/hugegraph#200. Older Servers continue to create graphs, but Hubble logs that cross-replica readiness cannot be guaranteed.

Related: apache/hugegraph#3137

@coderabbitai

coderabbitai Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4800a38c-f296-42f0-8652-32eaf42ffaf4


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@looksaw2 looksaw2 changed the title fix(hubble): support anonymous sessions without server auth fix(hubble): support anonymous mode and cluster-ready graph creation Aug 21, 2026
@looksaw2
looksaw2 marked this pull request as ready for review August 21, 2026 07:06
@looksaw2
looksaw2 changed the base branch from master to cx/hubble-auth-redesign August 29, 2026 03:13
@imbajin
imbajin force-pushed the cx/hubble-auth-redesign branch 15 times, most recently from 0f7f87d to 146f411 Compare August 30, 2026 04:37
@github-actions

Copy link
Copy Markdown

Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant