Skip to content

docs: Troubleshooting for contributor environments, with gate hints (#694) - #718

Merged
zackees merged 2 commits into
masterfrom
docs/694-env-troubleshooting
Oct 14, 2026
Merged

zackees merged 2 commits into
masterfrom
docs/694-env-troubleshooting

Conversation

@zackees

@zackees zackees commented Oct 14, 2026

Copy link
Copy Markdown
Member

Fixes #694
Refs #699

  • New docs/rust-port/troubleshooting.md gives the cause and fix for each error in the issue:

    • soldr: IO error: Permission denied (os error 13): ownership of ~/.soldr/target/
    • soldr: command not found: uv tool install --upgrade soldr
    • the soldr low-disk warning (< 10 GiB): soldr gc and Docker volumes
    • native Tier 2 against host FFmpeg 7.1: Tier 2 runs in Docker via ./unittest
    • Docker not reachable

    It opens with "if your environment fights you, open the PR and let CI run". AGENTS.md and coordination.md link to it.

  • ci/local_gate.py (behind ./lint and ./unittest) now streams each command's output through a filter. When it sees one of these errors, it prints a one-line hint: naming the fix and the doc. A missing soldr binary (previously an uncaught FileNotFoundError traceback) now fails the lane cleanly with the hint.

RED → GREEN

  • RED: 7 new cases in ci/test_local_gate.py fail (no hints_for; run prints no hint).
  • GREEN: ci/test_local_gate.py 8/8 pass. The existing cache test now also patches local_gate.run, since run uses Popen to stream. ./lint is ok and its output still streams.

@zackees
zackees enabled auto-merge October 14, 2026 09:11
docs/rust-port/troubleshooting.md maps each environment failure (soldr
permissions, soldr not found, low disk, Tier 2 against host FFmpeg, Docker)
to its cause and fix, and says to open the PR and let CI run when the
environment fights back. local_gate.py (./lint, ./unittest) streams command
output and prints a one-line hint pointing there for each of these errors,
including a missing soldr binary.

Fixes #694
@zackees
zackees force-pushed the docs/694-env-troubleshooting branch from 62e3ddc to df0d991 Compare October 14, 2026 09:12
@zackees
zackees added this pull request to the merge queue Oct 14, 2026
Merged via the queue into master with commit 9f89c5e Oct 14, 2026
20 checks passed
@zackees
zackees deleted the docs/694-env-troubleshooting branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

docs: Troubleshooting for contributor environments (soldr permissions, disk, Tier 2 outside Docker)

1 participant