Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

My First Merged PR in Zalando Logbook: What I Built and What the Review Taught Me

Описание и применение

Автор успешно внедрил в Zalando Logbook обработку логов по статусу HTTP, улучшив читаемость логов и научившись ценить раннее общение с мейнтейнерами и тщательные ревью.

Задача

Integrating status‑code‑based logging into Zalando Logbook to reduce noise from normal traffic while highlighting errors.

Результат

The PR was merged, improving log clarity and teaching the author about the importance of early communication, small diffs, and thorough reviews.

Рабочий процесс

  • 1. Discussed feature with maintainers on GitHub issue to clarify requirements.
  • 2. Designed small, focused changes: StatusCodeBasedSink and LevelBasedHttpLogWriter.
  • 3. Implemented changes and wrote unit tests.
  • 4. Signed commits and opened PR #2301.
  • 5. Addressed review comments on style, compatibility, and naming.
  • 6. PR merged in May 2026.
  • 7. Reviewed subsequent PR #2379 that fixed a gap in ECS sink behavior.

Доказательства

My PR added two things to Logbook: StatusCodeBasedSink and LevelBasedHttpLogWriter.

Источник

I did not start by writing code. I started by talking to the maintainers on the issue, so I knew what they wanted before I built anything.

Источник

Maintainers read very carefully. They do not only check if your code works. They ask: Does this fit the style of the project? Will this break anyone who is already using the library? Is the naming clear for someone who has never seen this code?

Источник

After my PR was merged, another contributor found a gap in my own work. The ECS sink did not follow the same status code behavior, so he opened an issue and then a PR to fix it.

Источник

  • Дата записи: 2026-11-02T09:14:02.798Z