-
Notifications
You must be signed in to change notification settings - Fork 113
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
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
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
|
caba229
to
5db32e3
Compare
b935bff
to
229e0dc
Compare
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
|
229e0dc
to
d916410
Compare
5db32e3
to
a3d9d03
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
Changes