profile-distribution - #13
Merged
Merged
Conversation
Two changes that ship together because the recipe wraps the .sh and
inherited its bug:
1) Fix bench_agent.sh: it had `cd /Users/enekosarasola/mairu/mairu` —
an absolute path that only exists on one specific machine. Replaced
with `cd "$(dirname "${BASH_SOURCE[0]}")/mairu"` so the script works
from any checkout of the repo.
2) Add tartalofile.tt with a `bench_agent` recipe that thin-wraps the
(now-portable) .sh.
The awk parsing of `go test -bench` output stays in shell.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
TracingTransport wraps any http.Client and emits structured slog records (dns/connect/tls/ttfb/total + reused-conn flag). Wired into the Kimi client, OpenAI embedder, and ctxclient so every LLM/embedding/context HTTP call is traceable without an APM agent.
… profile Adds internal/walkers/sql.go to redact PII inside SQL statement values, a standalone cmd/pii-redact CLI entrypoint, and config wiring. Updates the embedded gcp-logging.json profile to fix the ID leak/overredact behaviour.
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.
Profile distributions feature plus the plumbing that accumulated on this branch.
Commits
TracingTransportwrapping anyhttp.Client, emits structured slog (dns/connect/tls/ttfb/total + reused-conn). Opt-in viaMAIRU_HTTPTRACE=1. Wired into the Kimi client, OpenAI embedder, and ctxclient.internal/walkers/sql.go) + standalonecmd/pii-redactCLI + config wiring; tuned the embeddedgcp-logging.jsonprofile to fix the ID leak/overredact behaviour.profile.Exists— dead helper introduced by v0.Notes
go build/go vet/go test ./...green on themairumodule;pii-redactmodule builds + tests clean.internal/acpbridge/TestSessionEchoRoundTripis flaky under the full parallel suite (timing; passes in isolation) — pre-existing, not from this branch.