feat: multiple onRequest handlers#1863
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1863 +/- ##
==========================================
- Coverage 83.77% 82.74% -1.04%
==========================================
Files 198 183 -15
Lines 19379 18287 -1092
==========================================
- Hits 16235 15131 -1104
- Misses 3144 3156 +12 ☔ View full report in Codecov by Sentry. |
f7ab336 to
f9669b7
Compare
|
Action required: PR inactive for 2 days. |
|
@webbdays Can you please resolve the conflicts. |
|
Whenever you are ready, just mark it as ready to review. |
|
ok. |
|
| Report | Sun, June 2, 2024 at 15:47:50 UTC |
| Project | tailcall |
| Branch | 1863/merge |
| Testbed | benchmarking-runner |
Click to view all benchmark results
| Benchmark | Latency | Latency Results nanoseconds (ns) | (Δ%) | Latency Upper Boundary nanoseconds (ns) | (%) |
|---|---|---|---|
| group_by | ✅ (view plot) | 543.54 (-7.19%) | 651.86 (83.38%) |
| input/args.missing | ✅ (view plot) | 22.80 (-6.45%) | 27.23 (83.74%) |
| input/args.nested.existing | ✅ (view plot) | 42.11 (-15.13%) | 64.69 (65.09%) |
| input/args.nested.missing | ✅ (view plot) | 38.35 (+0.18%) | 40.67 (94.31%) |
| input/args.root | ✅ (view plot) | 38.05 (-17.39%) | 61.46 (61.91%) |
| input/headers.existing | ✅ (view plot) | 30.38 (-4.31%) | 33.64 (90.30%) |
| input/headers.missing | ✅ (view plot) | 29.13 (-5.33%) | 33.49 (86.98%) |
| input/value.missing | ✅ (view plot) | 23.17 (-1.31%) | 25.10 (92.32%) |
| input/value.nested.existing | ✅ (view plot) | 40.66 (-2.16%) | 44.90 (90.57%) |
| input/value.nested.missing | ✅ (view plot) | 37.71 (+3.33%) | 38.44 (98.09%) |
| input/value.root | ✅ (view plot) | 37.85 (-1.07%) | 41.56 (91.07%) |
| input/vars.existing | ✅ (view plot) | 7.43 (-7.22%) | 9.01 (82.48%) |
| input/vars.missing | ✅ (view plot) | 12.01 (+31.50%) | 12.28 (97.77%) |
| test_batched_body | ✅ (view plot) | 2,623.10 (-99.60%) | 2,394,111.82 (0.11%) |
| test_batched_body #2 | ✅ (view plot) | 1,719,000.00 (+0.23%) | 1,855,417.04 (92.65%) |
| test_data_loader | ✅ (view plot) | 478,900.00 (+1.84%) | 488,616.64 (98.01%) |
| test_handle_request | ✅ (view plot) | 154,240.00 (-3.97%) | 179,882.69 (85.74%) |
| test_http_execute_method | ✅ (view plot) | 18,274.00 (-0.29%) | 19,520.41 (93.61%) |
| with_mustache_expressions | ✅ (view plot) | 1,161.80 (-0.69%) | 1,235.32 (94.05%) |
| with_mustache_literal | ✅ (view plot) | 727.35 (+0.60%) | 770.48 (94.40%) |
Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help
|
@webbdays I have made a few changes in the implementation. IF you could look at why the tests are failing, that would be great. I think overall it's ready to merge. Thanks once again! |
|
Ok. I will check that. |
|
Action required: PR inactive for 2 days. |
Co-authored-by: Tushar Mathur <tusharmath@gmail.com> Co-authored-by: amit <amitksingh1490@gmail.com>
|
💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay. |
|
/approve |
|
@tusharmath: The claim has been successfully added to reward-all. You can visit your dashboard to complete the payment. |
|
Something is off on Algora so canceling your claim and giving you a tip instead. /tip 250 |
|
🎉🎈 @webbdays has been awarded $250! 🎈🎊 |
Summary:
multiple onRequest handlers
Issue Reference(s):
Fixes #1271
/claim #1271
Build & Testing:
cargo testsuccessfully../lint.sh --mode=fixto fix all linting issues raised by./lint.sh --mode=check.Checklist:
<type>(<optional scope>): <title>