Closed YuryShkoda closed 1 year ago
Sometimes SAS API returns the job state running when the parent session is not in a running state.
running
doPoll
src/api/viya/pollJobState.ts
src/api/viya/executeOnComputeApi.ts
src/SessionManager.ts
No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed! If an urgent fix is needed - use a tar file.
sasjs-cli
npm test
sasjs-tests
Issue
Sometimes SAS API returns the job state
running
when the parent session is not in arunning
state.Intent
Implementation
doPoll
function located atsrc/api/viya/pollJobState.ts
.src/api/viya/executeOnComputeApi.ts
src/SessionManager.ts
.Checks
No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed! If an urgent fix is needed - use a tar file.
sasjs-cli
unit tests are passing (npm test
).sasjs-tests
are passing. If you want to run it manually (instructions available here).