Benjamin Pracht
82786f41fd
Additions to agent protocol ( #717 )
...
This PR:
- Adds StartAgentJobRequest/StopAgentJobRequest calls to start an handle manually mange an agent lifecycle
- Deprecates the JobType field in WorkerInfo as workers will now be expected to handle both kinds jobs (if the namespace supports both kinds in the first place)
- Adds a metadata string -> string map to Job to allow agent implementation to take anonymous (to us) parameters
- Adds a JobStatus and error fields to Job for status reporting (Similar to egress and ingress)
- Makes livekit_agent.proto indentation consistent with other proto files
- Add room configuration and management APIs to the Room service. Rooms configuration allow bundling most room configuration parameters under a single id, that can eventually be put as part of the room creation token.
2024-06-27 10:30:58 -07:00
Raja Subramanian
b2dc8deac6
Update retryable-http ( #749 )
...
* Update retryable-http
Dependabot flagged a securty updat
https://github.com/livekit/livekit/security/dependabot/9
* tidy
2024-06-25 12:17:03 +05:30
Paul Wells
c721a3ed39
add message bytes to psrpc metrics observer ( #723 )
...
* add message bytes to psrpc metrics observer
* deps
2024-05-26 12:36:38 -07:00
dependabot[bot]
bad3fc9684
Bump golang.org/x/net from 0.21.0 to 0.23.0 ( #695 )
...
* Bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* update to go 1.23
* go 1.22
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathew Kamkar <578302+matkam@users.noreply.github.com >
2024-04-22 10:36:05 -07:00
Lukas Herman
c69c1b0580
add Clock interface and LeakyBucket ( #675 )
...
* add Clock interface and LeakyBucket
* add SimulatedClock
* removed self reference and format
* renamed t to lb
* replaced sync/atomic with uber/atomic
* add source to the license comment
* favor value over pointer receiver for SystemClock
* use atomic.Int value
* use mutex based instead
* add source
* update comments and hide mutex
* add SetRateLimitOnTheFly
* fix: source in rate_test
* skip unstable slack tests on Github
2024-04-09 11:32:35 -04:00
Denys Smirnov
e2c0cf8043
Support for converting Logger into slog.Handler. ( #668 )
...
This change allows to take an existing Logger and convert it into slog.Handler.
New ToSlogHandler function will check if the Logger implementation is a known one (Zap or Logr) and will convert it with package-specific functions.
2024-03-27 01:23:19 +02:00
renovate[bot]
a9939bcd31
fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] ( #656 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 21:00:44 -07:00
Paul Wells
76870e1f15
add configobserver utility ( #644 )
...
* add configobserver utility
* deps
2024-03-11 13:22:50 -07:00
David Zhao
da55a5e169
Update to xsync v3 ( #639 )
2024-03-10 13:05:29 -07:00
renovate[bot]
497e77b264
fix(deps): update module github.com/go-jose/go-jose/v3 to v3.0.3 [security] ( #631 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-10 10:46:14 -07:00
renovate[bot]
6dd778938f
fix(deps): update module golang.org/x/mod to v0.16.0 ( #624 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 22:37:53 -08:00
renovate[bot]
174a2f4bdb
fix(deps): update go deps ( #622 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 22:27:42 -08:00
renovate[bot]
4f0d066ef6
fix(deps): update go deps ( #615 )
...
* fix(deps): update go deps
Generated by renovateBot
* fix static check
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Zhao <dz@livekit.io >
2024-02-27 23:50:29 -08:00
Denys Smirnov
92c5e52943
Update usage of core.Fuse. ( #621 )
2024-02-27 22:10:02 +02:00
Paul Wells
4a97b58328
reduce logger heap objects ( #618 )
...
* reduce logger heap objects
* deps
2024-02-26 05:35:35 -08:00
renovate[bot]
7efe51fa26
fix(deps): update golang.org/x/exp digest to 814bf88 ( #613 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 22:32:50 -08:00
renovate[bot]
e8f01e457b
fix(deps): update module google.golang.org/grpc to v1.62.0 ( #611 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 20:57:04 -08:00
Paul Wells
a9e0faf6f0
allow intercepting logging ( #609 )
...
* allow intercepting logging
* roll back nats
2024-02-20 20:46:29 -08:00
renovate[bot]
233997882d
fix(deps): update go deps ( #607 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 17:32:18 -08:00
renovate[bot]
79e078b74c
fix(deps): update module github.com/redis/go-redis/v9 to v9.5.0 ( #606 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 11:43:32 -08:00
renovate[bot]
9d20a1af52
fix(deps): update go deps ( #602 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 17:41:28 -08:00
renovate[bot]
16bebde903
fix(deps): update module github.com/pion/webrtc/v3 to v3.2.27 ( #600 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 19:41:32 -08:00
David Colburn
611223e34f
Revert egress client jitter ( #599 )
...
* revert egress client jitter
* tidy
2024-02-08 16:56:16 -08:00
renovate[bot]
ee031bdb59
fix(deps): update go deps ( #586 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 08:28:55 -08:00
David Colburn
54f76fc686
add jitter to StartEgress request ( #587 )
2024-01-29 16:38:42 -08:00
renovate[bot]
34c5703691
fix(deps): update module google.golang.org/grpc to v1.61.0 ( #583 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 21:09:49 -08:00
renovate[bot]
3b4fd6ea4a
fix(deps): update golang.org/x/exp digest to 1b97071 ( #580 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 21:18:39 -08:00
renovate[bot]
3d9c1f2c79
fix(deps): update go deps ( #572 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 09:36:03 -08:00
renovate[bot]
701a31e4f6
fix(deps): update golang.org/x/exp digest to 0dcbfd6 ( #568 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 15:01:55 -08:00
renovate[bot]
0811dbfe03
fix(deps): update module github.com/redis/go-redis/v9 to v9.4.0 ( #566 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-07 10:31:53 -08:00
renovate[bot]
4c708cfc9c
fix(deps): update golang.org/x/exp digest to be819d1 ( #564 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 16:18:12 -08:00
renovate[bot]
00aac29859
fix(deps): update module github.com/prometheus/client_golang to v1.18.0 ( #558 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-27 20:09:44 -08:00
renovate[bot]
9f667267f8
fix(deps): update golang.org/x/exp digest to 02704c9 ( #557 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-25 17:52:30 -08:00
renovate[bot]
00894c56f4
Update module google.golang.org/protobuf to v1.32.0 ( #556 )
...
* Update module google.golang.org/protobuf to v1.32.0
Generated by renovateBot
* generated protobuf
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-22 09:40:18 -08:00
renovate[bot]
1442b24a4e
Update module github.com/go-logr/logr to v1.4.1 ( #552 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-21 16:19:08 -08:00
renovate[bot]
88366c462f
Update go deps ( #546 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 23:57:55 -08:00
dependabot[bot]
b41cfc907b
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 ( #550 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 17:04:28 -08:00
Benjamin Pracht
b5b083960d
Implement exponential backoff in egress RPC client retry logic ( #545 )
2023-12-13 15:22:37 -08:00
renovate[bot]
8950f73cd1
Update module google.golang.org/grpc to v1.60.0 ( #543 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 23:16:41 -08:00
renovate[bot]
297e4990e7
Update golang.org/x/exp digest to f3f8817 ( #541 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 22:26:09 -08:00
David Colburn
7bba17ea78
remove ps, remove noisy error logs ( #540 )
2023-12-06 09:46:12 -08:00
renovate[bot]
7a29c2ea3a
Update go deps ( #528 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-05 13:51:36 -08:00
David Colburn
4bd1ed6a02
process monitoring ( #529 )
...
* process monitoring
* generated protobuf
* don't need min
* updates
* fix float
* update names, cpu calculation
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-05 10:46:13 -08:00
renovate[bot]
7a00fc1a03
Update module github.com/livekit/psrpc to v0.5.2 ( #522 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-19 09:28:57 -08:00
renovate[bot]
9b360fc73e
Update module github.com/pion/webrtc/v3 to v3.2.23 ( #521 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 00:22:51 -08:00
renovate[bot]
6c267cfdfc
Update module github.com/livekit/psrpc to v0.5.1 ( #517 )
...
* Update module github.com/livekit/psrpc to v0.5.1
Generated by renovateBot
* generated protobuf
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-13 15:53:20 -08:00
renovate[bot]
43d65340ff
Update go deps ( #515 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 22:24:37 -08:00
renovate[bot]
625c7d8020
Update go deps ( #504 )
...
Generated by renovateBot
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 11:36:41 -08:00
Paul Wells
f8b1277b3c
update psrpc ( #503 )
...
* update psrpc
* dep
* fix generate
2023-10-25 20:06:39 -07:00
Paul Wells
07ca9d4e47
update psrpc ( #501 )
2023-10-23 19:43:26 -07:00