Repository navigation
test(sandbox): sandbox tests run on process, Docker and OTLP fakes - #3781
Merged
Merged
Conversation
…nd to the waterfall module
…fig and the MCP tool
Owner
Author
ResultsCounts on the seven files of #3749: patch sites 70 to 2, private imports 28 to 0. The 2 patch sites left are seam patches. Tests run after the last rebase onto origin/main ( Deleted tests
Review fixes
Known limitTwo tests in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Seven sandbox test files reach
sandbox/through patches and private names (#3749, part 4 of 6 of #1335). Measured onorigin/main(44d9196) with the counting rules of #1335, they hold 70 patch sites, 28 private imports, 267 tests, 16CliRunner()calls and a catch-all test. The patches replaceWorkloadSandboxEngine, the registry, metrics functions,trace_span,probe_tcp, the telemetry settings and the console objects. A test that patches an internal name pins how the code is wired and not what it does. The Docker, process and OTLP fakes and the real registry already give the same answers through the public interface. The span fallback incommands/sandbox.py(_resolve_spans_for_traces) is domain logic. It has nothing that is specific to the sandbox, and a test can reach it only through the command.Closes #3749
Change:
openspec/changes/archive/2026-11-06-3749-sandbox-tests-on-fakes/