Skip to content

Fail fast on unavailable Pier backend#21

Merged
dbroeglin merged 1 commit into
mainfrom
dbroeglin-debugging-pier-runs
Jun 27, 2026
Merged

Fail fast on unavailable Pier backend#21
dbroeglin merged 1 commit into
mainfrom
dbroeglin-debugging-pier-runs

Conversation

@dbroeglin

Copy link
Copy Markdown
Owner

Pier runs could fail before Copilot starts when Docker is unavailable, leaving an empty job where analyze --last only reported missing logs. This makes those failures fail fast and easier to diagnose.

Summary

  • Add Pier backend preflight checks for the Docker CLI, Compose plugin, and daemon reachability before auth or job creation.
  • Surface Pier trial exception details in analyze when no Copilot session log or trajectory exists.
  • Warn about Pier harness failures after run summaries and point reviewers/users at the trial result.json.
  • Document the backend preflight and missing-log diagnostics.

Validation

  • uv run ruff check --fix .
  • uv run ruff format .
  • uv run ruff check .
  • uv run pytest -q

Add a Pier backend preflight so Docker setup failures stop before empty jobs are recorded. Improve analyze diagnostics for Pier trials that fail before Copilot logs are captured.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dbroeglin dbroeglin merged commit 1f5f1b7 into main Jun 27, 2026
7 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.

1 participant