Commit Graph

18 Commits

Author SHA1 Message Date
David Colburn
6719a3c714 Updated egress rpc (#1252)
* updated egress rpc

* check if egress exists on stop

* fix static check

* remove old migration code

* rename

* regenerate, update test

* latest staticcheck

* update to psrpc 0.1.0

* fix tests

* dual write rpcs on running egress

* remove unused field

* fix race, change service for egress impl

* return nil if bus is nil

* id -> ids

* add affinityFunc to StartEgress
2022-12-22 21:03:27 -08:00
David Colburn
eea592a1f5 Upgrade go to 1.18 (#1249)
* upgrade go to 1.18

* update buildtest
2022-12-21 16:41:47 -08:00
renovate[bot]
7d1cf8a6b4 Update goreleaser/goreleaser-action action to v4 (#1227)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 17:43:23 -08:00
David Zhao
d146ec7a1f Improve logging messages with RoomService (#1203) 2022-11-30 22:17:28 -08:00
David Zhao
939757d2c8 Bulk update dependency versions (#889) 2022-08-06 17:11:03 -07:00
David Zhao
4222f51758 updated action versions (#885)
* updated action versions

* docker to use go 1.18
2022-08-06 13:40:40 -07:00
David Zhao
4cbdeb15b0 Switch release CI to build on Linux (#827)
Also disabled .deb generation since it doesn't add much value
in addition to the binary builds.
2022-07-11 15:26:58 -07:00
David Zhao
b316698409 Release with GoReleaser. Allow start without key configuration (#788) 2022-06-26 12:27:43 -07:00
Raja Subramanian
77b8e9eecb Fix a couple of more races (#717)
* Use grants clone

* Fix a couple of more races

Use a shadow copy of down tracks in DownTrackSpreader.
Read always uses the shadow.
On Add/Delete of down track, make a new copy.
Copying is done only on add/delete.
If somebody is holding reference to a shadow, it will be in tact as Add/Delete create a new slice.

With this, not seeing any more races in test. So, enabling CI tests with `-race`.

Also fixing another race reported in #603

There are a couple of more races in that bug report that needs to be
chased down.

* Use env suggested in https://lifesaver.codes/answer/runtime-race-detector-sigabrt-or-sigsegv-on-macos-monterey-49138

* staticcheck, did not fail locally, but reported by CI

* use API to get down tracks
2022-05-25 16:14:07 +05:30
David Colburn
a1bef5b18d deadlock CI (#475)
* deadlock CI

* make sure the test fails

* remove fail check
2022-02-28 14:48:19 -08:00
David Zhao
130decbf1d CI step for static check (#467)
* CI step for static check

* fix staticcheck
2022-02-24 23:07:15 -08:00
David Zhao
c08d1e9d72 Improve test CI (#262)
* minimal change

* Better test format for GH CI

* Give server a bit longer to startup, to improve GH test
2021-12-14 17:15:08 -08:00
Eng Zer Jun
e37afdca6f build: upgrade go directive in go.mod to 1.17 (#223)
* build: upgrade `go` directive in `go.mod` to 1.17

This commit enables support for module graph pruning and lazy module
loading for projects that are at Go 1.17 or higher.

Reference: https://go.dev/ref/mod#go-mod-file-go
Reference: https://go.dev/ref/mod#graph-pruning
Reference: https://go.dev/ref/mod#lazy-loading
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

* ci: update GitHub Actions to use Go 1.17

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-12-01 14:39:21 -08:00
hn8
32daa257bb cleanup protoc (#100)
https://github.com/livekit/livekit-server/pull/95
2021-08-30 11:35:03 -07:00
David Zhao
a694c82581 publish to docker automatically on tag (#35) 2021-07-03 12:46:56 -07:00
David Zhao
0098d61eff allow test to run on dispatch 2021-06-09 13:11:58 -07:00
David Zhao
24919d8ccb working CI test workflow, more reliable transport_test 2021-06-03 22:35:39 -07:00
David Zhao
8f46e0f4da set up CI 2021-06-03 20:51:30 -07:00