You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "imbajin (via GitHub)" <gi...@apache.org> on 2026/08/07 07:59:44 UTC

[PR] fix(docker): integrate Hubble with PD deployment [hugegraph]

imbajin opened a new pull request, #3143:
URL: https://github.com/apache/hugegraph/pull/3143

   ## Summary
   
   - add Hubble to release and development PD Compose deployments
   - make Server and Hubble images and pull policies overridable
   - configure Server PD registration, reachable URL, low-memory guard, and shared random JWT secret
   - accept Bearer JWT in embedded Gremlin with one authenticator call while preserving Basic auth
   - validate entrypoint and Compose contracts in CI
   
   ## Related PR
   
   - Hubble client counterpart: https://github.com/hugegraph/hugegraph-toolchain/pull/23
   
   ## Verification
   
   - JDK 11 focused auth suite: 7 tests passed
   - entrypoint generation, injection, and secret-reuse fixture: passed
   - release and development Compose config: passed
   - relevant Apache RAT checks: passed
   - independent review and re-review: no actionable findings


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] fix(docker): integrate Hubble with PD deployment [hugegraph]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #3143:
URL: https://github.com/apache/hugegraph/pull/3143#discussion_r3734351031


##########
hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh:
##########
@@ -26,22 +26,58 @@ mkdir -p "${DOCKER_FOLDER}"
 
 log() { echo "[hugegraph-server-entrypoint] $*"; }
 
-set_prop() {
-    local key="$1" val="$2" file="$3"
+encode_prop_value() {
+    local value="$1" encoded="" char
+    local i
+
+    LC_ALL=C

Review Comment:
   `encode_prop_value()` sets `LC_ALL=C` without scoping it, which mutates the process locale for the rest of the entrypoint after the function returns. This can subtly change behavior of later `sed`/`grep`/string operations. Prefer making it function-local.
   
   This issue also appears on line 93 of the same file.



-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] fix(docker): integrate Hubble with PD deployment [hugegraph]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #3143:
URL: https://github.com/apache/hugegraph/pull/3143


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org