Skip to content

feat: 适配本科生10位学号 - #521

Merged
ACaiCat merged 4 commits into
west2-online:mainfrom
Penty-d:feat/newstuid
Aug 5, 2026
Merged

feat: 适配本科生10位学号#521
ACaiCat merged 4 commits into
west2-online:mainfrom
Penty-d:feat/newstuid

Conversation

@Penty-d

@Penty-d Penty-d commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

自查 PR 结构

  • PR 标题符合这个格式: <type>(optional scope): <description>

  • 此 PR 标题的描述以用户为导向,足够清晰,其他人可以理解。

  • 我已经对所有 commit 提供了签名(GPG 密钥签名、SSH 密钥签名)

  • 这个 PR 属于强制变更/破坏性更改

如果是,请在 PR 标题中添加 BREAKING CHANGE 前缀,并在 PR 描述中详细说明。

这个 PR 的类型是什么?

feat

这个 PR 做了什么 / 我们为什么需要这个 PR?

适配本科生10位学号

(可选)这个 PR 解决了哪个/些 issue?

对 Reviewer 预留的一些提醒

此更改只是基于10位学号的identifier的一个假设,由于没有账号测试用例,因此并没有经过测试

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
- Coverage   65.41%   64.37%   -1.05%     
==========================================
  Files         241      241              
  Lines        6521     6527       +6     
==========================================
- Hits         4266     4202      -64     
- Misses       2096     2170      +74     
+ Partials      159      155       -4     
Flag Coverage Δ
unittest 64.37% <100.00%> (-1.05%) ⬇️

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

Files with missing lines Coverage Δ
pkg/base/context/login_data.go 83.33% <100.00%> (+8.33%) ⬆️
pkg/utils/id.go 85.71% <100.00%> (+10.71%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Penty-d

Penty-d commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

居然是机魂不悦……

Comment thread pkg/utils/id.go Outdated
Comment thread pkg/constants/jwch.go Outdated
Comment thread pkg/utils/id.go Outdated
Comment thread pkg/base/context/login_data_test.go Outdated
Penty-d and others added 2 commits August 5, 2026 14:38
Co-authored-by: Cai <13110818005@qq.com>
Signed-off-by: Pentyd <69415577+Penty-d@users.noreply.github.com>
@ACaiCat
ACaiCat merged commit 5e2dbc9 into west2-online:main Aug 5, 2026
6 checks passed
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.

2 participants