cleverage/rest-process-bundle#35 to #38 - Add demo processes - #65
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Description
Adds demo processes reproducing rest bundle bugs, fixed by cleverage/rest-process-bundle#40:
demo.rest.valid_client_error: RequestTask fails on a 3xx / 4xx status code declared in valid_response_code rest-process-bundle#35 (4xxdeclared invalid_response_codestill fails; apicarto answers400to an invalid postal code)demo.rest.transport_error(run with-v): RequestTask does not log transport errors rest-process-bundle#36 (transport error not logged), with a newunreachableREST client on an unresolvable host (.invalidTLD)demo.rest.log_response(run with-vvv): RequestTask log_response logs the configured url and the response object rest-process-bundle#37 (configured URL and response object logged)demo.rest.url_parameter_int/demo.rest.invalid_input: RequestTask and Client fail with an unrelated TypeError on a non-array input or a non-string url parameter rest-process-bundle#38 (TypeErroron an integer URL parameter / a string input)Like
demo.rest.get/demo.rest.post, they call the apicarto API (network access needed); a WireMock based setup is handled in a separate issue.With the fix, the processes show the corrected behaviour; on the current bundle
main, they reproduce the bugs described in the issues. Merge after the bundle PR is merged and the bundle is updated in this project.Requirements
Breaking changes
None (new demo processes and REST client only).
🤖 Generated with Claude Code