Skip to content

Feature/lab4#1102

Open
Dnau15 wants to merge 12 commits into
inno-devops-labs:mainfrom
Dnau15:feature/lab4
Open

Feature/lab4#1102
Dnau15 wants to merge 12 commits into
inno-devops-labs:mainfrom
Dnau15:feature/lab4

Conversation

@Dnau15

@Dnau15 Dnau15 commented Jun 16, 2026

Copy link
Copy Markdown

Goal

Complete Lab 4 (OS & Networking): trace a POST /notes request end-to-end at the packet level and debug a broken deploy outside-in, documented on macOS.

Changes

  • Added submissions/lab4.md with the full lab writeup (macOS-adapted commands).
  • Task 1: annotated tcpdump capture (TCP handshake, HTTP request/response, FIN close), five debugging commands (lsof, netstat -rn, traceroute, dig, app stdout), and a 502-debug
    reflection.
  • Task 2: reproduced the bind: address already in use port conflict, walked the outside-in chain (command → output → decision per step), and wrote a blameless postmortem — including the
    go run orphaned-child gotcha.
  • Included lab4-trace.txt (decoded packet capture).

Testing

  • Verified QuickNotes returns 201 Created on POST /notes and 200 {"notes":7,"status":"ok"} on /health.
  • Confirmed the packet capture shows the complete TCP lifecycle (SYN/SYN-ACK/ACK → HTTP → FIN) on IPv6 loopback ::1.
  • Reproduced the port-conflict failure and confirmed lsof -nP -iTCP:8080 identifies the real listener.

Checklist

  • Title is a clear sentence (≤ 70 chars)
  • [x ] Commits are signed (git log --show-signature)
  • submissions/labN.md updated

Dnau15 and others added 12 commits June 5, 2026 14:04
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
…blickey-denied pitfalls

Signed-off-by: Dmitrii Creed <creeed22@gmail.com>
…n; set honest cache expectations

- 2.2: matrixed jobs report as 'test (1.23)' etc.; the old required
  'test'/'vet' contexts hang at 'Expected' and block every student PR.
  Document both fixes (rename required checks / require a single ci-ok
  aggregation job with if: always())
- 2.4: QuickNotes has zero deps, so cache on/off won't move wall-clock;
  ask students to explain why + compare per-step timings instead
- pitfalls for both

Signed-off-by: Dmitrii Creed <creeed22@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Signed-off-by: Dmitrii <15dnau@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants