(result)
| 38 | } |
| 39 | |
| 40 | function hasBudgetPressure(result) { |
| 41 | return ["heavy", "excessive"].includes(result.budgets?.trigger_cost_tokens?.band) || |
| 42 | ["heavy", "excessive"].includes(result.budgets?.invoke_cost_tokens?.band); |
| 43 | } |
| 44 | |
| 45 | function hasWarningsOrFailures(result) { |
| 46 | return result.checks.some((check) => check.status === "fail" || check.status === "warn"); |
no outgoing calls
no test coverage detected