fix: offer dnf install kind on Fedora when kind is missing#621
fix: offer dnf install kind on Fedora when kind is missing#621github-actions[bot] wants to merge 2 commits intomainfrom
dnf install kind on Fedora when kind is missing#621Conversation
|
Amber, this is incorrect. You're not fixing my bug. Read the full issue text. You've biased towards the summary field text |
Merge Readiness — Blockers Found
|
|
Closing — this PR improves the error messages but doesn't implement what #620 asks for (auto-offering |
This comment has been minimized.
This comment has been minimized.
On dnf-based systems, `make kind-up` now suggests `sudo dnf install kind` instead of just linking to the upstream docs. Non-dnf systems still get the install URL. Closes #620 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
e3425f8 to
78f6358
Compare
dnf install kind on Fedora when kind is missing
Validates three scenarios by manipulating PATH: 1. kind present → exits 0 2. kind absent, dnf present → shows "sudo dnf install kind" 3. kind absent, dnf absent → shows install URL Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude Code ReviewSummaryThis PR makes a single, well-scoped change to the Issues by SeverityBlocker IssuesNone. Critical IssuesNone. Major IssuesNone. Minor Issues1.
2. Color highlighting inconsistency with sibling
Positive Highlights
Recommendations
Overall this is a solid, non-risky developer-experience improvement. The two suggestions above are optional polish rather than blockers. 🔍 View AI decision process (logs available for 90 days) 📋 View memory system files loaded (click to expand)What Amber Loaded for Code ReviewAmber automatically loaded these repository standards from the memory system:
Impact: This review used your repository's specific code quality standards, security patterns, and best practices from the memory system (PRs #359, #360) - not just generic code review guidelines. |
Claude Code ReviewSummaryThis PR makes a focused, DX-friendly improvement to the Issues by SeverityBlocker IssuesNone Critical IssuesNone Major IssuesNone Minor Issues1. Header comment reports wrong exit code for failure cases The actual test cases (lines 64 and 69) correctly expect exit code 2, which is what GNU Make returns when a recipe command fails ( Fix: Update the header comment to match reality: # 2. kind absent, dnf present → shows "sudo dnf install kind", exits 2
# 3. kind absent, dnf absent → shows install URL, exits 22. output=$(env PATH="$path_override" make -C "$MAKEFILE_DIR" check-kind 2>&1) || true
actual_exit=${PIPESTATUS[0]:-$?} # always 0 here due to || true
# Re-run to capture exit code properly (pipe eats it)
env PATH="$path_override" make -C "$MAKEFILE_DIR" check-kind >/dev/null 2>&1
actual_exit=$?The first run captures A cleaner approach avoids the double invocation: output=$(env PATH="$path_override" make -C "$MAKEFILE_DIR" check-kind 2>&1)
actual_exit=$?
Positive Highlights
Recommendations
Review performed by Claude Code against project security, architecture, and quality standards. 🔍 View AI decision process (logs available for 90 days) 📋 View memory system files loaded (click to expand)What Amber Loaded for Code ReviewAmber automatically loaded these repository standards from the memory system:
Impact: This review used your repository's specific code quality standards, security patterns, and best practices from the memory system (PRs #359, #360) - not just generic code review guidelines. |
Review Queue — Not Ready to MergeThis PR doesn't implement what issue #620 originally requested. @ktdreyer noted on Feb 13 that this doesn't fix the actual bug, and @jeremyeder attempted to close it on Mar 7 stating it "improves error messages but doesn't implement what #620 asks for (auto-offering Despite bot reviews marking it technically sound, the PR solves a different problem than what was requested. To unblock: Close this PR and create a new one that implements the actual feature request, or get explicit maintainer approval that the current scope is acceptable. |
Summary
make kind-upnow suggestssudo dnf install kindinstead of just linking to upstream docsTest plan
make kind-up(without kind installed) showssudo dnf install kindCloses #620
🤖 Generated with Claude Code