Skip to content

Add Linter, codeQL and vuln workflow - #71

Merged
ZhangYongguang5467 merged 13 commits into
developfrom
feature/linter-codeql-vuln-workflow
Nov 9, 2026
Merged

ZhangYongguang5467 merged 13 commits into
developfrom
feature/linter-codeql-vuln-workflow

Conversation

@tanvir-retailai

Copy link
Copy Markdown
Collaborator

Description

This PR adds a linter, CodeQL, and a govulncheck workflow to maintain a safer and more stable codebase.

How Has This Been Tested?

The workflows will run automatically on every PR.

Comment thread .github/workflows/codeql.yml Fixed
@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.57143% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.55%. Comparing base (8a968c6) to head (538e173).

Files with missing lines Patch % Lines
internal/dbinspect/probe.go 20.00% 4 Missing ⚠️
internal/backup/infra/export/export_mysql.go 50.00% 3 Missing ⚠️
internal/identity/http/handler.go 81.81% 2 Missing ⚠️
internal/backup/infra/export/file_io.go 66.66% 1 Missing ⚠️
internal/replication/infra/redis/link.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #71      +/-   ##
===========================================
- Coverage    87.55%   87.55%   -0.01%     
===========================================
  Files          182      182              
  Lines        16438    16433       -5     
===========================================
- Hits         14393    14388       -5     
  Misses        2045     2045              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

tanvir-retailai and others added 2 commits November 7, 2026 06:47
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🛡️ Go Vulnerability Scan

✅ No vulnerabilities found in code execution pathways. 4 finding(s) are not called by your code.

Called Imported, not called Required, not called
0 0 4
Not called by your code (4), no fix required
  • GO-2026-5932 The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues (required, not called)
  • GO-2026-6303 Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh (required, not called)
  • GO-2026-6354 Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh (required, not called)
  • GO-2026-6355 Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh (required, not called)

Go go1.27.3 · govulncheck v1.9.0 · Vuln DB 2026-11-05T23:49:57Z · commit f0f92dfa · Full HTML report

@ZhangYongguang5467
ZhangYongguang5467 self-requested a review November 9, 2026 06:09

@ZhangYongguang5467 ZhangYongguang5467 left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lint, CodeQL and CI fixes look good, and all checks pass.

@ZhangYongguang5467
ZhangYongguang5467 merged commit 7e264b4 into develop Nov 9, 2026
10 of 12 checks passed
@ZhangYongguang5467
ZhangYongguang5467 deleted the feature/linter-codeql-vuln-workflow branch November 9, 2026 06:46
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.

3 participants