Skip to content

[client] Improve Test Coverage #3533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 106 commits into
base: main
Choose a base branch
from
Draft

[client] Improve Test Coverage #3533

wants to merge 106 commits into from

Conversation

hakansa
Copy link
Member

@hakansa hakansa commented Mar 18, 2025

Describe your changes

[client] Improve Test Coverage

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

pascal-fischer and others added 30 commits January 27, 2025 17:47
Client-side forward handling

Co-authored-by: Viktor Liu <[email protected]>

---------

Co-authored-by: Viktor Liu <[email protected]>
* add peers manager

* Extend peers manager to support retrieving all peers

Signed-off-by: bcmmbaga <[email protected]>

* add network map calc

* move integrations interface

* update management-integrations

* merge main and fix

* go mod tidy

* [management] port forwarding add peer manager fix network map (#3264)

* [management] fix testing tools (#3265)

* Fix net.IPv4 conversion to []byte

* update test to check ipv4

---------

Signed-off-by: bcmmbaga <[email protected]>
Co-authored-by: bcmmbaga <[email protected]>
Co-authored-by: Zoltán Papp <[email protected]>
Add new package ipfwdstate that implements reference counting for IP forwarding
state management. This allows multiple usage to safely request IP forwarding
without interfering with each other.
* add peers ip and name filters

Signed-off-by: bcmmbaga <[email protected]>

* add get peers filter

Signed-off-by: bcmmbaga <[email protected]>

* fix get account peers

Signed-off-by: bcmmbaga <[email protected]>

* Extend GetAccountPeers store to support filtering by name and IP

Signed-off-by: bcmmbaga <[email protected]>

* Fix get peers references

Signed-off-by: bcmmbaga <[email protected]>

---------

Signed-off-by: bcmmbaga <[email protected]>
The nhooyr.io/websocket package was renamed to github.com/coder/websocket when
the project was transferred to "coder" as the new maintainer.

Use the new import path and update go.mod and go.sum accordingly.

Signed-off-by: Christian Stewart <[email protected]>
* fix tag for get endpoint

* update labels
mlsmaycon and others added 28 commits March 9, 2025 19:03
* [client] add resource id fields to netflow events
… handling (#3521)

[client] refactor: optimize forwarder initialization checks in packet handling (#3521)
…3522)

[client] Add DNS and Exit Node collection configuration to Netflow (#3522)
Refactor IdP user data caching by introducing a Redis cache implementation alongside an in-memory fallback, adding a Marshaler interface for flexible serialization, and updating related tests and account management code.

- Added a new cache store implementation with support for Redis and in-memory backends.
- Introduced Marshaler and wrapper types for handling serialization with msgpack and JSON.
- Updated account and user management modules to integrate and test the new caching strategy.
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 New issues
2 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Base automatically changed from feature/flow to main March 20, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants