test(selfhost): cover env_get and require_cmd in deploy-common lib (#7769) - #7878
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
…SONbored#7769) Co-authored-by: Cursor <cursoragent@cursor.com>
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-21 15:54:51 UTC
Review summary Nits — 5 non-blocking
CI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionPartially addressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-tests (1), validate-tests (3), validate-tests (2))). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
env_get(plain/quoted values, comments, missing key/file,ENV_FILEfallback)require_cmd(present + missing)compose_file_argsalready covered by the existing compose_file_args()'s fatal exit 1 is silently neutered by mapfile < <(...) at all 4 call sites #7765 suite in the same file — not duplicatedCloses #7769
Test plan
runLibFnharness from prior scripts/lib/selfhost-deploy-common.sh: 3 of 4 functions have zero test coverage #7769 attempt (those tests themselves passed; prior CI failure was empty lcov, not assertion failures)Not a UI change — no screenshot table required.
Made with Cursor