Skip to content

feat(weave)!: make the SDK-backed trace server the default and remove RemoteHTTPTraceServer#7164

Closed
andrewtruong wants to merge 1 commit into
andrew/stainless-sdk-defaultfrom
andrew/sdk-02-remove-remote-http-server
Closed

feat(weave)!: make the SDK-backed trace server the default and remove RemoteHTTPTraceServer#7164
andrewtruong wants to merge 1 commit into
andrew/stainless-sdk-defaultfrom
andrew/sdk-02-remove-remote-http-server

Conversation

@andrewtruong

Copy link
Copy Markdown
Collaborator

Description

  • Fixes WB-NNNNN
  • Fixes #NNNN

What does the PR do? Include a concise description of the PR contents.

Testing

How was this PR tested?

… RemoteHTTPTraceServer

StainlessRemoteHTTPTraceServer (backed by weave-server-sdk) is now the only
remote trace server binding. init_weave constructs it unconditionally; the
experimental use_stainless_server setting (WEAVE_USE_STAINLESS_SERVER) is
removed; the WAL sender switches over.

The hand-rolled RemoteHTTPTraceServer is deleted along with its test-side
machinery: the --remote-http-trace-server pytest flag, the _remote/_stainless
file-suffix collection filtering, and the now-redundant stainless nox shard
and CI matrix entries (trace_server_bindings covers the single binding).

Other changes of note:

- The network_proxy_client fixture now routes the binding's httpx transport
  into the FastAPI TestClient via the binding's transport seam instead of
  monkeypatching weave.utils.http_requests.post.
- The parallel-table-upload endpoint probe in weave_client previously reached
  into RemoteHTTPTraceServer._post_request_executor.__wrapped__; the binding
  now exposes unretried_table_create_from_digests for this purpose, keeping
  the client decoupled from binding internals.
- tags/aliases route tests rewritten against the SDK binding, observing
  requests at the httpx transport boundary.

BREAKING: the use_stainless_server setting is removed (it now describes the
only behavior), and RemoteHTTPTraceServer is no longer importable.

andrewtruong commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator Author

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.50000% 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 ⚠️
weave/durability/wal_sender.py 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@andrewtruong

Copy link
Copy Markdown
Collaborator Author

Superseded by the restructured stack #7177 + #7178 (RemoteHTTPTraceServer rebuilt in place on weave-server-sdk; no shared-code moves; no test-side type bridge; incremental import lint).

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant