Skip to content

More explicit default git settings#1972

Open
Ankur Goyal (ankrgyl) wants to merge 3 commits into
mainfrom
opt-out-git-metadata-default
Open

More explicit default git settings#1972
Ankur Goyal (ankrgyl) wants to merge 3 commits into
mainfrom
opt-out-git-metadata-default

Conversation

@ankrgyl
Copy link
Copy Markdown
Contributor

No description provided.

@ankrgyl Ankur Goyal (ankrgyl) changed the title Opt git diff out by default More explicit default git settings May 8, 2026
Copy link
Copy Markdown
Contributor

@manugoyal Manu Goyal (manugoyal) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if we really need the defaults in the SDK level too? Same applies to the python sdk

Comment thread js/src/logger.ts
state.proxyUrl = iso.getEnv("BRAINTRUST_PROXY_URL") ?? org.proxy_url;
state.gitMetadataSettings = org.git_metadata || undefined;
state.gitMetadataSettings =
org.git_metadata || defaultGitMetadataSettings();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to default these settings in both the SDKs and the control
plane? I worry about maintining duplicate copies of defaults across our control
plane and SDKs in case we want to revise this.

If we are always defaulting in the control plane now, maybe we can defensively
switch this to not collecting anything if the apikey/login endpoint returns
nothing?

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.

3 participants