yomorun / yomo

🦖 Stateful Serverless Framework for Geo-distributed Edge AI Infra
https://yomo.run
Apache License 2.0
1.64k stars 128 forks source link

feat: add transID for ai function #817

Closed woorui closed 1 month ago

woorui commented 1 month ago

Description

Add transID for ai function, each request will have an unique transID, and we can use FromTransIDContext to retrieve it from the ctx.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **yomo** | ⬜️ Ignored ([Inspect](https://vercel.com/yomorun/yomo/CHqgJ4ZQH1woEvAETNkbyEfk5RKb)) | | | May 17, 2024 1:46am |
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 41 lines in your changes are missing coverage. Please review.

Project coverage is 65.64%. Comparing base (29d215a) to head (c022077).

Files Patch % Lines
pkg/bridge/ai/api_server.go 0.00% 24 Missing :warning:
pkg/bridge/ai/service.go 0.00% 17 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #817 +/- ## ========================================== + Coverage 64.20% 65.64% +1.43% ========================================== Files 44 44 Lines 2562 2570 +8 ========================================== + Hits 1645 1687 +42 + Misses 812 776 -36 - Partials 105 107 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.