Feature #10223
closed[Crunch2] Add ability to set name of output collection
Description
Add output_name column to container_requests table.
Use that name (if given) when copying to final output. If there is a name conflict, append the current timestamp in ISO8601 with 1-second precision.
cwlrunner to set output name when creating container request
Updated by Tom Morris about 8 years ago
- Description updated (diff)
- Assigned To set to Radhika Chippada
Updated by Tom Clegg about 8 years ago
- Assigned To changed from Radhika Chippada to Tom Clegg
Updated by Lucas Di Pentima almost 8 years ago
- Status changed from New to In Progress
- Assigned To changed from Tom Clegg to Lucas Di Pentima
Updated by Lucas Di Pentima almost 8 years ago
Branch 10223-cr-set-output-name
: 6599088
Test run: https://ci.curoverse.com/job/developer-run-tests/126/
Updated by Radhika Chippada almost 8 years ago
@ 6599088b
- Can you please break the new test into two tests: (1) using some output name that is acceptable, (2) an output_name such as "foo_file" that is already existing on a collection fixture owned by the 'active' user? Alternatively, you can just use (2) since it will cover case (1) also.
- Does the updated test eliminate the need for this? ActiveRecord::Base.connection.execute 'ROLLBACK'
- I noticed that we unfortunately do not have a test such as "full text search indexes are up to date" similar to "search index exists on models that go into projects" which is resulting in the fts index being out of sync with the code updates. Please add a subtask to update the fts index as well (and add that new test). Thanks.
Updated by Lucas Di Pentima almost 8 years ago
- Target version changed from 2017-01-04 sprint to 2017-01-18 sprint
Updated by Lucas Di Pentima almost 8 years ago
Radhika Chippada wrote:
- Can you please break the new test into two tests: (1) using some output name that is acceptable, (2) an output_name such as "foo_file" that is already existing on a collection fixture owned by the 'active' user? Alternatively, you can just use (2) since it will cover case (1) also.
Done.
- Does the updated test eliminate the need for this? ActiveRecord::Base.connection.execute 'ROLLBACK'
No, because every unit test in run inside a transaction. I added a comment explaining why that execution is there.
- I noticed that we unfortunately do not have a test such as "full text search indexes are up to date" similar to "search index exists on models that go into projects" which is resulting in the fts index being out of sync with the code updates. Please add a subtask to update the fts index as well (and add that new test). Thanks.
Also, done.
Updates: c9199d2
Test run: https://ci.curoverse.com/job/developer-run-tests/130/
Updated by Radhika Chippada almost 8 years ago
Lucas: thank you very much for adding the missing unit test for full text search indexes. LGTM
Updated by Lucas Di Pentima almost 8 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|commit:7eda5880411d1146c08f3e4a507fa24d5590d5dc.