]> git.arvados.org - arvados.git/log
arvados.git
2 months ago22076: Fix regexps to avoid inadvertent match of suffix/prefix.
Tom Clegg [Tue, 6 May 2025 14:11:08 +0000 (10:11 -0400)]
22076: Fix regexps to avoid inadvertent match of suffix/prefix.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Fix unchecked error.
Tom Clegg [Tue, 6 May 2025 01:29:07 +0000 (21:29 -0400)]
22076: Fix unchecked error.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Split extra-long function.
Tom Clegg [Mon, 5 May 2025 20:21:36 +0000 (16:21 -0400)]
22076: Split extra-long function.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Parse Accept header more carefully.
Tom Clegg [Mon, 5 May 2025 19:42:34 +0000 (15:42 -0400)]
22076: Parse Accept header more carefully.

e.g., "Accept: application/zip; q=0.9"

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Change API to accept the list of files in body["files"].
Tom Clegg [Mon, 5 May 2025 19:27:35 +0000 (15:27 -0400)]
22076: Change API to accept the list of files in body["files"].

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Remove hash of PDH and filenames in suggested filename.
Tom Clegg [Mon, 5 May 2025 19:10:35 +0000 (15:10 -0400)]
22076: Remove hash of PDH and filenames in suggested filename.

reverts 137096a32bc0d088e022e8f424b8b58544216f9f

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Comment about content-disposition encoding.
Tom Clegg [Mon, 5 May 2025 16:28:54 +0000 (12:28 -0400)]
22076: Comment about content-disposition encoding.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Merge branch 'main' into 22076-download-zip
Tom Clegg [Thu, 1 May 2025 14:15:51 +0000 (10:15 -0400)]
22076: Merge branch 'main' into 22076-download-zip

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months agoMerge branch '22822-venv-path'
Brett Smith [Wed, 30 Apr 2025 20:47:19 +0000 (16:47 -0400)]
Merge branch '22822-venv-path'

Closes #22822.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22076: Document ZIP description field, add test for /by_id/ URL.
Tom Clegg [Wed, 30 Apr 2025 19:55:38 +0000 (15:55 -0400)]
22076: Document ZIP description field, add test for /by_id/ URL.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Update documentation for collection.json metadata file.
Tom Clegg [Wed, 30 Apr 2025 19:54:11 +0000 (15:54 -0400)]
22076: Update documentation for collection.json metadata file.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Suggest filenames with .zip extension.
Tom Clegg [Wed, 30 Apr 2025 19:39:40 +0000 (15:39 -0400)]
22076: Suggest filenames with .zip extension.

Duh.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Include hash of PDH and filenames in suggested filename.
Tom Clegg [Wed, 30 Apr 2025 19:37:52 +0000 (15:37 -0400)]
22076: Include hash of PDH and filenames in suggested filename.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Save "downloaded from..." as zip comment.
Tom Clegg [Wed, 30 Apr 2025 19:37:44 +0000 (15:37 -0400)]
22076: Save "downloaded from..." as zip comment.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22822: Fix VIRTUAL_ENV path in Python packages 22822-venv-path
Brett Smith [Wed, 30 Apr 2025 18:29:13 +0000 (14:29 -0400)]
22822: Fix VIRTUAL_ENV path in Python packages

The code we have to update the `activate` script is failing on at least
some distributions, so activating the virtualenv appears to work but is
ineffective.

Trying to modify shell source on the fly is inherently a dicey
proposition. Instead of doing that, let's rely on the fact that builds
happen in an ephemeral Docker container, and just build the "source"
virtualenv in the same path where the package will install it,
eliminating the need for any rewriting.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months agoRe-comment out COMMENT ON EXTENSION along with a comment, refs #21074
Peter Amstutz [Wed, 30 Apr 2025 18:24:35 +0000 (14:24 -0400)]
Re-comment out COMMENT ON EXTENSION along with a comment, refs #21074

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

2 months ago22829: Check for upload failure at the right time
Brett Smith [Wed, 30 Apr 2025 17:04:52 +0000 (13:04 -0400)]
22829: Check for upload failure at the right time

