Skip to content
Ameen Abozaid
Planned lessonSRA-002-L06

Demo: a fitness function that blocks a coupling regression

  • Lesson 6 of 7
  • Senior A
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

write and roll out a coupling fitness function across teams; prepares SRA-002-LAB1.

Draft outline details

Step by step

  1. State the rule from the architecture goal: marketplace code must not read order-domain tables or internal packages.
  2. Implement it as a dependency-rule test run in CI and capture the current violations as a baseline.
  3. Demonstrate a pull request that adds a new forbidden dependency and fails the build with a clear message.
  4. Agree with team leads on ownership, an exception process, and a retirement plan for baseline violations.
  5. Planned mistake: make the rule block all builds on day one, including existing violations. Fix: baseline them, block only new ones, and report the trend.
  6. Define how the team knows the function is working: violations trend and exceptions granted.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.