Subrequest API requires data support and API updates.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 915
- Forks
- 96
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
During the development of a retry module gaps in the current subrequest API support were identified.
- need getters for request status and subrequest depth
- need to increment cycle count
- the flags argument is not supported
- the args argument is not supported
- need to pass custom data to subrequest
- do not automatically destroy subrequest body (allow caller to handle body lifetime)
- suggested: provide a basic subrequest example module
Describe the solution you'd like
Add additional API support. This work has mostly been complete here but needs to be separated from the Event timer API work and linting updates. See the src/http/flags.rs and src/http/request.rs files for salient changes.
Additional context
Since this work is mostly completed by @avahahn and @f5yacobucci please see them for unclear details. This issue is a placeholder tracking issue to break apart an existing PR into its component features.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/http/flags.rs and src/http/request.rs, then compare the existing ava-subreq-depth branch. Clarify the intended component boundaries with @avahahn or @f5yacobucci. Done means the subrequest API updates are separated from the Event timer and linting work, with the listed support gaps addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100