add .env.opencode to fix metrics otlp #59
No reviewers
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
claudiomaradonna/castrum!59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "env/otlp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review ready:
810c34a351Review: changes requested
Reviewed
810c34a351e9: 2 blocking and 0 minor findings.What is wrong
.env.*local-secrets namespace: the parent's .gitignore ignores it (force-add required) and.claude/settings.jsondenies agent reads, contradicting policy..env.opencodeorOPENCODE_SPAN_ATTRIBUTES, so nothing loads it.Reproduced
git rev-parse HEADmatches the head SHA; origin/main is that same commit, so the base diff is empty — reviewed against parent58e673c.git check-ignore --no-indexmatches.gitignore's.env.*(Local secrets); grep finds no repo reader for the file or variable.make setupandmake checkpass at HEAD;make testunrun — no rootless podman here.Questions and details
.env.opencode? If OpenCode telemetry tagging is intended, would a documented project config (.opencode/opencode.json) be the right home?@ -0,0 +1 @@OPENCODE_SPAN_ATTRIBUTES=project=castrumBlocking: Committed into the
.env.*secrets namespace: .gitignore ignores it and Claude's settings deny reads; force-added. Move it to a documented config location.Blocking: Nothing in the repo or the OpenCode V2 docs reads this file or OPENCODE_SPAN_ATTRIBUTES; the metrics fix is unverified. Point to its reader.