Skip to main content

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

Back to lesson: Practice: Release Engineering โ€” Practice