Feat: linux preflight structured diagnostics#772
Merged
Lightheartdevs merged 4 commits intoLight-Heart-Labs:mainfrom Apr 4, 2026
Merged
Conversation
… docs Add scripts/linux-install-preflight.sh for Docker/Compose/disk/NVIDIA/distro checks with stable IDs and JSON output; delegate via dream-preflight.sh --install-env. Add LINUX-TROUBLESHOOTING-GUIDE, FIELD-INSTALL-REPORT-LINUX, EXTENSION-PR-BRANCHING; tests in Makefile and CI.
…tests - Replace f-string dict access that used backslashes (Python <3.12 SyntaxError) with plain print; show exit_ok as true/false - test-preflight-fixtures.sh: use json_summary_blockers with Python fallback when jq is not installed so make test passes on minimal systems
…e header - test-port-contracts: from __future__ import annotations for dict[...] types - test-validate-env: add SEARXNG_SECRET to fixtures (required in schema) - extension-runtime-check: INFO lines include 'Extension runtime check' when skipping
Collaborator
Contributor
Author
|
Resolved the conflict, please check again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
scripts/linux-install-preflight.sh: Linux environment checks (distro fingerprint, Docker/Compose, disk, NVIDIA container runtime, optional signals) with stable check IDs and--json/--json-fileoutput for field reports and automation.Wires
./dream-preflight.sh --install-env(and--env-report) to delegate to this script.Docs:
LINUX-TROUBLESHOOTING-GUIDE.md(ID-indexed),FIELD-INSTALL-REPORT-LINUX.md,EXTENSION-PR-BRANCHING.md; cross-links fromLINUX-PORTABILITY.mdandINSTALL-TROUBLESHOOTING.md.Tests / CI:
tests/test-linux-install-preflight.sh,make testand Test Linux workflow run it.