Skip to content

Commit 99f5279

Browse files
chore(pro): bump platform types
1 parent 163a96b commit 99f5279

File tree

7 files changed

+96
-9
lines changed

7 files changed

+96
-9
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ require (
2929
github.com/gorilla/websocket v1.5.3
3030
github.com/joho/godotenv v1.5.1
3131
github.com/julienschmidt/httprouter v1.3.0
32-
github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.19
32+
github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.25
3333
github.com/loft-sh/analytics-client v0.0.0-20240219162240-2f4c64b2494e
34-
github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.19
34+
github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.25
3535
github.com/loft-sh/apiserver v0.0.0-20250206205835-422f1d472459
3636
github.com/loft-sh/log v0.0.0-20240219160058-26d83ffb46ac
3737
github.com/loft-sh/programming-language-detection v0.0.5

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,14 @@ github.com/loft-sh/admin-apis v0.0.0-20250221182517-7499d86167d2 h1:om1MqUdW84ZQ
424424
github.com/loft-sh/admin-apis v0.0.0-20250221182517-7499d86167d2/go.mod h1:WHCqWfljfD1hkwk41hLeqBhW2yeLvWipB1sH6vfnR7U=
425425
github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.19 h1:SApHDj5CL+uuwL3Yu3d8RGzaMM4BAnBdGrWD5bS58yA=
426426
github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.19/go.mod h1:UteiUdc6QeGt2uXIo5K5qlReRa366GbPY5QdDuPyFCs=
427+
github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.25 h1:ZmHUIWlss9SUvMwxwI10lq5sirvyvaScomFDgT7pNys=
428+
github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.25/go.mod h1:UteiUdc6QeGt2uXIo5K5qlReRa366GbPY5QdDuPyFCs=
427429
github.com/loft-sh/analytics-client v0.0.0-20240219162240-2f4c64b2494e h1:JcPnMaoczikvpasi8OJ47dCkWZjfgFubWa4V2SZo7h0=
428430
github.com/loft-sh/analytics-client v0.0.0-20240219162240-2f4c64b2494e/go.mod h1:FFWcGASyM2QlWTDTCG/WBVM/XYr8btqYt335TFNRCFg=
429431
github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.19 h1:0451oc0fkDFtlOqW0sRHYW1E6gZ3DuO/u88gNxMYNk0=
430432
github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.19/go.mod h1:tzvr5pIOmX9omKw0pjqTQTLj9n05WR8Llk2XuQ8sC+4=
433+
github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.25 h1:2IxBDMU9ZxOyf+4uSYQIHGeUjK5DJLdpEO2ls4JF694=
434+
github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.25/go.mod h1:egTWLOuRpG8x5thRmA9DqA2abB/cotoEsEGTRIj/Wzs=
431435
github.com/loft-sh/apiserver v0.0.0-20250206205835-422f1d472459 h1:6SrgBtT1S9ANsQMoO/O0Mq+hs9EbC5te5kPqOBfg5UI=
432436
github.com/loft-sh/apiserver v0.0.0-20250206205835-422f1d472459/go.mod h1:rung3jsKjaVAtykQN0vWmFHhx2A/umpRyAae8BJVSeE=
433437
github.com/loft-sh/log v0.0.0-20240219160058-26d83ffb46ac h1:Gz/7Lb7WgdgIv+KJz87ORA1zvQW52tUqKPGyunlp4dQ=

pkg/daemon/platform/local_server.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,13 @@ func (l *localServer) watchWorkspaces(w http.ResponseWriter, r *http.Request, pa
474474
PlatformClient: l.pc,
475475
TsClient: l.lc,
476476
Log: l.log},
477+
// we need to debounce events here to avoid spamming the client with too many events
477478
throttle(func(instanceList []*ProWorkspaceInstance) {
478479
if r.Context().Err() != nil {
479480
return // Client disconnected, stop trying to write
480481
}
481482

482-
// we need to debounce events here to avoid spamming the client with too many events
483483
if instanceList != nil {
484-
l.log.Infof("writing workspace list to client")
485484
err := enc.Encode(instanceList)
486485
if err != nil {
487486
http.Error(w, "decode workspace list", http.StatusInternalServerError)

vendor/github.com/loft-sh/api/v4/pkg/apis/management/zz_generated.api.register.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/loft-sh/api/v4/pkg/apis/storage/v1/devpodworkspacetemplate_types.go

Lines changed: 32 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/loft-sh/api/v4/pkg/apis/storage/v1/zz_generated.deepcopy.go

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,15 +770,15 @@ github.com/liggitt/tabwriter
770770
# github.com/loft-sh/admin-apis v0.0.0-20250221182517-7499d86167d2
771771
## explicit; go 1.21.1
772772
github.com/loft-sh/admin-apis/pkg/licenseapi
773-
# github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.19
773+
# github.com/loft-sh/agentapi/v4 v4.3.0-devpod.alpha.25
774774
## explicit; go 1.23.1
775775
github.com/loft-sh/agentapi/v4/pkg/apis/loft/cluster
776776
github.com/loft-sh/agentapi/v4/pkg/apis/loft/cluster/v1
777777
github.com/loft-sh/agentapi/v4/pkg/apis/loft/storage/v1
778778
# github.com/loft-sh/analytics-client v0.0.0-20240219162240-2f4c64b2494e
779779
## explicit; go 1.21
780780
github.com/loft-sh/analytics-client/client
781-
# github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.19
781+
# github.com/loft-sh/api/v4 v4.3.0-devpod.alpha.25
782782
## explicit; go 1.23.1
783783
github.com/loft-sh/api/v4/pkg/apis/audit/v1
784784
github.com/loft-sh/api/v4/pkg/apis/management

0 commit comments

Comments
 (0)