Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef6f1f76e7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| if (app.Environment.IsDevelopment()) | ||
| Predicate = check => check.Tags.Contains("ready") || check.Tags.Contains("masstransit") |
There was a problem hiding this comment.
Keep the outbox API ready during broker outages
When /health/ready is used as the API readiness probe, including the MassTransit health check makes every API replica become unready when RabbitMQ is unavailable, so a load balancer stops routing the POST requests that the bus outbox is specifically designed to accept and persist during that outage. For ServiceRole=Api, readiness should depend on PostgreSQL but exclude broker health; keep the transport check for workers that cannot make progress without RabbitMQ.
Useful? React with 👍 / 👎.
Что изменено
Проверено локально
Совместимость и границы