add .env.opencode to fix metrics otlp #262
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/agent-foundry!262
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:
d7893e2723Review: changes requested
Reviewed
d7893e27232f: 2 blocking and 0 minor findings.What is wrong
.env.opencode: OpenCode does not auto-load project.envfiles, andOPENCODE_SPAN_ATTRIBUTESis read by the external, unconfigured@devtheops/opencode-plugin-otelfrom the process environment. The metrics fix does not happen..gitignoretreats as a local secret (.env.*; only.env.exampleexempt), force-added;.claude/settings.jsondenies reads of./.env.*, and docs/SANDBOX.md says committed.envfiles break sandboxed git.Reproduced
rev-parse HEADprints the head SHA; head is now main's tip, so I reviewed the commit against parent4c9650f: one added line.scripts/verify-agent-config.shpasses; the repository has noopencode.json(c)and no otel reference.Questions and details
.opencode/opencode.json, or a shell-profile export, as the plugin README recommends?@ -0,0 +1 @@OPENCODE_SPAN_ATTRIBUTES=project=agent-foundryBlocking: Nothing loads this file: OpenCode does not auto-load project
.envfiles, andOPENCODE_SPAN_ATTRIBUTESis read by the external@devtheops/opencode-plugin-otelfrom the process environment, which this repository never configures.Blocking: Commits a file
.gitignoretreats as a local secret (.env.*; only.env.exampleexempt), force-added;.claude/settings.jsondenies reads of./.env.*, and docs/SANDBOX.md says committed.envfiles break sandboxed git.