Commit graph

2,278 commits

Author SHA1 Message Date
Joachim Bauch
0960a714aa
Use "InDelta" to compare values where expected could be "0". 2025-12-09 10:55:10 +01:00
Joachim Bauch
415a49e04b
Run Janus bandwidth tests in parallel. 2025-12-09 10:55:09 +01:00
Joachim Bauch
964e9d2343
Allow running publisher stats tests in parallel. 2025-12-09 10:55:08 +01:00
Joachim Bauch
958f50cec3
Allow running backend configuration tests in parallel. 2025-12-09 10:55:07 +01:00
Joachim Bauch
b86d05de08
Allow running file watcher tests to run in parallel. 2025-12-05 12:15:26 +01:00
Joachim Bauch
9363049e0f
Allow running tests with mock DNS discovery to run in parallel. 2025-12-05 12:02:33 +01:00
Joachim Bauch
4243276698
Merge pull request #1145 from strukturag/linter-updates
Enable more linters
2025-12-05 11:42:33 +01:00
Joachim Bauch
efb90b4216
Add test for "internal.MakePtr". 2025-12-05 11:38:40 +01:00
Joachim Bauch
3178e0ee08
Move TestStorage to separate class for easier reuse. 2025-12-05 11:38:39 +01:00
Joachim Bauch
8510ce45f3
lint: Enable "testifylint" linter. 2025-12-05 11:13:10 +01:00
Joachim Bauch
d8d17734cb
Improve use of testify assertions. 2025-12-05 11:13:09 +01:00
Joachim Bauch
b8e0e5c2c1
lint: Enable "perfsprint" linter. 2025-12-05 11:13:09 +01:00
Joachim Bauch
f338a7b91e
Don't use string formatting without parameters, optimize simple cases. 2025-12-05 11:13:08 +01:00
Joachim Bauch
643c430e36
Use "testStorage" to store ping requests for parallel access. 2025-12-05 11:13:07 +01:00
Joachim Bauch
e0da0529ec
Don't call "t.Setenv" in synctest backport. 2025-12-05 11:09:02 +01:00
Joachim Bauch
f1781719e1
lint: Enable "paralleltest" linter. 2025-12-05 11:09:01 +01:00
Joachim Bauch
4986122493
Run tests in parallel where possible. 2025-12-05 11:09:01 +01:00
Joachim Bauch
c3c3f0bf75
lint: Enable "modernize" linter. 2025-12-05 11:09:00 +01:00
Joachim Bauch
e761ea071b
Use strings.Builder instead of looped string concatenation. 2025-12-05 11:09:00 +01:00
Joachim Bauch
697f659083
lint: Enable "gocritic" linter. 2025-12-05 11:08:59 +01:00
Joachim Bauch
6d3ff0c5ba
Silence error about previous defer not running after "log.Fatal". 2025-12-05 11:08:59 +01:00
Joachim Bauch
bcdf9af5eb
Remove trailing whitespace from key. 2025-12-05 11:08:58 +01:00
Joachim Bauch
5a6dfa0516
Fix comment format. 2025-12-05 11:08:58 +01:00
Joachim Bauch
f237458b35
Don't capitalize variable name. 2025-12-05 11:08:57 +01:00
Joachim Bauch
dd01d98553
Simplify and use range over integer. 2025-12-05 11:08:57 +01:00
Joachim Bauch
57b6b326c0
Simplify string concatenation. 2025-12-05 11:08:56 +01:00
Joachim Bauch
9d07a852a9
Rewrite long if-else chains as switch statements. 2025-12-05 11:08:56 +01:00
Joachim Bauch
694297a6f4
Fix ordering of case statements (found by "gocritic"). 2025-12-05 11:08:55 +01:00
Joachim Bauch
f795bf303d
lint: Enable "exptostd" to detect future std library features. 2025-12-05 11:08:54 +01:00
Joachim Bauch
c581bc14d5
lint: Enable "errchkjson" and update json.Marshal error handling. 2025-12-05 11:08:54 +01:00
Joachim Bauch
98060d48cb
lint: Enable "nilness" check in govet. 2025-12-05 11:08:53 +01:00
Joachim Bauch
55d776d110
Remove unnecessary nil check. 2025-12-05 11:08:52 +01:00
Joachim Bauch
b1c18c7207
lint: Check spelling using "misspell". 2025-12-05 11:08:51 +01:00
Joachim Bauch
55bafac6b7
Fix spelling errors. 2025-12-05 11:08:51 +01:00
Joachim Bauch
66b3049cfc
Merge pull request #1146 from strukturag/dependabot/go_modules/github.com/pion/ice/v4-4.0.13
Bump github.com/pion/ice/v4 from 4.0.12 to 4.0.13
2025-12-04 22:11:22 +01:00
dependabot[bot]
5afa838ee8
Bump github.com/pion/ice/v4 from 4.0.12 to 4.0.13
Bumps [github.com/pion/ice/v4](https://github.com/pion/ice) from 4.0.12 to 4.0.13.
- [Release notes](https://github.com/pion/ice/releases)
- [Commits](https://github.com/pion/ice/compare/v4.0.12...v4.0.13)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v4
  dependency-version: 4.0.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 20:01:43 +00:00
Joachim Bauch
cc934c8b85
Merge pull request #1144 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-9.2.0
Bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
2025-12-04 08:17:00 +01:00
dependabot[bot]
5893fedef4
Bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v9.1.0...v9.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 20:01:54 +00:00
Joachim Bauch
628d34d7ce
Merge pull request #1143 from strukturag/client-version
client: Include version, optimize JSON processing.
2025-12-03 09:56:51 +01:00
Joachim Bauch
4586775afc
client: Include version, optimize JSON processing. 2025-12-03 09:52:08 +01:00
Joachim Bauch
5921830423
Merge pull request #1140 from strukturag/shorter-session-ids
Generate shorter session ids.
2025-12-03 09:48:14 +01:00
Joachim Bauch
093555dc8d
Merge pull request #1142 from strukturag/tarball-version
Include "version.txt" in tarball.
2025-12-03 09:37:28 +01:00
Joachim Bauch
5f58e335c8
make: Include "version.txt" in tarball. 2025-12-03 09:31:32 +01:00
Joachim Bauch
ad15055515
CI: Check that version of tarball builds is not "unknown". 2025-12-03 09:31:14 +01:00
Joachim Bauch
a0b64b30e0
Session ids are unique, no need to include type in cache key. 2025-12-03 07:59:35 +01:00
Joachim Bauch
f3a81c23c3
Implement custom session id codec that generates shorter ids.
Inspired by the previously used https://github.com/gorilla/securecookie
and simplified / adjusted to our use case.
2025-12-02 16:55:43 +01:00
Joachim Bauch
f4fca4f52b
Use microseconds instead of timestamppb object for session creation. 2025-12-02 10:06:47 +01:00
Joachim Bauch
2d729c436d
Merge pull request #1120 from strukturag/transient-sessiondata
Introduce transient session data.
2025-12-02 09:52:23 +01:00
Joachim Bauch
3fe8de1167
Implement transient session data. 2025-12-02 09:47:11 +01:00
Joachim Bauch
805c4cdc81
Describe transient session data. 2025-12-02 09:43:03 +01:00