Skip to content

Support for execution tasks#885

Merged
allanbowe merged 12 commits into
masterfrom
884-execution-tasks-web-support
May 15, 2026
Merged

Support for execution tasks#885
allanbowe merged 12 commits into
masterfrom
884-execution-tasks-web-support

Conversation

@mulahasanovic
Copy link
Copy Markdown
Collaborator

@mulahasanovic mulahasanovic commented May 12, 2026

Issue

#882
#884

Intent - Support for execution tasks

  • Add runAsTask config attribute.
  • Insert the _executionTasks= url param (alongside _context=, _program= and _debug)
  • Ensure that input tables are passed as blobs rather than text
  • Insert a dummy blob when no inputs are provided (SAS Track CS0409737)

Implementation

  • Improve tests coverage, test performance and add more execution task tests
  • add new runAsTask config
  • ensure input tables are passed as blobs
  • insert dummy blob when file input is missing (with execution tasks enabled)

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.

  • Unit tests coverage has been increased and a new threshold is set.
  • All sasjs-cli unit tests are passing (npm test).
  • (CI Runs this) All sasjs-tests are passing. If you want to run it manually (instructions available here).
  • Data Controller builds and is functional on both SAS 9 and Viya

…file upload (#883)

* test(cypress): show individual errors

* test(cypress): half the cypress integration test timeout

* test(cypress): add parallel tests, timeout and reports

* test(cypress): use allSettled instead of all

* test(runner): pre-render pending test cards
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Coverage report

Total coverage

Status Category Percentage Covered / Total
🟡 Statements 67.31% (+2.56% 🔼) 1979/2940
🔴 Branches 49.31% (+2.33% 🔼) 825/1673
🔴 Functions 56.52% (+1.78% 🔼) 325/575
🟡 Lines 72.78% (+3.76% 🔼) 2992/4111

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Show new covered files 🌑

Coverage of new files

Status Filename Statements Branches Functions Lines
🟢 src/utils/parseViyaLogDebugResponse.ts 92.31% 75% 100% 100%

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 2a71e34

Comment thread src/job-execution/spec/executionTasks.spec.ts
Comment thread src/job-execution/spec/executionTasks.spec.ts Outdated
@mulahasanovic mulahasanovic marked this pull request as ready for review May 12, 2026 18:20
@allanbowe allanbowe merged commit 3d99a9b into master May 15, 2026
4 checks passed
@allanbowe allanbowe deleted the 884-execution-tasks-web-support branch May 15, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants