test: derive the REST client, request and fallback unit specs - #699
Open
owenpearson wants to merge 1 commit into
Open
owenpearson wants to merge 1 commit into
owenpearson wants to merge 1 commit into
Conversation
|
Warning Review limit reachedNext included review available in 41 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 22, 2026 15:04
0e409a0 to
52f0efc
Compare
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 23, 2026 08:48
52f0efc to
1102c4b
Compare
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 23, 2026 09:42
1102c4b to
0c239ee
Compare
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 23, 2026 13:47
0c239ee to
c110a67
Compare
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 23, 2026 14:02
c110a67 to
c52378b
Compare
owenpearson
added this pull request to stack #714
September 23, 2026 15:51
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 23, 2026 17:20
c52378b to
6b4392d
Compare
Covers fallback.md, rest_client.md, request.md, request_endpoint.md, stats.md, logging.md and channels_collection.md. Five tests record where the SDK departs from a specification and carry the deviation mark: the four covering log_level and log_handler, which Options stores and nothing reads, and RSC19b, where caller-supplied headers override the configured Authorization. Six more cannot be observed through the injected transport at all and are skipped outright, the connectivity check among them. deviations.md carries the reasons. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
owenpearson
force-pushed
the
uts/derive-client-request-fallback
branch
from
September 23, 2026 17:38
6b4392d to
04cb6d6
Compare
This branch was successfully 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.
PR 5 of 9 in the UTS REST unit stack. Base:
uts/harness.Derives
fallback.md,rest_client.md,request.md,request_endpoint.md,stats.md,logging.mdandchannels_collection.md.Each test is a mechanical translation carrying a
# UTS: <id>comment naming thespecification it came from.
deviations.mdgains the entries for this area.Five tests carry
@deviation: the four coveringlog_levelandlog_handler, whichOptionsstores and nothing reads, and RSC19b, where caller-supplied headers override theconfigured
Authorization.Six are skipped outright as unobservable through the injected transport:
ConnectionManager.check_connectioncallshttpx.getdirectly, andfallbackHostsUseDefaultis not implemented — optional per TO3k7, and the specificationsscope their checks to libraries that support it.
Also recorded as specification faults:
/timestubbed as an object rather than theone-element array the endpoint returns (~24 setups across five specs), and four fallback
specifications that contradict each other or the retry rules.
Verification
257 passed, 11 skipped;ruff check ably/ test/clean. UnderRUN_DEVIATIONS=1the fivegated tests fail as documented.
🤖 Generated with Claude Code