Skip to content

Commit

Permalink
fix(interactive): Fix CI for HQPS engine (#3638)
Browse files Browse the repository at this point in the history
As titled.
  • Loading branch information
zhanglei1949 authored Mar 14, 2024
1 parent 1df33cc commit bca8b74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/hqps-db-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
GS_TEST_DIR: ${{ github.workspace }}/gstest
FLEX_DATA_DIR: ${{ github.workspace }}/flex/interactive/examples/modern_graph
TMP_INTERACTIVE_WORKSPACE: /tmp/temp_workspace
LD_LIBRARY_PATH: /usr/local/lib
run: |
cd ${GITHUB_WORKSPACE}/flex/build/
SCHEMA_FILE=${GITHUB_WORKSPACE}/flex/interactive/examples/modern_graph/graph.yaml
Expand Down
5 changes: 2 additions & 3 deletions flex/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
}
},
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "root",
"remoteUser": "graphscope",
"postCreateCommand": "sudo chown -R graphscope /workspaces && bash pre-commit/install-hook.sh && bash pre-commit/prepare-commit-msg"
}

}
2 changes: 2 additions & 0 deletions flex/engines/http_server/actor/executor.act.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ seastar::future<query_result> executor::run_graph_db_query(
.Eval(param.content);
if (!ret.ok()) {
LOG(ERROR) << "Eval failed: " << ret.status().error_message();
return seastar::make_exception_future<query_result>(
"Query failed: " + ret.status().error_message());
}
auto result = ret.value();
seastar::sstring content(result.data(), result.size());
Expand Down

0 comments on commit bca8b74

Please sign in to comment.