Skip to content

Conversation

jinronga
Copy link
Contributor

@jinronga jinronga commented Jul 4, 2025

…e quality

  • Add fmt and vet targets to Makefile for code formatting and static analysis.
  • Add precheck target to run fmt, vet, lint, and test in one command.
  • Update help section to document new targets.
  • This improves developer experience and CI code quality checks.
  • These changes improve developer experience and make it easier to maintain code quality in CI.

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

…e quality

- Add mt target to run go fmt for code formatting.
- Add �et target to run go vet for static analysis.
- Add precheck target to run fmt, vet, lint, and test in one command.
- Update help section to document new targets.
- These changes improve developer experience and make it easier to maintain code quality in CI.

Signed-off-by: jinronga <1460595002@qq.com>
@jinronga jinronga requested a review from a team as a code owner July 4, 2025 15:24
Copy link

codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.85%. Comparing base (d32cf54) to head (b5dbd6b).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4182      +/-   ##
==========================================
- Coverage   32.88%   32.85%   -0.04%     
==========================================
  Files         350      350              
  Lines       41064    41064              
==========================================
- Hits        13505    13490      -15     
- Misses      26667    26680      +13     
- Partials      892      894       +2     
Flag Coverage Δ
unittests 32.85% <ø> (-0.04%) ⬇️

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

see 4 files with indirect coverage changes

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

@yxxhero yxxhero added the enhancement New feature or request label Jul 5, 2025
@yxxhero yxxhero enabled auto-merge (squash) July 5, 2025 07:39
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@yxxhero yxxhero merged commit b0a6a55 into dragonflyoss:main Jul 7, 2025
17 of 18 checks passed
@jinronga jinronga deleted the feat/ci branch July 9, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants