diag: failure reporter adapts to CI backend for issue filing #148

Closed
opened 2026-03-24 00:30:59 +00:00 by kert · 0 comments
Owner

The diag reporter reads Woodpecker env vars (CI_REPO_ID, etc). For GitHub it needs GITHUB_REPOSITORY, GITHUB_RUN_ID.

Add CI backend adapter in src/api/diag/ci_env.py that normalizes env vars to a common interface (repo, pipeline_number, commit_sha, step_name). Auto-detect from env.

The diag reporter reads Woodpecker env vars (CI_REPO_ID, etc). For GitHub it needs GITHUB_REPOSITORY, GITHUB_RUN_ID. Add CI backend adapter in src/api/diag/ci_env.py that normalizes env vars to a common interface (repo, pipeline_number, commit_sha, step_name). Auto-detect from env.
kert added this to the P19: CI Backend Abstraction — switchable Woodpecker / GitHub Actions milestone 2026-03-24 00:30:59 +00:00
kert added the apici labels 2026-03-24 00:30:59 +00:00
kert closed this issue 2026-03-24 00:41:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#148