The previous version was checking the success of `set +x`.
Behold the dangers of relying on global variables.
Refs #22829.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22771: Revert part of 85cd3da83438dae5f2fcfbcccab7a0c766ad9ae0.
Tom Clegg [Tue, 29 Apr 2025 19:05:24 +0000 (15:05 -0400)]
22771: Revert part of 85cd3da83438dae5f2fcfbcccab7a0c766ad9ae0.

Causes test to fail.

refs #22771

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months agoMerge branch '22394-project-tab-preference' into main. Closes #22394
Stephen Smith [Tue, 29 Apr 2025 15:30:07 +0000 (11:30 -0400)]
Merge branch '22394-project-tab-preference' into main. Closes #22394

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22394: Pin save/discard to bottom of preferences panel 22394-project-tab-preference
Stephen Smith [Tue, 29 Apr 2025 14:41:02 +0000 (10:41 -0400)]
22394: Pin save/discard to bottom of preferences panel

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months agoMerge branch '22771-docker-load-error'
Tom Clegg [Tue, 29 Apr 2025 14:02:10 +0000 (10:02 -0400)]
Merge branch '22771-docker-load-error'

fixes #22771

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22771: Test that LoadImage propagates errors from docker daemon.
Tom Clegg [Mon, 28 Apr 2025 15:25:05 +0000 (11:25 -0400)]
22771: Test that LoadImage propagates errors from docker daemon.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22771: Add "no space left on device" to broken-node error blacklist.
Tom Clegg [Mon, 28 Apr 2025 15:12:14 +0000 (11:12 -0400)]
22771: Add "no space left on device" to broken-node error blacklist.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22771: Check for errors in ImageLoad response.
Tom Clegg [Mon, 28 Apr 2025 15:24:21 +0000 (11:24 -0400)]
22771: Check for errors in ImageLoad response.

Also fix repetitive log messages.

before: "While loading container image: While loading container image
into Docker: {actual error}"

after: "failed to load container image: ImageLoad failed: {actual
error}"

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months agoMerge branch '22785-ambiguous-column'
Tom Clegg [Tue, 29 Apr 2025 13:57:07 +0000 (09:57 -0400)]
Merge branch '22785-ambiguous-column'

fixes #22785

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Add last-modified user info to collection.json metadata.
Tom Clegg [Tue, 29 Apr 2025 02:26:19 +0000 (22:26 -0400)]
22076: Add last-modified user info to collection.json metadata.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Fix ActiveModel::MissingAttributeError on select=[full_name].
Tom Clegg [Tue, 29 Apr 2025 02:26:05 +0000 (22:26 -0400)]
22076: Fix ActiveModel::MissingAttributeError on select=[full_name].

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Add description, created_at, and modified_at to zip metadata.
Tom Clegg [Mon, 28 Apr 2025 19:39:55 +0000 (15:39 -0400)]
22076: Add description, created_at, and modified_at to zip metadata.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Include file_count=N in upload and download logs.
Tom Clegg [Mon, 28 Apr 2025 19:36:11 +0000 (15:36 -0400)]
22076: Include file_count=N in upload and download logs.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22076: Check suggested filename when testing single-dir download.
Tom Clegg [Mon, 28 Apr 2025 18:28:54 +0000 (14:28 -0400)]
22076: Check suggested filename when testing single-dir download.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months agoMerge branch '22778-arvados-pkgs-pin'. Closes #22778
Lucas Di Pentima [Fri, 25 Apr 2025 19:29:17 +0000 (16:29 -0300)]
Merge branch '22778-arvados-pkgs-pin'. Closes #22778

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

2 months ago22778: Updates arvados-formula commit id. 22778-arvados-pkgs-pin
Lucas Di Pentima [Fri, 25 Apr 2025 19:27:21 +0000 (16:27 -0300)]
22778: Updates arvados-formula commit id.

Now it points to the latest main merged version.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

2 months ago22785: Fix ambiguous column name in join query. 22785-ambiguous-column
Tom Clegg [Fri, 25 Apr 2025 19:21:15 +0000 (15:21 -0400)]
22785: Fix ambiguous column name in join query.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22785: Test failure mode with ambiguous column in order param.
Tom Clegg [Fri, 25 Apr 2025 19:21:22 +0000 (15:21 -0400)]
22785: Test failure mode with ambiguous column in order param.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22778: Updates arvados-formula commit.
Lucas Di Pentima [Fri, 25 Apr 2025 15:06:43 +0000 (12:06 -0300)]
22778: Updates arvados-formula commit.

Uses the latest version with simplified pin package logic, not requiring
an additional pillar key to enable it.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

2 months agoMerge branch '22564-multiselect-tests'
Lisa Knox [Fri, 25 Apr 2025 15:33:28 +0000 (11:33 -0400)]
Merge branch '22564-multiselect-tests'

closes #22564

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

2 months ago22679: Update header comment about supported distros
Brett Smith [Fri, 25 Apr 2025 15:13:11 +0000 (11:13 -0400)]
22679: Update header comment about supported distros

Refs #22679.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22564: adjusted cypress commands 22564-multiselect-tests
Lisa Knox [Fri, 25 Apr 2025 14:46:36 +0000 (10:46 -0400)]
22564: adjusted cypress commands

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

2 months ago22394: Wrap MPV tests in fake store now that it's connected.
Stephen Smith [Thu, 24 Apr 2025 19:43:58 +0000 (15:43 -0400)]
22394: Wrap MPV tests in fake store now that it's connected.

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22394: Add tests for default project tab setting
Stephen Smith [Thu, 24 Apr 2025 18:55:05 +0000 (14:55 -0400)]
22394: Add tests for default project tab setting

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22394: Update wuth store with updated user if uuid matches logged in user
Stephen Smith [Thu, 24 Apr 2025 18:42:48 +0000 (14:42 -0400)]
22394: Update wuth store with updated user if uuid matches logged in user

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22394: Extract router from props to avoid passing it to child components
Stephen Smith [Thu, 24 Apr 2025 17:04:48 +0000 (13:04 -0400)]
22394: Extract router from props to avoid passing it to child components

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22394: Reset project tabs to preferred when route changes
Stephen Smith [Wed, 23 Apr 2025 18:44:33 +0000 (14:44 -0400)]
22394: Reset project tabs to preferred when route changes

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22394: Set default project tab based on user preference
Stephen Smith [Wed, 23 Apr 2025 18:43:57 +0000 (14:43 -0400)]
22394: Set default project tab based on user preference

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22394: Fix prefs page styling and display project tab options as row
Stephen Smith [Tue, 22 Apr 2025 16:47:28 +0000 (12:47 -0400)]
22394: Fix prefs page styling and display project tab options as row

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22778: Makes installer use the newer arvados-formula with pkg pin support.
Lucas Di Pentima [Tue, 22 Apr 2025 15:07:42 +0000 (12:07 -0300)]
22778: Makes installer use the newer arvados-formula with pkg pin support.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

3 months ago22778: Enables Arvados package pinning when applicable.
Lucas Di Pentima [Tue, 22 Apr 2025 15:01:41 +0000 (12:01 -0300)]
22778: Enables Arvados package pinning when applicable.

This setting makes arvados-formula to pin arvados packages to the requested
version. If version is 'latest' (the default), it won't apply the pinning.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

3 months ago22394: Add writableBy to readonly fields, radio component, prefs save action
Stephen Smith [Tue, 22 Apr 2025 14:20:07 +0000 (10:20 -0400)]
22394: Add writableBy to readonly fields, radio component, prefs save action

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22564: adjusted tests:
Lisa Knox [Tue, 22 Apr 2025 14:12:05 +0000 (10:12 -0400)]
22564: adjusted tests:

