From 5a3e36908b572bcbd6255f374b6722f10e978677 Mon Sep 17 00:00:00 2001 From: Nick Ruest <127058086+nicholas-ruest@users.noreply.github.com> Date: Mon, 27 Jul 2026 15:08:12 +0000 Subject: [PATCH] Fix wrong infra repo URL and fabricated infra module names The Rust workspace could not resolve at all: Cargo.toml declared seven llm-infra-* crates from https://github.com/LLM-Dev-Ops/llm-infra, a repo that does not exist (git ls-remote returns "Repository not found"). The real repo is LLM-Dev-Ops/infra, and it publishes flat, separately-named crates with no aggregator: core/logging/tracing were never crate names under any prefix. Rust (Cargo.toml): - repo URL llm-infra -> infra, pinned to rev a8bc89c (infra has no tags) - llm-infra-config -> infra-config - llm-infra-logging -> infra-otel (logging and tracing are one crate) - llm-infra-tracing -> infra-otel - llm-infra-cache -> infra-cache - llm-infra-retry -> infra-retry - llm-infra-ratelimit -> infra-rate-limit - llm-infra-core -> infra-errors (the error-utilities half; the aggregator half has no equivalent and is dropped) The per-crate feature aliases collapse into the implicit features of the optional dependencies, leaving the `infra` umbrella feature. No source file references llm_infra_*, so no call sites change. npm (frontend/package.json): - @llm-dev-ops/llm-infra-{core,config,logging} -> @llm-dev-ops/infra The real package is a single one with subpath exports, matching the form already used by governance-dashboard, observatory, and shield. Implements the analytics-hub portion of agentics-enforcement/plans/adr/ADR-015 --- Cargo.toml | 32 +++++++++++++++----------------- frontend/package.json | 4 +--- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c8b51dc..e2d0f8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,16 +50,16 @@ llm-registry-core = "0.1.0" llm-config-core = "0.5.0" llm-config-storage = "0.5.0" -# LLM-Infra - Shared infrastructure utilities (Phase 2B) -# Provides: config loading, structured logging, distributed tracing, -# error utilities, caching, retry logic, rate limiting, LLM client abstractions -llm-infra-core = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } -llm-infra-config = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } -llm-infra-logging = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } -llm-infra-tracing = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } -llm-infra-cache = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } -llm-infra-retry = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } -llm-infra-ratelimit = { git = "https://github.com/LLM-Dev-Ops/llm-infra", branch = "main", optional = true } +# Infra - Shared infrastructure utilities (Phase 2B) +# LLM-Dev-Ops/infra publishes flat, separately-named crates and has no aggregator +# crate; `infra-otel` covers both structured logging and distributed tracing. +# The repo has no tags, so the git source is pinned to a rev (ADR-015). +infra-config = { git = "https://github.com/LLM-Dev-Ops/infra", rev = "a8bc89c190f63b139812f30a54e21a25b8f70e81", optional = true } +infra-otel = { git = "https://github.com/LLM-Dev-Ops/infra", rev = "a8bc89c190f63b139812f30a54e21a25b8f70e81", optional = true } +infra-errors = { git = "https://github.com/LLM-Dev-Ops/infra", rev = "a8bc89c190f63b139812f30a54e21a25b8f70e81", optional = true } +infra-cache = { git = "https://github.com/LLM-Dev-Ops/infra", rev = "a8bc89c190f63b139812f30a54e21a25b8f70e81", optional = true } +infra-retry = { git = "https://github.com/LLM-Dev-Ops/infra", rev = "a8bc89c190f63b139812f30a54e21a25b8f70e81", optional = true } +infra-rate-limit = { git = "https://github.com/LLM-Dev-Ops/infra", rev = "a8bc89c190f63b139812f30a54e21a25b8f70e81", optional = true } # Core dependencies serde = { version = "1.0", features = ["derive"] } @@ -182,13 +182,11 @@ aws = ["aws-sdk-eks", "aws-sdk-rds", "aws-sdk-elasticache", "aws-sdk-kafka", "aw cloud = ["aws"] # Phase 2B Infra Integration Features -infra = ["infra-config", "infra-logging", "infra-tracing", "infra-cache", "infra-retry", "infra-ratelimit"] -infra-config = ["llm-infra-core", "llm-infra-config"] -infra-logging = ["llm-infra-core", "llm-infra-logging"] -infra-tracing = ["llm-infra-core", "llm-infra-tracing"] -infra-cache = ["llm-infra-core", "llm-infra-cache"] -infra-retry = ["llm-infra-core", "llm-infra-retry"] -infra-ratelimit = ["llm-infra-core", "llm-infra-ratelimit"] +# Each per-crate feature below is the implicit feature of the matching optional +# dependency. The former `infra-logging`/`infra-tracing`/`infra-ratelimit` aliases +# are gone: logging and tracing are one crate (`infra-otel`), and the rate-limit +# crate is `infra-rate-limit`. +infra = ["infra-config", "infra-otel", "infra-errors", "infra-cache", "infra-retry", "infra-rate-limit"] [lib] name = "llm_analytics_hub" diff --git a/frontend/package.json b/frontend/package.json index 860bdf8..4d83f9f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -51,9 +51,7 @@ "dependencies": { "@llm-dev-ops/observatory-sdk": "^0.1.1", "@llm-dev-ops/llm-registry-sdk": "^0.1.0", - "@llm-dev-ops/llm-infra-core": "^0.1.0", - "@llm-dev-ops/llm-infra-config": "^0.1.0", - "@llm-dev-ops/llm-infra-logging": "^0.1.0", + "@llm-dev-ops/infra": "^0.1.0", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@hookform/resolvers": "^3.3.3",