Fetch parent session log when job fails without recording log
Los mantenedores suelen responder en 1 día
@YuryShkoda ya está trabajando en esto.
Desde el 6/9/2023.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
In cases where SASjs checks the status of a submitted job it may receive a response such as the following:
23:27:45 [info] Current job state: ErrorResponse[version=2,status=400,err=5113,id=,message=The session requested is currently in a failed or stopped state.,detail=[path: /compute/sessions/7e97f5a5-b60d-4849-b1ca-edd5d973eb2e-ses0003/jobs/ABE132DF-B639-6347-8E75-F648D0168FFB/state, traceId: d04fd7e5fd56e180],remediation=Correct the errors in the session request, and create a new session.,targetUri=<null>,errors=[],links=[]]
23:27:45 [error] Error executing job: Cannot read properties of undefined (reading 'href')
23:27:45 at node_modules/[@sasjs/cli/build/commands/job/internal/execute/viya.js:172:123](https://matrix.to/#/@sasjs/cli/build/commands/job/internal/execute/viya.js:172:123)
23:27:45 at step (node_modules/[@sasjs/cli/build/commands/job/internal/execute/viya.js:33:23](https://matrix.to/#/@sasjs/cli/build/commands/job/internal/execute/viya.js:33:23))
23:27:45 at [Object.next](http://object.next/) (node_modules/[@sasjs/cli/build/commands/job/internal/execute/viya.js:14:53](https://matrix.to/#/@sasjs/cli/build/commands/job/internal/execute/viya.js:14:53))
23:27:45 at fulfilled (node_modules/[@sasjs/cli/build/commands/job/internal/execute/viya.js:5:58](https://matrix.to/#/@sasjs/cli/build/commands/job/internal/execute/viya.js:5:58))
23:27:45 at processTicksAndRejections (node:internal/process/task_queues:96:5)
This leads to the end of the job, but with no log being recorded.
Documentation for the mv_getjoblog macro (https://core.sasjs.io/mv__getjoblog_8sas.html) suggests that the log is potentially available from the parent session and, if available, this should be recorded instead.
- Lenguaje dominante
- TypeScript
- Estrellas
- 41
- Forks
- 6
- Merge medio
- 9 h 40 min
- PR fusionados (30 d)
- 18
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sasjs/cli
-
Dificultad 3/5 Medio día Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Automatically ratchet up coverage thresholds instead of hand-maintaining themQuizá libre de nuevo @YuryShkoda la tomó hace 116 días y no hay ningún pull request abierto. Abiertorefactoring
Los mantenedores suelen responder en 1 día
-
Mocked test suite (`npm run test:mocked`) is too slow — speed it up without losing coverageQuizá libre de nuevo @YuryShkoda la tomó hace 116 días y no hay ningún pull request abierto. Abiertorefactoring
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Move all HTTP requests to @sasjs/adapterQuizá libre de nuevo @YuryShkoda la tomó hace 1169 días y no hay ningún pull request abierto. Abiertoadapter refactoring
Los mantenedores suelen responder en 1 día
Issues similares
-
verified
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 5 días
-
desktop: directory picker submits home directory instead of typed path when adding a projectAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anomalyco/opencode#59589 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Bug: During run init command, finish the git initialize process without question to user('Initialize a new git repository?')Posiblemente ocupada @nishu-murmu la tomó hoy. Abiertopending-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wxt-dev/wxt#2697 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
knaw-huc/textannoviz#739 ·
Los mantenedores suelen responder en 1 día
-
DEV: partitioner only creates next month, so one failed run leaves a month with no partitionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día