fix(ci): add explicit failure check to redis readiness loop - #7842
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-21 15:12:23 UTC
Review summary Nits — 3 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7842 +/- ##
=======================================
Coverage 91.37% 91.37%
=======================================
Files 729 729
Lines 74688 74688
Branches 22793 22792 -1
=======================================
Hits 68246 68246
Misses 5396 5396
Partials 1046 1046
Flags with carried forward coverage won't be shown. Click here to find out more. |
Summary
.github/workflows/selfhost.yml's Redis readiness wait loop (lines ~148-150) silently fellthrough with no error if Redis never answered
PONGwithin 30s, so a real Redis-startupregression would surface later as a misleading generic "container did not become healthy"
failure from the app health-check loop instead of pointing directly at Redis. This ports the
exact
ok=0/ok=1/explicit-failure idiom already used by the adjacent app-health readinessloop 9 lines later (lines 157-160) to the Redis loop: same structure, same
::error::+docker logs+exit 1on timeout.Closes #7768
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typecheck(pre-existing failures inpackages/loopover-miner/lib/discover-cli.tsand thesemverdeclaration checks, unrelated to this change — this PR touches only.github/workflows/selfhost.yml)npm run test:coveragenpm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
.github/workflows/selfhost.yml(a CI smoke-test step)— no
src/**,test/**, orapps/**files are touched, sotest:coverage(and thecodecov/patchgate it feeds),test:workers,build:mcp,test:mcp-pack, and allui:*checks have nothing new to exercise; per the linked issue, this class of change is explicitly
not covered by the Codecov patch gate. Verified instead by confirming the new failure path
(
::error::message,docker logs,exit 1) matches the adjacent, already-in-productionapp-health loop's shape exactly, in the same job/runner context.
Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.Notes