| 1 | export function isFrontendDiagnosticsBuild(channel: string, development: boolean): boolean { |
| 2 | // Preview/canary are the repository's non-stable test artifact channels; |
| 3 | // stable builds must never expose a recorder entry in the product UI. |
| 4 | return development || channel === "test" || channel === "preview" || channel === "canary"; |
| 5 | } |
| 6 |