-
Notifications
You must be signed in to change notification settings - Fork 32
🐛Computational backend: Transmission of computational state wrong rabbitmq routing key #8158
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
🐛Computational backend: Transmission of computational state wrong rabbitmq routing key #8158
Conversation
wvangeit
left a comment
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.
Thanks
|
@mergify queue |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8158 +/- ##
===========================================
- Coverage 88.10% 73.53% -14.58%
===========================================
Files 1893 1154 -739
Lines 72916 47972 -24944
Branches 1279 496 -783
===========================================
- Hits 64243 35276 -28967
- Misses 8293 12568 +4275
+ Partials 380 128 -252
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
🟠 Waiting for conditions to match
|
pcrespov
left a comment
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.
Thx
Q: why? Why other routing keys are just identifiers?
e.g.
def routing_key(self) -> str | None:
return f"{self.wallet_id}"
not all of them. and then it depends how the topic is set on the other end. I will check. good point. |
@pcrespov Here is the reason: # services/web/server/src/simcore_service_webserver/notifications/project_logs.py
async def subscribe(app: web.Application, project_id: ProjectID) -> None:
rabbit_client: RabbitMQClient = get_rabbitmq_client(app)
for exchange in _SUBSCRIBABLE_EXCHANGES:
exchange_name = exchange.get_channel_name()
await rabbit_client.add_topics(exchange_name, topics=[f"{project_id}.*"]) # Note the dot |
|



What do these changes do?
The RabbitMQ routing key was missing a
.. This prevented the frontend to get the project updates when the computational backend was running. Thus creating some e2e issues.Related issue/s
How to test
Dev-ops