Commit graph

1320 commits

Author SHA1 Message Date
Joachim Bauch 955a623419
Merge pull request #416 from strukturag/golangci-fix
Explicitly use type "sysConn".
2023-02-07 10:06:37 +01:00
Joachim Bauch e1761da4a8
Explicitly use type "sysConn".
Fixes error with newer versions of golangci-lint.
2023-02-07 09:04:35 +01:00
Joachim Bauch 2df1dc467a
Merge pull request #410 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.52.3
build(deps): Bump google.golang.org/grpc from 1.52.1 to 1.52.3
2023-01-31 09:21:20 +01:00
Joachim Bauch 1bf860f9f1
Merge pull request #412 from strukturag/dependabot/github_actions/docker/build-push-action-4
build(deps): Bump docker/build-push-action from 3 to 4
2023-01-31 09:04:09 +01:00
Joachim Bauch 570baa78f4
Merge pull request #409 from strukturag/switchto-support
Implement "switchto" support
2023-01-31 08:53:28 +01:00
dependabot[bot] 44fe19f9e3
build(deps): Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 20:02:43 +00:00
Joachim Bauch bb24bf5f0d
Implement switchto messages. 2023-01-30 15:41:55 +01:00
dependabot[bot] 5266e58663
build(deps): Bump google.golang.org/grpc from 1.52.1 to 1.52.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.1 to 1.52.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.1...v1.52.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 20:03:14 +00:00
Joachim Bauch 69dfb0686f
API: Document switchto messages. 2023-01-26 16:57:37 +01:00
Joachim Bauch 1e1da6f8dd
Merge pull request #408 from strukturag/ci-docker-compose
CI: Update building with docker-compose
2023-01-26 08:32:39 +01:00
Joachim Bauch 42b18d5547
Add note on requiring docker-compose v2 to the readme. 2023-01-26 08:26:13 +01:00
Joachim Bauch 7d4ba11207
CI: Build with docker-compose 2.15.1 2023-01-26 08:23:53 +01:00
Joachim Bauch 7cf0bd8b88
Merge pull request #406 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.52.1
build(deps): Bump google.golang.org/grpc from 1.52.0 to 1.52.1
2023-01-26 08:03:30 +01:00
Joachim Bauch 335e280e62
Merge pull request #407 from strukturag/dependabot/pip/docs/readthedocs-sphinx-search-0.2.0
build(deps): Bump readthedocs-sphinx-search from 0.1.2 to 0.2.0 in /docs
2023-01-26 08:03:01 +01:00
Joachim Bauch 313dfa2c61
CI: Also run docker-compose jobs if Dockerfile is changed. 2023-01-26 08:02:17 +01:00
Joachim Bauch 50390ba1be
CI: Update condition when to run docker-compose jobs. 2023-01-26 07:59:20 +01:00
dependabot[bot] 1899628c1b
build(deps): Bump readthedocs-sphinx-search from 0.1.2 to 0.2.0 in /docs
Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.2 to 0.2.0.
- [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases)
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/commits)

