Skip to content

fix: the dependency report is a probe too - #82

Merged
cnmaia merged 1 commit into
mainfrom
fix/dependency-report-probe
Sep 19, 2026
Merged

cnmaia merged 1 commit into
mainfrom
fix/dependency-report-probe

Conversation

@cnmaia

@cnmaia cnmaia commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Follows #81, which landed while this was still being written.

#81 stopped access-logging /health-check/. This does the same for /health-check/dependencies: it has no reader other than a monitor, and nothing polls it today — but it would become exactly the same problem the moment something did, which is the point of putting a monitor on it at all.

What makes that safe

A degraded dependency already writes its own line, naming what fell over:

{"message": "dependency check degraded", "degraded": ["object_storage"], "level": "WARNING", "logger": "service:health"}

Suppressing the access entry makes that WARNING the only trace, so it is now what the tests hold onto rather than an incidental detail:

  • unit: the line exists, names the dependency, and is absent while everything answers
  • integration: asserted against a genuinely stopped MinIO, reading the container's log

Verification

Unit 217 passed
Integration 213 passed
ruff clean

🤖 Generated with Claude Code

https://claude.ai/code/session_01EQda9NZvkbStEeNU54Tqgh

It has no reader other than a monitor, and a degraded dependency already
writes its own WARNING line naming what fell over, so the access entry adds
nothing but volume once anything starts polling it.

That WARNING is now the thing the tests hold onto, at both levels, because
suppressing the access line makes it the only trace left.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EQda9NZvkbStEeNU54Tqgh
@cnmaia
cnmaia requested a review from andrenmaia as a code owner September 13, 2026 22:22
@cnmaia
cnmaia merged commit 88aa6d2 into main Sep 19, 2026
4 checks passed
@cnmaia
cnmaia deleted the fix/dependency-report-probe branch September 19, 2026 19:05
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.

1 participant