(key string)
| 593 | } |
| 594 | |
| 595 | func taskSecretKeyCarriesSecret(key string) bool { |
| 596 | trimmed := strings.TrimSpace(key) |
| 597 | if trimmed == "" { |
| 598 | return false |
| 599 | } |
| 600 | probe := trimmed + "=value" |
| 601 | return diagnostics.Redact(probe) != probe |
| 602 | } |
| 603 | |
| 604 | func (m *Service) recordTaskNeedsAttention( |
| 605 | ctx context.Context, |
no test coverage detected