Skip to content

feat(weave): dogfood calls_complete on wandb-entity projects#6644

Open
gtarpenning wants to merge 1 commit intomasterfrom
default-calls-complete
Open

feat(weave): dogfood calls_complete on wandb-entity projects#6644
gtarpenning wants to merge 1 commit intomasterfrom
default-calls-complete

Conversation

@gtarpenning
Copy link
Copy Markdown
Member

@gtarpenning gtarpenning commented Apr 20, 2026

Pivots from "flip WEAVE_USE_CALLS_COMPLETE default to true" to an entity-based dogfood gate. Entities in CALLS_COMPLETE_ENTITY_ALLOWLIST (currently {"wandb"}) auto-opt-in to the calls_complete write path regardless of the env var; everyone else stays on the legacy default.

Why: lets us validate calls_complete on wandb/* traffic first — if it explodes, it's our people, not customers. Flipping the env default remains a follow-up once we have confidence.

Entity is threaded from weave.init()init_weave_get_serverRemoteHTTPTraceServer. StainlessRemoteHTTPTraceServer does not use this path and is unaffected.

@w-b-hivemind
Copy link
Copy Markdown

w-b-hivemind Bot commented Apr 20, 2026

HiveMind Sessions

1 session · 20m · $6.17

Session Agent Duration Tokens Cost Lines
Fix Flaky Timeout Test In Http Behavior Remote
3671f11d-3c04-4cb7-96ee-5b9830600c5c
claude 20m 43.3K $6.17 +2 -6
Total 20m 43.3K $6.17 +2 -6

View all sessions in HiveMind →

Run claude --resume 3671f11d-3c04-4cb7-96ee-5b9830600c5c to pickup where you left off.

@wandbot-3000
Copy link
Copy Markdown

wandbot-3000 Bot commented Apr 20, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

❌ Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
weave/trace/weave_init.py 0.00% 2 Missing ⚠️
.../trace_server_bindings/remote_http_trace_server.py 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@gtarpenning gtarpenning marked this pull request as ready for review April 22, 2026 17:22
@gtarpenning gtarpenning requested a review from a team as a code owner April 22, 2026 17:22
Comment thread weave/trace/settings.py Outdated
"""

use_calls_complete: bool = False
use_calls_complete: bool = True
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Wont this immediately break users logging to an existing non-calls-complete project?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

no, the complete processor logs to calls_merged projects too.

Adds a CALLS_COMPLETE_ENTITY_ALLOWLIST gate so entities in the
allowlist (currently just "wandb") auto-opt-in to the calls_complete
write path regardless of WEAVE_USE_CALLS_COMPLETE. Entity is threaded
from weave.init() through to RemoteHTTPTraceServer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gtarpenning gtarpenning force-pushed the default-calls-complete branch from fdf215f to 32d89c2 Compare April 24, 2026 17:21
@gtarpenning gtarpenning changed the title feat(weave): default WEAVE_USE_CALLS_COMPLETE to true feat(weave): dogfood calls_complete on wandb-entity projects Apr 24, 2026
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.

2 participants