go-update icon indicating copy to clipboard operation
go-update copied to clipboard

Component update server for brave-core written in Go

Results 20 go-update issues
Sort by recently updated
recently updated
newest added

It would be good to know the amount of users for each component that we have. I think this would look like just a mapping of (componentID, version) => count...

Related to conversation in https://bravesoftware.slack.com/archives/C61QQMWS3/p1592948077272000 I get the below, invalid JSON response back from the server when requesting extension updates sometimes ``` )]}' {"response":{"server":"prod","protocol":"3.1","daystart":{"elapsed_seconds":76972,"elapsed_days":4922},"app":[{"appid":"ndgeclhidhlfgmjdcapejaldbahmkgbi","status":"error-unknownApplication"}]}} ``` Possibly related to requesting extensions...

Profiling will help understand which parts of the code are slow under normal or higher load.

``` goroutine 32 [runnable]: app/vendor/github.com/brave/go-update/controller.initExtensionUpdatesFromDynamoDB() /go/src/app/vendor/github.com/brave/go-update/controller/controller.go:75 +0x3ed app/vendor/github.com/brave/go-update/controller.RefreshExtensionsTicker.func1(0xc420390000, 0xad5220) /go/src/app/vendor/github.com/brave/go-update/controller/controller.go:88 +0x58 created by app/vendor/github.com/brave/go-update/controller.RefreshExtensionsTicker /go/src/app/vendor/github.com/brave/go-update/controller/controller.go:86 +0x63 goroutine 52 [IO wait]: internal/poll.runtime_pollWait(0x7f275505ba20, 0x72, 0xc420735a68) /usr/local/go/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420394a98, 0x72, 0xffffffffffffff00, 0xb5b9e0, 0xe0d4d0)...

Current log format: ``` time="2019-02-27T05:31:20Z" level=info msg="request complete" X-Forwarded-For="73.121.137.159, 157.52.75.67" X-Forwarded-Host=go-updater.brave.com http_method=POST http_proto=HTTP/1.1 http_scheme=http remote_addr=73.121.137.159 req_id=160e79999b4f/31vUVbNUag-001580 resp_bytes_length=2954 resp_elapsed_ms=0.356856 resp_status=200 uri="http://go-updater.brave.com/extensions" user_agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://togithub.com/github/codeql-action) | action | patch | `v3.25.12` -> `v3.25.15` | ---...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [golangci/golangci-lint-action](https://togithub.com/golangci/golangci-lint-action) | action | digest | `a4f60bb` -> `aaa42aa` | ---...

For https://github.com/brave/devops/issues/12086

For https://github.com/brave/devops/issues/10731