-
Notifications
You must be signed in to change notification settings - Fork 3
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
Changes so that the json log can capture more data, mainly the fields… #531
Conversation
… that are defined on the schema on cornflow
|
||
log_json = { | ||
**output, | ||
**{ |
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.
¿Mejor en este orden? Yo lo pondría al revés, prevalece lo que venga del output.
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.
Si, por que el status se está procesando entonces el status tiene que prevalecer
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## development #531 +/- ##
===============================================
- Coverage 78.90% 78.45% -0.45%
===============================================
Files 263 258 -5
Lines 14860 14393 -467
===============================================
- Hits 11725 11292 -433
+ Misses 3135 3101 -34
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Clean up some imports. Added a TODO to review.
…overagerc to cornflow-server
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.
Revisaría cambiar el tema de que "status" para los DAG se devuelve un código pero después en cornflow se use "status" como el status en texto y luego "status_code". Tendría más sentido que todo fuera coherente
Te refieres al estado de la ejecución? Por que realmente eso es el state,
no status.
Guillermo González-Santander de la Cruz
JEFE DE PROYECTOS
T | +34 915 337 301
E | ***@***.***
W | baobabsoluciones.es
…On Mon, 13 May 2024 at 11:31, JaimeSotomayor ***@***.***> wrote:
***@***.**** approved this pull request.
Revisaría cambiar el tema de que "status" para los DAG se devuelve un
código pero después en cornflow se use "status" como el status en texto y
luego "status_code". Tendría más sentido que todo fuera coherente
—
Reply to this email directly, view it on GitHub
<#531 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4DGHEW5PAIKJHM66SXM5DZCCB7NAVCNFSM6AAAAABHQZQ64KVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDANJSGE3TEMRYHE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Me refiero al status del solve. En concreto el problema lo veo aquí:
Para la gente que ha desarrollado el modelo el status es el código numérico. Sin embargo, si se va a la bbdd de cornflow se está guardando el "status" dentro de "status_code". Simplemente digo que eso debería ser coherente |
Se puede cambiar, podemos hacer la modificación en el schema de cornflow y
hacer que los status estén mapeados como la respuesta de la gran mayoría de
DAGs.
Guillermo González-Santander de la Cruz
JEFE DE PROYECTOS
T | +34 915 337 301
E | ***@***.***
W | baobabsoluciones.es
…On Mon, 13 May 2024 at 12:28, JaimeSotomayor ***@***.***> wrote:
Me refiero al status del solve. En concreto el problema lo veo aquí:
"status": STATUS_CONV.get(status, "Unknown"),
"status_code": status,
Para la gente que ha desarrollado el modelo el status es el código
numérico. Sin embargo, si se va a la bbdd de cornflow se está guardando el
"status" dentro de "status_code". Simplemente digo que eso debería ser
coherente
—
Reply to this email directly, view it on GitHub
<#531 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4DGHGENHTXZPD5U7QWTITZCCIT5AVCNFSM6AAAAABHQZQ64KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBXGIYTCMJQGY>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
… that are defined on the schema on cornflow
It also makes it so that the dag registry is executed on cornflow service init to make sure that everything is up to date