---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 20:05:32 +00:00
dependabot[bot] 067a69bc12
build(deps): Bump google.golang.org/grpc from 1.52.0 to 1.52.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.0 to 1.52.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.0...v1.52.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 20:02:29 +00:00
Joachim Bauch efe1ef368f
Merge pull request #405 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-3.4.0
build(deps): Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0
2023-01-24 07:51:28 +01:00
dependabot[bot] 982ad47e95
build(deps): Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 20:03:58 +00:00
Joachim Bauch 10fa5f03b1
Merge pull request #404 from strukturag/dependabot/go_modules/go.etcd.io/etcd/server/v3-3.5.7
build(deps): Bump go.etcd.io/etcd/server/v3 from 3.5.6 to 3.5.7
2023-01-23 09:43:03 +01:00
dependabot[bot] b22d88df71
build(deps): Bump go.etcd.io/etcd/server/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/server/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/server/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 08:35:31 +00:00
Joachim Bauch 4943403cd7
Merge pull request #403 from strukturag/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.7
build(deps): Bump go.etcd.io/etcd/client/v3 from 3.5.6 to 3.5.7
2023-01-23 09:34:22 +01:00
dependabot[bot] 5c6ac999a6
build(deps): Bump go.etcd.io/etcd/client/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 08:26:02 +00:00
Joachim Bauch fa645ad2d3
Merge pull request #402 from strukturag/dependabot/go_modules/go.etcd.io/etcd/api/v3-3.5.7
build(deps): Bump go.etcd.io/etcd/api/v3 from 3.5.6 to 3.5.7
2023-01-23 09:10:21 +01:00
dependabot[bot] 1b13494c04
build(deps): Bump go.etcd.io/etcd/api/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/api/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/api/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 20:03:10 +00:00
Joachim Bauch fdfd627b43
Merge pull request #399 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.23.0
build(deps): Bump github.com/nats-io/nats.go from 1.22.1 to 1.23.0
2023-01-19 12:00:07 +01:00
Joachim Bauch be39cee1ea
Merge pull request #397 from strukturag/etcd-update-timeout
Test: add timeout while waiting for etcd event.
2023-01-19 11:59:37 +01:00
dependabot[bot] a9b32ea833
build(deps): Bump github.com/nats-io/nats.go from 1.22.1 to 1.23.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.22.1...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 20:03:08 +00:00
Joachim Bauch 86ee075a3b
Prevent endless loop in case of context timeout / cancellation. 2023-01-18 16:46:25 +01:00
Joachim Bauch 05b9f4d6c9
Always process initial joined / virtual session flags asynchronously.
Otherwise the ordering might be different as the initial messages could be
received before previous asynchronous messages.
2023-01-18 16:44:31 +01:00
Joachim Bauch 567183747a
Mark functions as test helpers. 2023-01-18 15:43:32 +01:00
Joachim Bauch f5261135d2
Fix error message to log what is actually expected. 2023-01-18 15:43:16 +01:00
Joachim Bauch b7f221705a
Close message channel before closing client.
Otherwise the call to "Close" might wait forever for the message processing
goroutine to finish.
2023-01-18 14:26:40 +01:00
Joachim Bauch 6395b87577
Test: log number of active read/write pumps in case of error.
Also dump goroutines to help tracking down what is blocking cleanup.
2023-01-18 14:26:40 +01:00
Joachim Bauch 89637c0a51
Test: add timeout while waiting for etcd event. 2023-01-17 15:41:51 +01:00
Joachim Bauch ef58f9087a
CI: Increase timeout for tests. 2023-01-17 15:15:00 +01:00
Joachim Bauch 8201e433d3
Merge pull request #396 from strukturag/test-count-goroutines
Fix goroutines leak check.
2023-01-17 14:58:25 +01:00
Joachim Bauch 0020076f2b
Run function to test for goroutine leaks as subtest.
This makes sure the test has been completely teared down before the
goroutines are counted and thus should prevent flaky failed tests.
2023-01-17 14:51:02 +01:00
Joachim Bauch 5a12959821
Test: Fix counting / comparing of goroutines. 2023-01-17 14:34:01 +01:00
Joachim Bauch 58bbe76b06
Merge pull request #395 from strukturag/handled-throttled-response
Improve handling of throttled responses from Nextcloud.
2023-01-17 13:44:00 +01:00
Joachim Bauch 5af8636573
Improve handling of throttled responses from Nextcloud. 2023-01-17 13:33:47 +01:00
Joachim Bauch 7bd6fdd93f
Merge pull request #394 from strukturag/messages-done-wg
Stop using WaitGroup to detect finished message processing.
2023-01-17 12:24:08 +01:00
Joachim Bauch 8de8b39a5c
Stop using WaitGroup to detect finished message processing.
This causes flaky races if "Wait" and "Add" are being used from different
goroutines.
2023-01-17 12:09:06 +01:00
Joachim Bauch 2582e4ffb4
Set "platforms" when building with docker-compose.
Follow-up to #384.
2023-01-17 11:59:38 +01:00
Joachim Bauch 0f9090bced
CI: Retry - Update permissions to deploy Docker images. 2023-01-17 11:56:33 +01:00
Joachim Bauch 374492a3a8
CI: Update permissions to deploy Docker images. 2023-01-17 11:48:31 +01:00
Joachim Bauch f1f16f6a22
Merge pull request #393 from strukturag/ci-permissions
CI: Setup permissions for workflows.
2023-01-17 11:42:34 +01:00
Joachim Bauch be4348fc3c
Merge pull request #384 from Zoey2936/master
add aarch64/arm64 docker build
2023-01-17 11:33:27 +01:00
Joachim Bauch e366def1ab
Merge pull request #387 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.11
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.10 to 2.9.11
2023-01-17 11:30:30 +01:00