Commit Graph
288 Commits
Author SHA1 Message Date
mvdbeek 076133b018 Add test case for updating workflow name of parent workflow 2024-09-12 10:59:24 +02:00
mvdbeek 4667cec17b Add regression test for subworkflow that stops scheduling 2024-08-30 16:46:37 +02:00
John Chilton 5d5f537348 Merge pull request #18734 from mvdbeek/improve_yaml_exception_reporting
[24.1] Catch and display exceptions when importing malformatted yaml workflows
2024-08-24 11:19:54 -04:00
mvdbeek a2c304081a Catch and display exceptions when importing malformatted yaml workflows 2024-08-23 21:56:00 +02:00
mvdbeek 080a0c799b Fail on expected subworkflow output not found
This would currently just fail with an exception in the logs.
I ran into this while manually defining a gxformat2 workflow
and not referencing the right step.
2024-08-23 13:27:47 +02:00
mvdbeek 565911e85f Add test workflow 2024-08-23 13:25:43 +02:00
mvdbeek 2d1680b042 Really do change PJA in test case 2024-08-13 15:22:10 +02:00
mvdbeek b403bf8237 Add test case for runtime input map over 2024-07-14 20:53:52 +02:00
mvdbeek 33f27d5456 Merge branch 'release_24.0' into release_24.1 2024-07-01 18:23:55 +02:00
Marius van den Beek 6b8c7f75ba Merge pull request #18456 from arash77/subworkflows_tags_fix
[24.0] Fix subwofklow tags serialization type
2024-06-29 12:02:47 +02:00
Arash 9592520737 Add test 2024-06-28 13:42:08 +02:00
mvdbeek 093dcc8d3d Merge branch 'release_24.0' into release_24.1 2024-05-28 14:34:20 +02:00
Ahmed Awan f516679399 add api test for running workflow as anon user 2024-05-22 13:47:19 -05:00
Marius van den Beek 04485399aa Merge pull request #17366 from jmchilton/cross_product
Enable all-vs-all collection analysis patterns.
2024-05-14 16:17:44 +02:00
Martin Cech bf14bcdaa3 validate the contents, not the path to file 2024-04-22 15:50:34 -07:00
Martin Cech 5fa2617727 readd a bco.json invocation export API test 2024-04-22 12:49:01 -07:00
Martin Cech af4d4021ba remove deprecated bco export endpoint
instead clients shall POST api/invocations/{id}/prepare_store_download with payload:
{
    model_store_format: bco.json
}
2024-04-18 15:35:27 -07:00
John Chilton bbfc6041b3 Add API test that fails because outputs aren't skipped 2024-04-15 12:00:30 -04:00
mvdbeek 9b795ab28d Merge branch 'release_23.2' into release_24.0 2024-04-10 09:39:34 +02:00
mvdbeek 8d52714199 Add test for implicit map over conversion in workflow
This test fails because cut fails on the compressed input with
`cut: /private/var/folders/df/6xqpqpcd7h73b6jpx9t6cwhw0000gn/T/tmpu8gqd71c/tmpmae9egoz/tmpz8sonmgx/database/objects/6/9/8/dataset_69847aef-7b3f-4915-a8ae-394921dbe388.dat: Illegal byte sequence`
2024-04-09 19:44:36 +02:00
mvdbeek 8e8d7fa0f9 Fix tool state in build_module and refactor action
that can result form upgrading tools.
2024-04-08 20:28:39 +02:00
John Chilton 661d93ab2a Merge pull request #17869 from mvdbeek/drop_dummy_replacement
[24.0] Fix workflow run form failing on certain histories
2024-04-04 11:06:54 -04:00
Nicola Soranzo 1332eb1620 Fix `test_workflow_optional_input_filtering` API test to produce one output again 2024-04-03 13:10:53 +01:00
mvdbeek 969e995a9b Add test tool w/ dynamic select in conditional
Include this in a workflow, and notice that the run form breaks
if the history contains a dataset that trips up the dynamic parameter.
2024-04-02 19:10:20 +02:00
mvdbeek 23cf6a2e0a Add test for changing dynamic collection datatype 2024-03-21 15:58:06 +01:00
mvdbeek a689413a96 Ensure metadata is copied for expression tool outputs 2024-03-19 11:37:01 +01:00
mvdbeek 689bb0d88c Test subworkflow response at /api/worflows/{workflow_id} 2024-03-14 17:07:43 +01:00
Marius van den Beek b7c14c6559 Merge pull request #17294 from lldelisle/filter_paused
[24.0] Add ``__KEEP_SUCCESS_DATASETS__``
2024-03-05 16:18:20 +01:00
Marius van den Beek 352ff3599b Merge pull request #17558 from mvdbeek/subworkflow_filtering
Filter out subworkflow invocations
2024-02-28 11:17:37 -06:00
mvdbeek 430eb3ef28 Filter out subworkflow invocations
I think users don't need to see their nested invocations from the main
invocation list. If needed they can be found through the invocation
steps. The only exception we're making is that we show subworkflow
invocations if filtering for a specific workflow id.
2024-02-28 09:21:09 -06:00
heisner-tillman 8bbfc77f08 Add json keyword to tests, when posting to invoke operation of Workflow API 2024-02-26 18:06:48 +01:00
heisner-tillman 06505d0607 Add json keyword in tests calling invoke endpoint 2024-02-26 18:06:48 +01:00
heisner-tillman 187636123d Add json keyword in tests calling invoke endpoint 2024-02-26 18:06:48 +01:00
heisner-tillman 222f3649d1 Start refactoring invoke operation 2024-02-26 18:06:48 +01:00
Lucille Delisle d8dc597886 run black 2024-01-26 21:17:43 +01:00
Lucille Delisle 26091203c2 lint 2024-01-26 21:07:07 +01:00
Lucille Delisle a88be0dd22 improve test 2024-01-26 20:27:12 +01:00
Lucille Delisle 576a4047ed fix workflow syntax 2024-01-26 19:44:15 +01:00
Lucille Delisle b091599c1f fix comment on test_keep_success_mapping_error 2024-01-26 19:43:16 +01:00
mvdbeek e5ade6ea21 WIP: fix KEEP_SUCCESS for non-terminal inputs 2024-01-25 16:55:30 +01:00
Lucille Delisle 15c923d57d fix typo in test 2024-01-25 16:21:21 +01:00
Lucille Delisle 03d6ca8dea add __KEEP_SUCCESS_DATASETS__ 2024-01-25 16:21:19 +01:00
mvdbeek 1fd9cf33c0 Merge branch 'release_23.1' into release_23.2 2023-12-14 11:43:04 +01:00
davelopez 75c11225c6 Add test to check workflow index total matches 2023-12-12 19:08:02 +01:00
Ahmed Awan 3da9c41434 add api test for update workflow with empty name 2023-11-16 14:47:44 -06:00
mvdbeek c1801363a7 Fix invocation cancel test 2023-11-13 15:45:28 +01:00
mvdbeek 1a444e2d84 Make invocation cancellation two-step process
API / users set invocation to cancelling, scheduler then deletes
outputs. This avoids race conditions where the cancelled invocation
still generates new jobs.
2023-11-13 15:45:27 +01:00
mvdbeek db3c875a8b Replace for loop with sql update statement 2023-11-13 15:45:27 +01:00
mvdbeek 64d608da3a Delete non-terminal jobs and subworkflow invocation when cancelling an invocation 2023-11-13 15:45:26 +01:00
John Chilton dce53769bd Implement default locations for data and collection parameters.
Works for both files and collections. Workflow defaults override tool defaults.

TODO:

- Unit test case to ensure this only works for non-default, non-multi data parameters.
- Implement XSD once syntax is finalized.
2023-11-01 11:52:44 -04:00