Forward Orbit SDLC and code indexing phases in graph_status

What does this MR do and why?

The graph_status REST endpoint drops sdlc_indexing, code_indexing, and the state of each item from the Orbit response. Without them, a client cannot tell SDLC progress from code progress. This MR forwards them. Each is nil when Orbit does not send it.

References

Related: gitlab-org/orbit/knowledge-graph!2765 (merged). Neither MR depends on the other.

Screenshots or screen recordings

Before (production) After (client spec)
{"name": "Job", "count": 514898} {"name": "File", "count": 7, "state": "indexing"}
no sdlc_indexing or code_indexing key "sdlc_indexing": {"state": "indexed", ...}

How to set up and validate locally

bin/rspec ee/spec/lib/analytics/knowledge_graph/grpc_client_spec.rb

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jean-Gabriel Doyon

Merge request reports

Loading
Loading