Practice ยท 1 of 3
Release Gate
Write canRelease(checks) โ checks is an object like { ci: bool, migrations: bool, smoke: bool, reviewers: number }. Return "yes" only when ci, migrations and smoke are all true AND reviewers >= 1. Otherwise return the FIRST failing gate name: "ci", "migrations", "smoke", or "review".
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Release Engineering โ Practice