microsoft / promptflow

Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://microsoft.github.io/promptflow/
MIT License
8.32k stars 712 forks source link

[Internal] Make runtime cloud trace also async #3081

Closed riddlexu closed 1 week ago

riddlexu commented 2 weeks ago

Description

Currently, the cloud trace in runtime is in sync mode. This seems unnecessary. The local and runtime should use the same async pattern.

All Promptflow Contribution checklist:

General Guidelines and Best Practices

Testing Guidelines

github-actions[bot] commented 2 weeks ago

promptflow SDK CLI Azure E2E Test Result users/yangtongxu/asyncCloudTrace

  4 files    4 suites   4m 9s :stopwatch: 238 tests 203 :white_check_mark:  35 :zzz: 0 :x: 952 runs  812 :white_check_mark: 140 :zzz: 0 :x:

Results for commit 40d2c439.

github-actions[bot] commented 2 weeks ago

SDK CLI Global Config Test Result users/yangtongxu/asyncCloudTrace

6 tests   6 :white_check_mark:  1m 19s :stopwatch: 1 suites  0 :zzz: 1 files    0 :x:

Results for commit 40d2c439.

github-actions[bot] commented 2 weeks ago

Executor Unit Test Result users/yangtongxu/asyncCloudTrace

792 tests   792 :white_check_mark:  3m 43s :stopwatch:   1 suites    0 :zzz:   1 files      0 :x:

Results for commit 40d2c439.

github-actions[bot] commented 2 weeks ago

Executor E2E Test Result users/yangtongxu/asyncCloudTrace

242 tests   237 :white_check_mark:  5m 9s :stopwatch:   1 suites    5 :zzz:   1 files      0 :x:

Results for commit 40d2c439.

github-actions[bot] commented 2 weeks ago

SDK CLI Test Result users/yangtongxu/asyncCloudTrace

    4 files      4 suites   57m 53s :stopwatch:   664 tests   651 :white_check_mark: 13 :zzz: 0 :x: 2 656 runs  2 604 :white_check_mark: 52 :zzz: 0 :x:

Results for commit 40d2c439.