Skip to content
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

feat(server): client version check #9205

Open
wants to merge 7 commits into
base: canary
Choose a base branch
from
Open

Conversation

darkskygit
Copy link
Member

No description provided.

@github-actions github-actions bot added app:server test Related to test cases labels Dec 19, 2024
Copy link
Member Author

darkskygit commented Dec 19, 2024


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 98.96907% with 2 lines in your changes missing coverage. Please review.

Project coverage is 51.76%. Comparing base (e8aabed) to head (fae6343).
Report is 1 commits behind head on canary.

Files with missing lines Patch % Lines
packages/backend/server/src/base/guard/guard.ts 90.00% 1 Missing ⚠️
...ackages/backend/server/src/core/auth/controller.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #9205      +/-   ##
==========================================
+ Coverage   51.66%   51.76%   +0.09%     
==========================================
  Files        2154     2158       +4     
  Lines       97039    97225     +186     
  Branches    16173    16192      +19     
==========================================
+ Hits        50140    50332     +192     
+ Misses      45567    45142     -425     
- Partials     1332     1751     +419     
Flag Coverage Δ
server-test 78.29% <98.96%> (+0.15%) ⬆️
unittest 31.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Brooooooklyn Brooooooklyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some tests

@darkskygit darkskygit force-pushed the darksky/version-check branch 2 times, most recently from 1e876b8 to 6de0745 Compare December 19, 2024 09:47
@darkskygit darkskygit force-pushed the darksky/version-check branch from eb7c0a5 to 6a54784 Compare December 20, 2024 07:34
@darkskygit darkskygit force-pushed the darksky/version-check branch 2 times, most recently from 12b06fa to f95fbe9 Compare December 23, 2024 10:50
}
}

async checkVersion(clientVersion?: any) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might need the channel control, cross channel connections should be forbidden

@darkskygit darkskygit force-pushed the darksky/version-check branch from f95fbe9 to f91d9a2 Compare December 30, 2024 09:18
@darkskygit darkskygit force-pushed the darksky/version-check branch from f91d9a2 to fae6343 Compare December 31, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:server test Related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants