Repository navigation
Conversation
…ries Co-authored-by: Isaac <no-reply@databricks.com>
Collaborator
✅ Integration test reportCommit: a69473d
Top 6 slowest tests (at least 2 minutes):
|
This branch has not been deployed
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.
Changes
A new way to check that tests and the CLI survive a backend error.
go test ./acceptance -faultplan plan.jsonfails one chosen request per test (by its number in the test's request sequence). The fault is one of 429, 500, 502, 503, 504, a 504 after the handler applied the request, a TCP reset before or after the handler, or a truncated response body. The test must still pass unchanged: the retry warning is filtered bySuppressLines.warn_retry, and the failed attempt is dropped fromout.requests.txtthe same way the cloud proxy drops it.-faultlogrecords each test's request count and the fault that fired.tools/fault_sweep.pydrives it. It runs the selection a few times to learn the max request count per test, leaving out tests that fail without faults. Then each round picks a random request and fault kind for every test, and reruns the tests that passed with the same fault.Why
Backend errors on real workspaces are the main source of flaky cloud tests and of user-visible failures that a retry would have hidden. This finds the requests the CLI does not retry, without waiting for them to show up on cloud.
Tests
Unit tests for the testserver faults and the recorder. Ran the sweep on
bundle/resources/jobs(71 tests, 2 rounds) and on the full suite; the findings will be in a comment.🤖 AI agent (opus5.5, isaac_claude)
This pull request and its description were written by Isaac.