Skip to content

Commit fa55fe6

Browse files
committed
Make real-world module self-contained and strengthen rewrite safety
1 parent 469c85b commit fa55fe6

1 file changed

Lines changed: 21 additions & 11 deletions

File tree

‎Module_6_Real_World/Module_6_Guide.md‎

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ Rebase creates new commit identities for the replayed commits. Therefore the imp
100100
101101
Rebasing your own feature/PR branch is common in many teams. Rebasing a shared stable branch is a very different risk.
102102

103+
If a team workflow explicitly allows you to rewrite your own published feature branch, `git push --force-with-lease` is safer than raw `--force` because it refuses to overwrite unexpected remote work. It is still a history rewrite and should not be used casually.
104+
103105
### DO
104106
Create divergence:
105107

@@ -178,23 +180,30 @@ A workflow normally lives under:
178180
.github/workflows/*.yml
179181
```
180182

181-
At this stage you do not need to become a CI engineer. You need to be able to open a workflow and identify:
183+
This course uses its own workflow at [`../.github/workflows/quality.yml`](../.github/workflows/quality.yml). It validates the repository on both Linux and Windows and also proves that the controlled CI demo still runs.
184+
185+
At this stage you do not need to become a CI engineer. You do need to identify:
182186

183-
- what triggers it (`on`)
187+
- what triggers a workflow (`on`)
184188
- its jobs (`jobs`)
189+
- the runner used by each job
185190
- the steps each job performs (`steps`)
186-
- whether a failed check should stop a merge
191+
- the command that determines whether a check passes
192+
- why a failed required check should block a merge
187193

188194
A professional GitHub profile is useful too, but profile cosmetics are not evidence of engineering ability. Strong repositories, clear READMEs, useful commits, and real contributions matter more.
189195

190-
### DO
191-
1. Open a workflow from one of your own or a reputable public repository.
192-
2. Identify the trigger, jobs, and major steps.
193-
3. Find a commit or pull request with automated checks and inspect what passed/failed.
194-
4. If you want a profile README, create a public repo named exactly your username and add a truthful README. Do not claim technologies you have not actually used.
196+
### DO — controlled lab first
197+
198+
1. Open this course's [quality workflow](../.github/workflows/quality.yml) and identify its trigger, job, matrix, and validation commands.
199+
2. Complete the self-contained [`examples/actions`](../examples/actions/README.md) lab in your disposable `git-github-lab` repository.
200+
3. Make the demo workflow pass.
201+
4. Break the demo test deliberately, push it, and inspect the red check.
202+
5. Repair it and verify the check returns to green.
203+
6. Inspect one additional workflow from a reputable project only after you understand the controlled example.
195204

196205
### TRANSITION CONDITION
197-
You can explain what CI/Actions does, locate a workflow, identify its trigger/jobs/steps, and explain why a green check is useful but does not prove software correctness by itself.
206+
You can explain what CI/Actions does, read a basic workflow, produce both a passing and intentionally failing check in your own lab, and explain why green CI proves only the checks that actually ran.
198207

199208
---
200209

@@ -203,7 +212,8 @@ You can explain what CI/Actions does, locate a workflow, identify its trigger/jo
203212
- [ ] You can deliberately create and resolve a real merge conflict
204213
- [ ] You understand divergence rather than treating conflicts as random errors
205214
- [ ] You can rebase your own branch and explain the shared-history boundary
215+
- [ ] You can explain when `--force-with-lease` is safer than `--force` and why both still rewrite history
206216
- [ ] You can tag and release a version deliberately
207-
- [ ] You can read a basic GitHub Actions workflow
217+
- [ ] You can read and deliberately break/repair a basic GitHub Actions workflow
208218

209-
Then complete **Gate 6 — Real-World Git / Disaster Lab** in [`../ASSESSMENTS.md`](../ASSESSMENTS.md). Pass it before beginning the capstone.
219+
Then complete **Gate 6 — Real-World Git / Disaster Lab** in [`../ASSESSMENTS.md`](../ASSESSMENTS.md). Pass it before beginning the capstone.

0 commit comments

Comments
 (0)