Stop CI and checks pipelines from swallowing CLI failures #645

Closed
opened 2026-05-06 19:56:26 +00:00 by barrettruth · 0 comments
Owner

Parent: #634

Problem

Some GitLab and Forgejo CI/check commands use shell pipelines with redirected stderr, fragile pipe status, or jq fallbacks that can turn auth, network, repo, or API failures into empty output. That defeats picker/log error handling because the failure never reaches the shared formatter.

Scope

  • Audit GitLab and Forgejo CI/check/list/log command builders.
  • Preserve nonzero CLI/API failures through shell pipelines.
  • Avoid 2>/dev/null or empty JSON defaults where they erase actionable errors.
  • Add backend command tests for auth/network/API failure-like stderr.

Non-goals

  • Do not add new CI features.
  • Do not redesign CI navigation or schemas.
Parent: #634 ## Problem Some GitLab and Forgejo CI/check commands use shell pipelines with redirected stderr, fragile pipe status, or `jq` fallbacks that can turn auth, network, repo, or API failures into empty output. That defeats picker/log error handling because the failure never reaches the shared formatter. ## Scope - Audit GitLab and Forgejo CI/check/list/log command builders. - Preserve nonzero CLI/API failures through shell pipelines. - Avoid `2>/dev/null` or empty JSON defaults where they erase actionable errors. - Add backend command tests for auth/network/API failure-like stderr. ## Non-goals - Do not add new CI features. - Do not redesign CI navigation or schemas.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/forge.nvim#645
No description provided.