Skip to content

fix(tracing): preserve legacy pi and opencode project opt-outs - #342

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits into
mainfrom
verify-tracing-optout-966c9c95
Open

Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits into
mainfrom
verify-tracing-optout-966c9c95

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

🤖 This text was AI-generated.

The move to Git-root .braintrust.json dropped the lookup for legacy project settings. A Pi or OpenCode project that disabled tracing in its legacy file could start tracing again after an upgrade.

Global tracing enabled + legacy project opt-out
  Before this fix -> tracing enabled
  After this fix  -> tracing disabled

Check the working directory and Git root for explicit opt-outs in the legacy project files. Keep routing in the current config files and let an explicit bt trace run override tracing for that invocation.

Refs: #294

> 🤖 **This text was AI-generated.**

The move to Git-root `.braintrust.json` dropped the lookup for legacy
project settings. A Pi or OpenCode project that disabled tracing in its
legacy file could start tracing again after an upgrade.

```text
Global tracing enabled + legacy project opt-out
  Before this fix -> tracing enabled
  After this fix  -> tracing disabled
```

Check the working directory and Git root for explicit opt-outs in the
legacy project files. Keep routing in the current config files and let
an explicit `bt trace run` override tracing for that invocation.

Refs: #294
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T19:46:31.668846Z e6a9f31 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The standalone OpenCode 2 CLI can exit before the plugin finishes
forwarding the final execution events. On Windows this caused the
permission rejection and resumed-session trace checks to time out.

Run the rejection, interruption, model failure, and recovery cases
against a live test server. Stop each server after ingest sees the
expected spans and restart it before testing session recovery.

Refs: #342

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant