Skip to content

Conversation

@fgeygfe
Copy link

@fgeygfe fgeygfe commented Feb 9, 2026

Motivation

NO.33 功能模块 fastdeploy/config.py 单测补充

Modifications

add unittest tests\utils\test_config.py

develop 分支:覆盖率83%,Miss行数149(126, 149-150, 160, 275, 278, 307-309, 313-314, 343-344, 348-351, 353->356, 362, 375-376, 386->exit, 396, 414-422, 438, 442->435, 445, 459, 471, 528-535, 545->551, 564, 569, 576->575, 589, 694-696, 782, 786, 794-797, 803->exit, 825-828, 834-853, 873, 1030-1033, 1051->1057, 1057->1061, 1174->1178, 1178->1181, 1181->exit, 1192, 1196, 1282, 1323-1326, 1414, 1418-1419, 1421-1422, 1441, 1451, 1453, 1555->1557, 1571-1574, 1581-1584, 1700, 1751, 1761-1763, 1777, 1779, 1791-1792, 1810-1811, 1816-1825, 1827->1830, 1833, 1841-1852, 1865-1871, 1887-1888, 1895-1896, 1909-1916, 1920, 2009-2012, 2031-2041, 2045->2049, 2050->2055, 2061-2064, 2076-2077, 2085->2074, 2148-2155)
image

当前PR:覆盖率94%,Miss行数42
image

完成单测覆盖行数149-42=107

Usage or Command

no need

Accuracy Tests

no need

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Feb 9, 2026

Thanks for your contribution!

@codecov-commenter
Copy link

codecov-commenter commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@b84056f). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #6417   +/-   ##
==========================================
  Coverage           ?   68.43%           
==========================================
  Files              ?      391           
  Lines              ?    52747           
  Branches           ?     8214           
==========================================
  Hits               ?    36099           
  Misses             ?    14027           
  Partials           ?     2621           
Flag Coverage Δ
GPU 68.43% <ø> (?)

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.

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

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants