-
Notifications
You must be signed in to change notification settings - Fork 105
fix: get new actors working on docker compose #2623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 06-19-fix_figure_out_actor_log_shipping
Are you sure you want to change the base?
fix: get new actors working on docker compose #2623
Conversation
a07e898
to
5a69df2
Compare
d29889c
to
6f7e9a1
Compare
5a69df2
to
e8d4467
Compare
72f5c2b
to
d939ad7
Compare
e8d4467
to
15cd02e
Compare
d939ad7
to
8d2bd86
Compare
15cd02e
to
414cc8c
Compare
8d2bd86
to
6d91cde
Compare
f2a9b74
to
b3a2cd3
Compare
325b3f9
to
6c47920
Compare
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
6c47920
to
67ae3b8
Compare
b3a2cd3
to
400fb28
Compare
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
67ae3b8
to
bec61ff
Compare
400fb28
to
70eeac4
Compare
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
bec61ff
to
8f43d76
Compare
70eeac4
to
6a03830
Compare
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
6a03830
to
caba229
Compare
8f43d76
to
b935bff
Compare
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
@@ -190,7 +190,7 @@ async fn run(init: Init, first: bool) -> Result<()> { | |||
let ctx = Ctx::new(init.config, init.system, init.pool, tx); | |||
|
|||
tokio::try_join!( | |||
async { metrics_task.await.map_err(Into::<anyhow::Error>::into) }, | |||
async { metrics_task.await.map_err(Into::<anyhow::Error>::into)? }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error handling here is incomplete. When awaiting a JoinHandle
, you get a Result<T, JoinError>
where T
is the task's result (which is already an anyhow::Error
). The current ?
only handles the JoinError
but not the inner error.
Consider either:
async {
// Handle both the JoinError and the inner anyhow::Error
metrics_task.await.map_err(Into::<anyhow::Error>::into)??
}
Or a more explicit approach:
async {
let result = metrics_task.await.map_err(Into::<anyhow::Error>::into)?;
result
}
This ensures both the task completion error and any error returned by the metrics task itself are properly propagated.
async { metrics_task.await.map_err(Into::<anyhow::Error>::into)? }, | |
async { metrics_task.await.map_err(Into::<anyhow::Error>::into)?? }, |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
Claude finished @MasterPtato's task —— View job PR Review: Fix new actors working on docker composeReviewing this PR for code quality, potential bugs, performance, security, and test coverage. Todo List:
Review SummaryThis PR implements significant changes to support "new actors" with enhanced ID management and Docker Compose compatibility. Overall the changes are well-structured, but there are several issues that need attention. 🐛 Critical Issues
|
Changes