* removed untrash collection test becuase it is covered elsewhere, and in this test it ends up being on page 2 of the data explorer
* changed user fullName values so as not to collide with those same values in other tests

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months agoMerge branch '21074-workflow-collection-link' refs #21074
Peter Amstutz [Tue, 22 Apr 2025 14:06:57 +0000 (10:06 -0400)]
Merge branch '21074-workflow-collection-link' refs #21074

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago21074: Fix end of file newline merge error
Peter Amstutz [Tue, 22 Apr 2025 13:59:32 +0000 (09:59 -0400)]
21074: Fix end of file newline merge error

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22076: Log filename if zip contains exactly one file.
Tom Clegg [Fri, 18 Apr 2025 19:27:44 +0000 (15:27 -0400)]
22076: Log filename if zip contains exactly one file.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch 'main' into 21074-workflow-collection-link 21074-workflow-collection-link
Peter Amstutz [Fri, 18 Apr 2025 19:22:24 +0000 (15:22 -0400)]
Merge branch 'main' into 21074-workflow-collection-link

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months agoMerge branch '22415-java-sdk-17'
Brett Smith [Fri, 18 Apr 2025 17:47:52 +0000 (13:47 -0400)]
Merge branch '22415-java-sdk-17'

Refs #22415.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago21074: Only apply strict validation to linked workflow collections
Peter Amstutz [Fri, 18 Apr 2025 17:17:18 +0000 (13:17 -0400)]
21074: Only apply strict validation to linked workflow collections

If you have a collection of type: workflow, strict validation only
applies if it is actually linked.  This accomodates legacy collections
which have type: workflow but don't have all the newly defined fields.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22564: cleanup
Lisa Knox [Fri, 18 Apr 2025 16:05:08 +0000 (12:05 -0400)]
22564: cleanup

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22564: changed assertion in single collection test
Lisa Knox [Fri, 18 Apr 2025 16:03:54 +0000 (12:03 -0400)]
22564: changed assertion in single collection test

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months agoMerge branch '22581-api-service-support' refs #22581
Peter Amstutz [Fri, 18 Apr 2025 15:08:34 +0000 (11:08 -0400)]
Merge branch '22581-api-service-support' refs #22581

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22581: Fix typo
Peter Amstutz [Fri, 18 Apr 2025 15:07:54 +0000 (11:07 -0400)]
22581: Fix typo

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22076: File-download logging and permission checks for zip files.
Tom Clegg [Fri, 18 Apr 2025 14:56:45 +0000 (10:56 -0400)]
22076: File-download logging and permission checks for zip files.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago21074: Refactor signature of update_linked_workflows
Peter Amstutz [Fri, 18 Apr 2025 14:53:44 +0000 (10:53 -0400)]
21074: Refactor signature of update_linked_workflows

Improve test coverage

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22564: user tests done
Lisa Knox [Fri, 18 Apr 2025 14:52:30 +0000 (10:52 -0400)]
22564: user tests done

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22564: groups tests done
Lisa Knox [Thu, 17 Apr 2025 18:54:42 +0000 (14:54 -0400)]
22564: groups tests done

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months agoMerge branch '22792-cuda-570'
Brett Smith [Thu, 17 Apr 2025 17:49:01 +0000 (13:49 -0400)]
Merge branch '22792-cuda-570'

Closes #22792.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22564: workflow tests done
Lisa Knox [Thu, 17 Apr 2025 17:16:46 +0000 (13:16 -0400)]
22564: workflow tests done

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22415: Pass through script arguments to Gradle as intended 22415-java-sdk-17
Brett Smith [Thu, 17 Apr 2025 15:29:51 +0000 (11:29 -0400)]
22415: Pass through script arguments to Gradle as intended

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22792: Convert license header to Jinja comment 22792-cuda-570
Brett Smith [Thu, 17 Apr 2025 15:15:18 +0000 (11:15 -0400)]
22792: Convert license header to Jinja comment

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22792: Update CUDA tasks for version 570 driver
Brett Smith [Thu, 17 Apr 2025 15:10:58 +0000 (11:10 -0400)]
22792: Update CUDA tasks for version 570 driver

Version 570 introduces a udev rule to load the driver when needed.
`/etc/modules-load.d/nvidia.conf` is gone, and we no longer need to
arrange to load it dynamically.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22415: Extend Java SDK Docker test script
Brett Smith [Thu, 17 Apr 2025 14:49:01 +0000 (10:49 -0400)]
22415: Extend Java SDK Docker test script

* Pass arbitrary arguments from the script to Gradle to make it easier
  to use interactively and eliminate the magic $gradle_upload variable.

* Skip the signing task if it isn't configured, so the default passes in
  a development environment.

* Make the scripts stricter to aid future development.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22564: multi-resource tests done
Lisa Knox [Thu, 17 Apr 2025 14:31:06 +0000 (10:31 -0400)]
22564: multi-resource tests done

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22415: Upgrade Gradle to version 6
Brett Smith [Thu, 17 Apr 2025 14:04:51 +0000 (10:04 -0400)]
22415: Upgrade Gradle to version 6

Upgrading to version 7 requires code changes.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22415: Upgrade mockito to latest version
Brett Smith [Thu, 17 Apr 2025 14:04:39 +0000 (10:04 -0400)]
22415: Upgrade mockito to latest version

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoMerge branch '22781-name-endpoints'
Brett Smith [Wed, 16 Apr 2025 23:30:58 +0000 (19:30 -0400)]
Merge branch '22781-name-endpoints'

Closes #22781, #22789.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago21074: Prevent changing collection type: workflow when linked
Peter Amstutz [Wed, 16 Apr 2025 22:15:19 +0000 (18:15 -0400)]
21074: Prevent changing collection type: workflow when linked

Simplify some other validation as well

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago21074: Linking workflow record to collection
Peter Amstutz [Wed, 2 Apr 2025 18:19:05 +0000 (14:19 -0400)]
21074: Linking workflow record to collection

(I have squashed a bunch of commits because of an issue of
accidentally including and then subsequently removing some unrelated
database migrations.)

Tests filling in workflow record from collection

Test for synchronization of workflow record with collection

Hide workflows where the collection is trashed

Validate properties on collection

Test destroying workflow collection

Use dependent association instead of after_destroy hook

Added include=collection_uuid to group contents API

Add collection.properties.blah table join filters

Documentation for linking workflow to collection

Figuring out manifest_text in response

Fix behavior & add tests for include=collection_uuid

Specifically need special behavior for manifest_text so it is not
returned by default and can't be selected (because Controller won't
sign it) but unsigned_manifest_text is ok.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months agonull values fall back to zero when computing read_length
Peter Amstutz [Mon, 7 Apr 2025 16:26:26 +0000 (12:26 -0400)]
null values fall back to zero when computing read_length

found refs #21074, original bugfix refs #22232

Null is not the same as zero, in SQL (null + a number) is null, not
the number.  As a result a single null value would cause the entire
row to be considered null (and Ruby would assign it zero size)
regardless of the size of the other columns in the row.  Use coalese()
to get the intended behavior.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22564 process tests done
Lisa Knox [Wed, 16 Apr 2025 19:58:13 +0000 (15:58 -0400)]
22564 process tests done

* also removed now-redundant tests in other test files

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22581: Update discovery doc 22581-api-service-support
Peter Amstutz [Wed, 16 Apr 2025 19:45:30 +0000 (15:45 -0400)]
22581: Update discovery doc

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22581: "published_ports" is no longer tied to "service"
Peter Amstutz [Wed, 16 Apr 2025 19:26:51 +0000 (15:26 -0400)]
22581: "published_ports" is no longer tied to "service"

Made documentation clarifications.

Made sure the tests are testing what the are supposed to be testing.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22564: collection and selector popover tests done
Lisa Knox [Wed, 16 Apr 2025 18:32:15 +0000 (14:32 -0400)]
22564: collection and selector popover tests done

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22564: multiselect collection tests
Lisa Knox [Wed, 16 Apr 2025 14:35:26 +0000 (10:35 -0400)]
22564: multiselect collection tests

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months agoFilter the development- prefix before sorting, refs #22767
Peter Amstutz [Wed, 9 Apr 2025 21:29:29 +0000 (17:29 -0400)]
Filter the development- prefix before sorting, refs #22767

Unfortunately 'development' sorts before numbers, so the
development-3.0.0 tag was continuing to show up at the top (resulting
in it assigning 3.1.0~dev versions even after 3.1.0 had been released
and tagged) when it should have been picking up 3.1.0 as the most
recent version.  Tweak the logic to get rid of the development prefix
before sorting.  With this, it correctly generates the versions as
3.2.0~dev.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

3 months ago22781: Add service name to endpoint diagnostic messages 22781-name-endpoints
Brett Smith [Tue, 15 Apr 2025 14:36:47 +0000 (10:36 -0400)]
22781: Add service name to endpoint diagnostic messages

This should make it easier for an administrator spot accidental URL
mix-ups in configuration.

Since I need to change URL access anyway, we make a copy of the endpoint
URL to avoid mutating the original.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoMerge branch '22788-ansible-key-fix'
Brett Smith [Tue, 15 Apr 2025 18:41:37 +0000 (14:41 -0400)]
Merge branch '22788-ansible-key-fix'

Refs #22788.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22564: Finished single project tests
Lisa Knox [Tue, 15 Apr 2025 18:24:26 +0000 (14:24 -0400)]
22564: Finished single project tests

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22788: Ensure private key ends with a newline 22788-ansible-key-fix
Brett Smith [Tue, 15 Apr 2025 18:04:04 +0000 (14:04 -0400)]
22788: Ensure private key ends with a newline

Otherwise `ssh-keygen` will refuse to parse it.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22788: Fix getting dispatch public key from private key content
Brett Smith [Tue, 15 Apr 2025 15:57:35 +0000 (11:57 -0400)]
22788: Fix getting dispatch public key from private key content

As commented, the way we tried to pass the private key to ssh-keygen via
stdin unfortunately doesn't work. ssh-keygen really wants to work with a
file, so write a tempfile to do that.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22564: Added multi-project tests
Lisa Knox [Tue, 15 Apr 2025 13:44:43 +0000 (09:44 -0400)]
22564: Added multi-project tests

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22394: Add user preferences page
Stephen Smith [Mon, 14 Apr 2025 22:50:59 +0000 (18:50 -0400)]
22394: Add user preferences page

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22076: Add API docs for ZIP download.
Tom Clegg [Mon, 14 Apr 2025 22:24:40 +0000 (18:24 -0400)]
22076: Add API docs for ZIP download.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Skip properties in collection.json when downloading by PDH.
Tom Clegg [Mon, 14 Apr 2025 21:29:33 +0000 (17:29 -0400)]
22076: Skip properties in collection.json when downloading by PDH.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Remove stale comment.
Tom Clegg [Mon, 14 Apr 2025 19:48:23 +0000 (15:48 -0400)]
22076: Remove stale comment.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch '22772-workflow-multiselector'
Lisa Knox [Mon, 14 Apr 2025 18:36:35 +0000 (14:36 -0400)]
Merge branch '22772-workflow-multiselector'

closes #22772

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22718: Finalize 3.1.1 release
Brett Smith [Mon, 14 Apr 2025 15:41:00 +0000 (11:41 -0400)]
22718: Finalize 3.1.1 release

Not updating `services/api/Gemfile` because there are no relevant
changes to the gem in this release. Refs #22718.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22772: added null check 22772-workflow-multiselector
Lisa Knox [Mon, 14 Apr 2025 16:15:16 +0000 (12:15 -0400)]
22772: added null check

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22772: added another initialization check in data-table
Lisa Knox [Mon, 14 Apr 2025 15:49:35 +0000 (11:49 -0400)]
22772: added another initialization check in data-table

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

3 months ago22076: Add option to include collection metadata as collection.json.
Tom Clegg [Mon, 14 Apr 2025 15:31:55 +0000 (11:31 -0400)]
22076: Add option to include collection metadata as collection.json.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Accept file list in query string.
Tom Clegg [Mon, 14 Apr 2025 14:52:26 +0000 (10:52 -0400)]
22076: Accept file list in query string.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22775: Pin more packages for NVIDIA CUDA installation
Brett Smith [Fri, 11 Apr 2025 17:29:34 +0000 (13:29 -0400)]
22775: Pin more packages for NVIDIA CUDA installation

The release of CUDA 570 revealed some gaps in our pinning. We can still
get the results we want, we just need to pin more packages to do so.

Closes #22775, #22776.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoMerge branch '22605-fix-test'
Lisa Knox [Fri, 11 Apr 2025 16:04:23 +0000 (12:04 -0400)]
Merge branch '22605-fix-test'

refs #22605

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>