tests/e2e: brownfield, --fix-failing runs exactly the mapped steps (tests #123)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start with tests/e2e/scenarios-brownfield.sh and the setup-brownfield fixture added by #124, then read the CHECK_STEPS mapping and report_steps used by the audit and fix options in #123. Add the fix-failing scenario, deriving the expected steps from the audit TSV and checking the dry-run plan and actual report. It is done when only mapped steps run, the follow-up audit has no FAIL, and the no-FAIL case exits successfully without creating a report.
索引モデルが issue の本文から書いたものです。
説明
Epic #121 · Tests #123 (epic #109) · Milestone Phase 5: Servers already in use · Priority medium · Size S · Depends on #123, #124
Why
#123 adds --from-audit / --fix-failing: fix only what the audit fails. The test checks that the steps run are exactly the mapped ones, not more.
Scenarios go in tests/e2e/scenarios-brownfield.sh (profile added by #124) and reuse its fixture from setup-brownfield: nginx on 80/443 with a token page, a container -p 8080:80, a deploy user with a key, the 50-site.conf drop-in, UFW with its own rules, a custom fail2ban jail, ptrace_scope = 0, and a "panel" root login on 22 before the run. Extra fixture listed below is added by this issue only.
Scenario fix-failing
-
server-audit.sh --tsv audit.tsvon the brownfield server before the run, then--existing --dry-run --from-audit audit.tsv: the plan prints one "FAIL -> " line per FAIL, and the selected steps equal theCHECK_STEPSmapping of those checks (computed by the test from the TSV). -
--existing --yes --fix-failing:report_stepsshows only the mapped steps as run; every other step is absent or SKIPPED. - The audit after has 0 FAIL.
-
--fix-warningsadds the steps mapped from WARN checks;--onlyand--skipstill apply on top. - An audit file with no FAIL: "nothing to fix", exit 0, no new report in
/root/server-prep-reports. - Optional: the brownfield run of #124 itself uses
--fix-failingonce this lands.
Acceptance criteria
- A step run that is not in the mapping turns the scenario red.
- 主要言語
- Shell
- スター
- 2
- フォーク
- 3
- 平均マージ
- 2日 14分
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
exceev-consulting/server-prep のほかの issue
-
area: docs bug claude documentation good first issue priority: low size: S triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
exceev-consulting/server-prep#225 ·
メンテナーはふだん 2 日以内に返信
-
area: preconfig bug claude priority: medium size: S triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
exceev-consulting/server-prep#224 ·
メンテナーはふだん 2 日以内に返信
-
claude enhancement priority: low size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
exceev-consulting/server-prep#222 ·
メンテナーはふだん 2 日以内に返信
-
e2e flake: boot fails on debian-13 when its genericcloud image is missing from SHA512SUMS対応中かも @exceev-claude が 1 日前に担当しました。 オープンarea: ci bug claude priority: high size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
exceev-consulting/server-prep#212 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
server-audit.sh: flag world-writable directories in /etc such as /etc/dokploy (GHSA-qxjv-6cvh-32c6)オープンarea: audit claude enhancement panel: dokploy priority: high security size: S triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
exceev-consulting/server-prep#211 ·
メンテナーはふだん 2 日以内に返信
exceev-consulting/server-prep の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
huggingface/kernels#1006 ·
メンテナーはふだん 1 日以内に返信
-
severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
luainkernel/lunatik#2594 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
cardano-community/guild-operators#1930 ·
メンテナーはふだん 1 日以内に返信
-
out-of-date
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CachyOS/CachyOS-PKGBUILDS#2136 ·
メンテナーはふだん 1 日以内に返信