awesome-everything RU
↑ Back to the climb

Engineering Practice

Putting it together: code and config reading

Crux Read real artifacts from the delivery loop — a test, a feature flag, a CI gate config, and a postmortem action item — and pick the change a senior engineer makes first.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

The loop is not an abstraction — it shows up as a test, a flag, a CI gate, and a postmortem action item. Read each artifact, find which link of the delivery loop it strengthens or breaks, and choose the fix a senior engineer would make first.

Goal

Practise reading the concrete artifacts each practice produces — a test, a feature flag, a pipeline gate, a postmortem item — and judging whether each one actually closes the loop or quietly leaves a seam open.

Snippet 1 — a flag check on the hot path

// shipped 14 months ago for the "new-checkout" rollout, never removed
export function priceCart(cart: Cart): Money {
  if (flags.isEnabled("new-checkout-pricing")) {
    return newPricing(cart);   // the rollout "completed" months ago
  }
  return legacyPricing(cart);  // still here, still reachable
}
Quiz

The new-checkout rollout finished over a year ago. What is the senior action on this flag, and why does leaving it cost more than it looks?

Snippet 2 — a test written first

// written before any implementation exists
test("refund splits across original tender lines", () => {
  const order = orderWith([cash(30), card(70)]);
  const refund = refundService.refund(order, money(50));
  expect(refund.allocations).toEqual([cash(15), card(35)]);  // proportional
});
Quiz

The team writes this test before refundService exists. What is the primary value of writing it first, in the loop's terms?

Snippet 3 — a CI pipeline gate

# .ci/merge-gate.yml — required for merge to trunk
on: pull_request
jobs:
  gate:
    steps:
      - run: make unit            # ~90s, deterministic
      - run: make contract        # consumer + provider verification
      - run: make e2e-smoke       # 1 critical path only
      - run: make e2e-full || true # full suite, allowed to fail
Quiz

This gate is required for merge. What is the highest-leverage fix to the config, and why?

Snippet 4 — a postmortem action item

## Action items
- [ ] Improve communication during incidents          owner: ?        due: ?
- [x] Add contract test asserting `cart.total` is non-negative   owner: @ana   due: 2026-06-02   ticket: PAY-1183
- [ ] Be more careful when changing pricing config     owner: team     due: ongoing
Quiz

Reading these three action items from a blameless postmortem, which one actually closes the loop, and why do the other two fail?

Recap

Each practice leaves a concrete artifact, and reading it tells you whether the loop is intact: a completed flag still on the hot path is debt to remove, not a rollback tool; a test written first is design pressure and the merge signal, with coverage as a by-product; a CI step that is ‘allowed to fail’ is not a gate and quietly trains the team to ignore red; and a postmortem item only closes the loop when it is owned, dated, tracked, and feeds a concrete assertion back into CI. Read the artifact, find the link it touches, fix the seam — do not admire the ceremony.

Continue the climb ↑Putting it together: build a team delivery loop
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.