BM: Baca dalam Bahasa Melayu
World 5: Teamwork · Boss challenge
Team sim: review and merge
You will learn: to review a teammate's PR from red check to merged, kindly.
The problem
Mei asks you to review PR #12: the new events page. Its check shows a red ✗. What do you do first?
Pick one answer.
Try it
Room 1: open the failing run. Find the step that failed, and read its log.
Hint
Steps with ✓ passed. Tap the one with ✗.Try it
Room 2: review Mei’s PR. Request changes, kindly. Say which link to fix.
- Mmei
Adds the events page with our next events.
Closes #9
- Failed test
- A check failed. This branch needs every check to pass.
- This branch needs one approving review first.
Hint
Write something like “Great page! The sign-up link says signup.htm. Can you make it signup.html?” Pick Request changes, then Submit review.Try it
Room 3: Mei pushed a fix, and the check is green. Look at Files changed. Happy? Approve it.
- mei
Adds the events page with our next events.
Closes #9
- You asked for changes
Great page! The sign-up link says signup.htm. Can you make it signup.html?
- mei
Good catch! Fixed the link. The check is green now.
- Passed test
- A reviewer asked for changes. Fix those first.
Hint
In “Your review”, pick Approve, then press Submit review.Try it
Room 4: approved and green. This team squashes every PR. Squash and merge it. Then check issue #9.
- mei
Adds the events page with our next events.
Closes #9
- You asked for changes
Great page! The sign-up link says signup.htm. Can you make it signup.html?
- You approved these changes
Link works now. Lovely page, thanks Mei!
- mei
Good catch! Fixed the link. The check is green now.
- Passed test
- This branch keeps history in one straight line. Pick squash or rebase.
Hint
Under “How to merge”, pick “Squash and merge”. Then press “Merge pull request”.Check
Nobody touched issue #9. Why did it close?
Pick one answer.
You did it!
You can now review, fix and merge a teammate’s PR like a pro.
Bahasa Melayu
Mei minta anda review PR #12: halaman acara yang baru. Semakannya tunjuk ✗ merah. Apa anda buat dulu?
Bilik 1: buka run yang gagal. Cari step yang gagal, dan baca lognya.
Bilik 2: review PR Mei. Minta perubahan, dengan baik. Sebut pautan mana yang perlu dibaiki.
Bilik 3: Mei dah push pembaikan, dan semakan dah hijau. Tengok Fail yang berubah. Puas hati? Luluskan.
Bilik 4: dah lulus dan hijau. Pasukan ini squash setiap PR. Squash dan merge (cantum). Kemudian semak issue #9.
Tiada siapa sentuh issue #9. Kenapa ia ditutup?
Kini anda boleh review, baiki dan merge PR rakan sepasukan macam pro.
You finished this before. Practice is always welcome!
Official docs: About pull request reviews · About status checks · About merge methods on GitHub · Linking a pull request to an issue
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?