Skip to content

Feature/add GitHub lfs#79

Open
Zherphy wants to merge 17 commits intorelease/1230from
feature/add-github-lfs
Open

Feature/add GitHub lfs#79
Zherphy wants to merge 17 commits intorelease/1230from
feature/add-github-lfs

Conversation

@Zherphy
Copy link
Copy Markdown
Collaborator

@Zherphy Zherphy commented Mar 25, 2026

描述

相关 Issue

变更类型

  • Bug 修复
  • 新功能
  • 代码重构
  • 文档更新
  • 样式改进
  • 性能优化
  • 测试相关
  • 其他

Zherphy added 16 commits March 23, 2026 16:41
… enforce Superpowers+workflow integration

- Save Reviewer Agent report (.ai/reviews/review-feat-20260324.md): Needs Revision with 8 fail items
- Add LL-001~005 to .ai/lessons-learned.md (header-after-WriteHeader, void-helper double-write, server->db cross-layer, unused mock server, Superpowers bypassing workflow)
- Add AP-001~003 to .ai/anti-patterns.md with machine-detectable grep commands
- Update CLAUDE.md rules 2 & 3: enforce superpowers:brainstorming + task-prompt-generator as mandatory parallel steps; enforce superpowers:verification-before-completion + code-review-validation before every commit
…w-feat-20260324

- F1: move LFS-Authenticate header before WriteHeader in dealWithAuthError and dealWithGithubAuthError
- F2: addGithubMetaData returns error; handleGithubBatch returns early on error to prevent double write
- F4/F5/F6: rewrite github_auth_test.go with patchGithubAPI monkey-patch helper; 13 tests cover all paths with mock server, no real API calls
- F7: verifyGithubDownload fallback distinguishes 401 vs 403; propagates unauthorized prefix for expired tokens
- S1: verifyGithubDelete English-only error with unauthorized: prefix for correct HTTP status classification
@opensourceways-bot
Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot
Copy link
Copy Markdown

Linking Issue Notice

@Zherphy , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

@opensourceways-robot
Copy link
Copy Markdown

开始门禁检查,等门禁检查通过后可以合入

@opensourceways-bot
Copy link
Copy Markdown

检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot
Copy link
Copy Markdown

检查项 状态 日志
DT覆盖率 36.2% 查看日志
敏感信息扫描 查看日志
开源代码漏洞扫描 查看日志
Check代码检查 查看日志
安全编码扫描 查看日志
流水线链接 点击跳转

…ocal-ci-go skill

Security fixes:
- Add #nosec G706 to log.Printf in server.go (%q format, 4 locations)
- Add #nosec G304 to os.ReadFile in utils/util.go and auth/gitee.go

PowerShell CI script fixes (run_tests/run_security/run_gitleaks.ps1):
- Quote './...' and '-func=coverage.out' to prevent argument splitting
- Fix '${file}:' variable expansion and '/${file}:' path matching
- Set ErrorActionPreference=Continue before native commands writing stderr

Tests:
- auth/gitee_test.go: add TestVerifyUserDelete/Upload/Download,
  TestResolveScriptPath, TestCreateTempOutputFile, TestParseOutputFile,
  TestGetAccountManageToken, TestGetOpenEulerUserInfo, TestGetLFSMapping
- server/server_test.go: add TestApplySearchFilter

CI skill:
- Add .ai/skills/local-ci-go/ with full scripts (tests, security, gitleaks,
  prerequisites, install tools, run_all, security-fix agents)
@opensourceways-bot
Copy link
Copy Markdown

CLA Signature Pass

Zherphy, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-robot
Copy link
Copy Markdown

开始门禁检查,等门禁检查通过后可以合入

@opensourceways-bot
Copy link
Copy Markdown

检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
DT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot
Copy link
Copy Markdown

检查项 状态 日志
DT覆盖率 44.1% 查看日志
敏感信息扫描 查看日志
开源代码漏洞扫描 查看日志
Check代码检查 查看日志
安全编码扫描 查看日志
流水线链接 点击跳转

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants