Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

revert(pipeline): drop two hunks that change no output (#2768)

Martin Vogele12d3db387e7
diff --git a/src/pipeline/pass_calls.c b/src/pipeline/pass_calls.c
index 2a9549f26..1df1fe155 100644
--- a/src/pipeline/pass_calls.c
+++ b/src/pipeline/pass_calls.c
@@ -939,20 +939,15 @@ static int calls_emit_unresolved_service(cbm_pipeline_ctx_t *ctx, const CBMCall
const char **imp_keys, const char **imp_vals,
int imp_count, const char *route_mount, CBMLanguage lang,
CBMCallEvidence *evidence) {
- cbm_svc_kind_t svc = cbm_service_pattern_match(call->callee_name);
- if (svc == CBM_SVC_NONE && cbm_service_pattern_is_global_fetch(call->callee_name)) {
- svc = CBM_SVC_HTTP;
- }
- if (svc == CBM_SVC_HTTP || svc == CBM_SVC_ASYNC) {
- if (calls_emit_service_call(ctx, call, source_node, svc, NULL, evidence)) {
- return SKIP_ONE;
- }
- }
if (calls_emit_route_call(ctx, call, source_node, module_qn, imp_keys, imp_vals, imp_count,
route_mount, lang, evidence)) {
return SKIP_ONE;
}
- return 0;
+ cbm_svc_kind_t svc = cbm_service_pattern_match(call->callee_name);
+ if (svc == CBM_SVC_NONE && cbm_service_pattern_is_global_fetch(call->callee_name)) {
+ svc = CBM_SVC_HTTP;
+ }
+ return calls_emit_service_call(ctx, call, source_node, svc, NULL, evidence);
}
/* Apply the field-call policy after a registry target has been found. */
diff --git a/src/pipeline/pass_route_nodes.c b/src/pipeline/pass_route_nodes.c
index 4e19f06ef..23dff8150 100644
--- a/src/pipeline/pass_route_nodes.c
+++ b/src/pipeline/pass_route_nodes.c
@@ -113,9 +113,6 @@ static void route_edge_visitor(const cbm_gbuf_edge_t *edge, void *userdata) {
json_extract(edge->properties_json, "method", method_buf, sizeof(method_buf));
const char *broker =
json_extract(edge->properties_json, "broker", broker_buf, sizeof(broker_buf));
- if (!method && strcmp(edge->type, "HTTP_CALLS") == 0 && callee) {
- method = cbm_service_pattern_http_method(callee);
- }
/* Build Route QN */
char route_qn[CBM_ROUTE_QN_SIZE];