feat(docker): compose stack, observability, MCP, OTel, and k6 tests - #4883
Draft
alex-dna-tech wants to merge 16 commits into
Draft
feat(docker): compose stack, observability, MCP, OTel, and k6 tests#4883alex-dna-tech wants to merge 16 commits into
alex-dna-tech wants to merge 16 commits into
Conversation
alex-dna-tech
marked this pull request as draft
August 10, 2026 18:11
alex-dna-tech
force-pushed
the
feat/examples-docker-compose
branch
from
August 12, 2026 08:58
b0a1c7b to
3e2abca
Compare
alex-dna-tech
force-pushed
the
feat/examples-docker-compose
branch
from
August 26, 2026 08:01
91ee2ad to
6ec7481
Compare
go-redis/v9@v9.22.0 depends on go.uber.org/atomic transitively. go mod tidy resolved the missing sum entry that broke govulncheck.
Split internal/otel into a lightweight facade (Init/Shutdown/Register) and a public go-micro.dev/v6/otel backend that mounts the OTLP trace exporter. Core packages keep calling the facade; with no backend linked both calls no-op and the otel SDK, otlptracehttp, and grpc stay out of the build. cmd/micro blank-imports the backend to keep CLI tracing. Consumer probe: 494 -> 385 packages, stripped binary 20.1M -> 17.1M, 66 grpc packages -> 0, removing the largest hard import from core.
Move the mdns registry (registry/mdns_registry.go -> registry/mdns/) and bbolt file store (store/file.go -> store/file/) into opt-in subpackages. Core registry/store now default to zero-dependency memory implementations; cmd/defaults (imported by the micro CLI) restores mdns discovery and file-backed storage as the historical defaults. Drops miekg/dns, bbolt, and grpc/examples (vendored helloworld test pb) from library builds: probe drops 385->371 packages, 17.1M->15M stripped. service/profile.LocalProfile and cmd.DefaultRegistries no longer hard-link mdns; the CLI keeps it via cmd/defaults.
Services built the nats registry explicitly but left broker to flag selection, so MICRO_BROKER=nats hit the unlinked-plugin error and fell back to the http broker, which choked on the nats:// address. Add an explicit nats broker to each service to match the registry pattern.
… core Collapse 5 near-identical chat/stream/image HTTP clients (openai, groq, mistral, together, minimax) into ai/internal/openaiapi. Single deep module with one New(Config, opts...) entry point; provider divergences become Config flags (UseMessages, ParseUsage, Path). Added ai.WithTransport RoundTripper seam for hermetic tests. Checked upstream fixes: groq stream honors SystemPrompt, stream body carry Authorization. Closes #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Squash-rebased 50 commits into 8 logically-grouped commits:
102 files changed, +11,981 / -1,050 lines. Final state identical to pre-rebase branch.