[Tests] Smaller areas tracker (83 files, 28 subsystems)

オープン
#70,469 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

Start with the latest Codecov report and choose a low-coverage file from one area, then read its existing tests and the #64696 note about __salt__ detection. Add tests until each file in the chosen area reaches at least 80% line coverage; the tracker lists the 83 files across 28 areas, and prefers one PR per area or small cluster.

索引モデルが issue の本文から書いたものです。

説明

Tests

Overview

Companion tracker to #70468, scoped to the smaller salt/ areas in the leftover 2023 [Increase Test Coverage] sprint — all the subsystems outside modules/states/utils/runners/matchers/thorium/output/client/beacons/returners.

Target: raise each listed file to ≥80% line coverage.
Total files: 83 across 28 areas.

Scope notes
  • Only files that currently exist on master are listed. Files moved to saltext.* extensions have been removed.
  • Use the latest Codecov report to prioritize the lowest-coverage files first.
  • One PR per area (or a small cluster) is preferred over mega-PRs.
  • The historical note on __salt__ detection in #64696 still applies.
Progress

salt/netapi/ (8)

  • salt/netapi/rest_cherrypy/__init__.py
  • salt/netapi/rest_cherrypy/app.py
  • salt/netapi/rest_cherrypy/event_processor.py
  • salt/netapi/rest_cherrypy/tools/websockets.py
  • salt/netapi/rest_tornado/__init__.py
  • salt/netapi/rest_tornado/event_processor.py
  • salt/netapi/rest_tornado/saltnado_websockets.py
  • salt/netapi/rest_wsgi.py

salt/pillar/ (6)

  • salt/pillar/cmd_json.py
  • salt/pillar/cmd_yaml.py
  • salt/pillar/file_tree.py
  • salt/pillar/gpg.py
  • salt/pillar/postgres.py
  • salt/pillar/sql_base.py

salt/wheel/ (6)

  • salt/wheel/config.py
  • salt/wheel/error.py
  • salt/wheel/file_roots.py
  • salt/wheel/key.py
  • salt/wheel/minions.py
  • salt/wheel/pillar_roots.py

salt/cli/ (5)

  • salt/cli/batch.py
  • salt/cli/call.py
  • salt/cli/caller.py
  • salt/cli/daemons.py
  • salt/cli/salt.py

salt/grains/ (5)

  • salt/grains/disks.py
  • salt/grains/extra.py
  • salt/grains/mdadm.py
  • salt/grains/opts.py
  • salt/grains/rest_sample.py

salt/ (top-level .py) (4)

  • salt/key.py
  • salt/runner.py
  • salt/scripts.py
  • salt/syspaths.py

salt/engines/ (4)

  • salt/engines/reactor.py
  • salt/engines/test.py
  • salt/engines/thorium.py
  • salt/engines/webhook.py

salt/fileserver/ (4)

  • salt/fileserver/__init__.py
  • salt/fileserver/gitfs.py
  • salt/fileserver/minionfs.py
  • salt/fileserver/roots.py

salt/roster/ (4)

  • salt/roster/ansible.py
  • salt/roster/cache.py
  • salt/roster/range.py
  • salt/roster/sshknownhosts.py

salt/serializers/ (4)

  • salt/serializers/json.py
  • salt/serializers/msgpack.py
  • salt/serializers/yaml.py
  • salt/serializers/yamlex.py

salt/auth/ (3)

  • salt/auth/file.py
  • salt/auth/ldap.py
  • salt/auth/pam.py

salt/renderers/ (3)

  • salt/renderers/json.py
  • salt/renderers/msgpack.py
  • salt/renderers/py.py

salt/spm/ (3)

  • salt/spm/__init__.py
  • salt/spm/pkgdb/sqlite3.py
  • salt/spm/pkgfiles/local.py

salt/_logging/ (2)

  • salt/_logging/handlers.py
  • salt/_logging/mixins.py

salt/channel/ (2)

  • salt/channel/client.py
  • salt/channel/server.py

salt/cloud/ (2)

  • salt/cloud/__init__.py
  • salt/cloud/clouds/saltify.py

salt/executors/ (2)

  • salt/executors/splay.py
  • salt/executors/sudo.py

salt/loader/ (2)

  • salt/loader/__init__.py
  • salt/loader/context.py

salt/metaproxy/ (2)

  • salt/metaproxy/deltaproxy.py
  • salt/metaproxy/proxy.py

salt/proxy/ (2)

  • salt/proxy/deltaproxy.py
  • salt/proxy/dummy.py

salt/sdb/ (2)

  • salt/sdb/env.py
  • salt/sdb/yaml.py

salt/tops/ (2)

  • salt/tops/ext_nodes.py
  • salt/tops/saltclass.py

salt/daemons/ (1)

  • salt/daemons/masterapi.py

salt/defaults/ (1)

  • salt/defaults/__init__.py

salt/ext/ (1)

  • salt/ext/win_inet_pton.py

salt/platform/ (1)

  • salt/platform/win.py

salt/tokens/ (1)

  • salt/tokens/localfs.py

salt/transport/ (1)

  • salt/transport/base.py
主要言語
Python
スター
15.8k
フォーク
5.6k
平均マージ
5日 9時間
マージ済み PR(30日)
99

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

saltstack/salt のほかの issue

saltstack/salt の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。