Skip to content

Feat: linux preflight structured diagnostics#772

Merged
Lightheartdevs merged 4 commits intoLight-Heart-Labs:mainfrom
fullstackdev0110:feat/linux-preflight-structured-diagnostics
Apr 4, 2026
Merged

Feat: linux preflight structured diagnostics#772
Lightheartdevs merged 4 commits intoLight-Heart-Labs:mainfrom
fullstackdev0110:feat/linux-preflight-structured-diagnostics

Conversation

@fullstackdev0110
Copy link
Copy Markdown
Contributor

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-file output 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 from LINUX-PORTABILITY.md and INSTALL-TROUBLESHOOTING.md.

Tests / CI: tests/test-linux-install-preflight.sh, make test and Test Linux workflow run it.

… 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
@Lightheartdevs
Copy link
Copy Markdown
Collaborator

Conflict after merging 17 other PRs — likely from #778 (SEARXNG_SECRET in test fixtures) or #777 (doctor curls). Needs a rebase, then it's approved and ready.

@fullstackdev0110
Copy link
Copy Markdown
Contributor Author

Resolved the conflict, please check again.

@Lightheartdevs Lightheartdevs merged commit 44036f3 into Light-Heart-Labs:main Apr 4, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants