cncf / cncf/automation

`checkMaintainerInLFX` needs some re-thinking

Open
#293 5 comments 0 reactions 1 assignee Claimed by @ahmadqasembader View on GitHub
needs-kind needs-triage
Dominant language
Go
Stars
31
Forks
36
Avg merge
1d 6h
Merged PRs (30d)
70

Description

`maintainers.go:243` creates a bare `&http.Client{}` instead of using the validator's injected `pv.client`. This means:

- No timeout configured (could hang indefinitely on a slow/unresponsive LFX API)
- Can't be tested with `httptest` since the client isn't injectable
- Currently broken anyway due to no long-lived LFX token (TBD)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.