arvados.git
7 hours agoUpdate version-at-commit.sh to handle "development-" prefix tags main
Peter Amstutz [Wed, 20 Nov 2024 22:42:13 +0000 (17:42 -0500)]
Update version-at-commit.sh to handle "development-" prefix tags

Added a long comment explaining how versioning relates to the release
process.

no issue #

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

10 hours agoMerge branch '22327-container-request-index' refs #22327
Peter Amstutz [Wed, 20 Nov 2024 20:05:33 +0000 (15:05 -0500)]
Merge branch '22327-container-request-index' refs #22327

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

10 hours ago22327: Set statement timeout in case adding the index takes too long 22327-container-request-index
Peter Amstutz [Wed, 20 Nov 2024 20:03:50 +0000 (15:03 -0500)]
22327: Set statement timeout in case adding the index takes too long

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

2 days ago22327: Add index to container_requests on (name, owner_uuid)
Peter Amstutz [Mon, 18 Nov 2024 16:15:41 +0000 (11:15 -0500)]
22327: Add index to container_requests on (name, owner_uuid)

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

4 days agoMerge branch '22316-test-fixes'
Tom Clegg [Sat, 16 Nov 2024 19:32:23 +0000 (14:32 -0500)]
Merge branch '22316-test-fixes'

fixes #22316

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

6 days agoMerge branch '22000-deleting-favorites' into main. Closes #22000
Stephen Smith [Thu, 14 Nov 2024 15:11:42 +0000 (10:11 -0500)]
Merge branch '22000-deleting-favorites' into main. Closes #22000

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

7 days ago22000: Add comments 22000-deleting-favorites
Stephen Smith [Wed, 13 Nov 2024 14:20:01 +0000 (09:20 -0500)]
22000: Add comments

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

7 days ago22000: Route all favorites refreshes through validation path
Stephen Smith [Tue, 12 Nov 2024 22:49:23 +0000 (17:49 -0500)]
22000: Route all favorites refreshes through validation path

Removes tree updating functionality from fetchFavoritesResources
and fetchPublicFavoritesLinks

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

8 days ago22000: Remove any types from setFaves and load public faves
Stephen Smith [Tue, 12 Nov 2024 22:41:10 +0000 (17:41 -0500)]
22000: Remove any types from setFaves and load public faves

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

8 days ago22000: Add comment
Stephen Smith [Tue, 12 Nov 2024 22:09:18 +0000 (17:09 -0500)]
22000: Add comment

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

8 days ago22000: Add tests for delete/restore favorited resources
Stephen Smith [Tue, 12 Nov 2024 20:52:38 +0000 (15:52 -0500)]
22000: Add tests for delete/restore favorited resources

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

8 days ago22316: Don't enable cypress interactive mode unless DISPLAY is set. 22316-test-fixes
Tom Clegg [Tue, 12 Nov 2024 19:01:41 +0000 (14:01 -0500)]
22316: Don't enable cypress interactive mode unless DISPLAY is set.

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

8 days ago22000: Remove unused imports
Stephen Smith [Tue, 12 Nov 2024 18:26:23 +0000 (13:26 -0500)]
22000: Remove unused imports

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

8 days ago22316: `arvados-server install` option to add user to docker group.
Tom Clegg [Tue, 12 Nov 2024 18:20:23 +0000 (13:20 -0500)]
22316: `arvados-server install` option to add user to docker group.

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

8 days agoMerge branch '22217-packer-keypair-type'
Brett Smith [Tue, 12 Nov 2024 16:40:54 +0000 (11:40 -0500)]
Merge branch '22217-packer-keypair-type'

Closes #22217, #22251.

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

8 days ago22217: Improve readability of CUDA deb download
Brett Smith [Tue, 12 Nov 2024 16:40:17 +0000 (11:40 -0500)]
22217: Improve readability of CUDA deb download

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

8 days ago22000: Add flag to control writing nodes to favorites tree, eliminates flickering
Stephen Smith [Tue, 12 Nov 2024 15:43:26 +0000 (10:43 -0500)]
22000: Add flag to control writing nodes to favorites tree, eliminates flickering

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

8 days ago22000: Update resource store with trashed resources, refresh favorites after
Stephen Smith [Tue, 12 Nov 2024 15:42:19 +0000 (10:42 -0500)]
22000: Update resource store with trashed resources, refresh favorites after

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

8 days ago22000: Refresh favorites after deleting processes permanently
Stephen Smith [Tue, 12 Nov 2024 15:36:32 +0000 (10:36 -0500)]
22000: Refresh favorites after deleting processes permanently

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

8 days ago22000: Filter out 404/trashed resources when loading favorites
Stephen Smith [Tue, 12 Nov 2024 15:23:23 +0000 (10:23 -0500)]
22000: Filter out 404/trashed resources when loading favorites

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

8 days ago22000: Add common resource error checker for 404
Stephen Smith [Tue, 12 Nov 2024 15:09:13 +0000 (10:09 -0500)]
22000: Add common resource error checker for 404

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

8 days agoMerge branch '21743-users-include-trash'
Tom Clegg [Tue, 12 Nov 2024 14:45:59 +0000 (09:45 -0500)]
Merge branch '21743-users-include-trash'

fixes #21743

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

8 days agoMerge branch '22029-crunch-run-install-dir'
Tom Clegg [Tue, 12 Nov 2024 14:44:28 +0000 (09:44 -0500)]
Merge branch '22029-crunch-run-install-dir'

closes #22029

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

9 days ago22217: Add contrib apt component only on Debian 22217-packer-keypair-type
Brett Smith [Mon, 11 Nov 2024 21:12:45 +0000 (16:12 -0500)]
22217: Add contrib apt component only on Debian

It's a Debian-specific name. Ubuntu doesn't use it.

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

9 days ago22217: Disable nvidia-persistenced.service only if it exists
Brett Smith [Mon, 11 Nov 2024 18:54:50 +0000 (13:54 -0500)]
22217: Disable nvidia-persistenced.service only if it exists

It doesn't seem to come with more recent NVIDIA packages.

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

9 days ago22217: Enable contrib suites with our own code, not add-apt-repository
Brett Smith [Mon, 11 Nov 2024 18:30:16 +0000 (13:30 -0500)]
22217: Enable contrib suites with our own code, not add-apt-repository

add-apt-repository does not seem to be aware of .sources files, which
are becoming more common in modern releases of Debian and Ubuntu.

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

9 days ago22217: Make apt less quiet
Brett Smith [Mon, 11 Nov 2024 17:05:08 +0000 (12:05 -0500)]
22217: Make apt less quiet

This still suppresses progress reports, which are the noisiest output,
but lets apt report more information about errors when they occur.

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

9 days ago21743: Don't check include_trash if controller does not load it. 21743-users-include-trash
Tom Clegg [Mon, 11 Nov 2024 16:54:46 +0000 (11:54 -0500)]
21743: Don't check include_trash if controller does not load it.

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

9 days ago22217: Improve RESOLVER set check
Brett Smith [Mon, 11 Nov 2024 16:31:20 +0000 (11:31 -0500)]
22217: Improve RESOLVER set check

Avoid an unset variable error.

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

9 days ago22217: Pin cuda package version
Brett Smith [Mon, 11 Nov 2024 16:29:11 +0000 (11:29 -0500)]
22217: Pin cuda package version

Recent versions depend on more recent versions of the NVIDIA driver than
we want to install. This basically keeps the cuda version in sync with
the driver version we've already pinned.

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

9 days ago22217: Clean up EBS autoscale code
Brett Smith [Mon, 11 Nov 2024 16:25:29 +0000 (11:25 -0500)]
22217: Clean up EBS autoscale code

Remove commented out code. Use fewer commands to do the same work.

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

9 days ago22217: Make crunch SSH setup more idempotent
Brett Smith [Mon, 11 Nov 2024 16:21:37 +0000 (11:21 -0500)]
22217: Make crunch SSH setup more idempotent

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

9 days ago22029: Add DeployRunnerDirectory config. 22029-crunch-run-install-dir
Tom Clegg [Mon, 11 Nov 2024 15:40:26 +0000 (10:40 -0500)]
22029: Add DeployRunnerDirectory config.

Previously hardcoded to "/tmp/arvados-crunch-run".

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

12 days ago22217: Modernize NVIDIA repository setup
Brett Smith [Fri, 8 Nov 2024 21:53:59 +0000 (16:53 -0500)]
22217: Modernize NVIDIA repository setup

The main functional thing this accomplishes is using the CUDA keyring
package instead of the old individual key files. It also uses new
source setup patterns.

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

12 days ago22217: Configure Docker via daemon.json rather than systemd
Brett Smith [Fri, 8 Nov 2024 21:34:26 +0000 (16:34 -0500)]
22217: Configure Docker via daemon.json rather than systemd

This is less fiddly and easier to extend.

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

12 days ago22217: Make curl options more consistent
Brett Smith [Fri, 8 Nov 2024 21:32:36 +0000 (16:32 -0500)]
22217: Make curl options more consistent

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

12 days ago22217: Consolidate apt configuration and installation
Brett Smith [Fri, 8 Nov 2024 21:31:06 +0000 (16:31 -0500)]
22217: Consolidate apt configuration and installation

Rather than having all this scattered across the build script, first
configure apt as much as possible, then install packages, then configure
those packages.

This makes it easier to see what the entire apt configuration is. It
also makes the compute script run faster since it reduces the number of
times apt has to load the package database.

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

12 days agoAdd note about Red Hat 8 package streams to upgrade notes, refs #21273 development-3.0.0
Peter Amstutz [Fri, 8 Nov 2024 22:13:21 +0000 (17:13 -0500)]
Add note about Red Hat 8 package streams to upgrade notes, refs #21273

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

12 days agoRevise the 3.0 upgrade notes a bit. refs #22084
Peter Amstutz [Fri, 8 Nov 2024 22:02:06 +0000 (17:02 -0500)]
Revise the 3.0 upgrade notes a bit. refs #22084

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

12 days agoRestore rendering HTML tags in registered workflow panel, refs #21944
Peter Amstutz [Fri, 8 Nov 2024 19:52:03 +0000 (14:52 -0500)]
Restore rendering HTML tags in registered workflow panel, refs #21944

This feature was reverted by accident in a merge conflict.

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

12 days ago22217: Modernize temporary_key_pair_type on AWS compute node builds
Brett Smith [Fri, 8 Nov 2024 18:58:44 +0000 (13:58 -0500)]
22217: Modernize temporary_key_pair_type on AWS compute node builds

This setting causes the Packer EBS plugin to create a temporary ed25519
key for the build which works on more modern distros.

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

13 days ago22299: Merge nvidia container package pins
Brett Smith [Thu, 7 Nov 2024 19:19:17 +0000 (14:19 -0500)]
22299: Merge nvidia container package pins

Just to help make it clearer that they need to be kept in sync and avoid
mistakes where that doesn't happen. Refs #22299.

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

13 days agoAdd nvidia-container-toolkit pin, refs #22299
Peter Amstutz [Thu, 7 Nov 2024 18:13:56 +0000 (13:13 -0500)]
Add nvidia-container-toolkit pin, refs #22299

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

2 weeks agoMerge branch '22199-content-address-fixes'
Lisa Knox [Tue, 5 Nov 2024 21:16:56 +0000 (16:16 -0500)]
Merge branch '22199-content-address-fixes'

closes #22199

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

2 weeks agoMerge branch '22285-architecture-page' refs #22285
Peter Amstutz [Tue, 5 Nov 2024 20:41:31 +0000 (15:41 -0500)]
Merge branch '22285-architecture-page' refs #22285

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

2 weeks ago22285: Arrows should be same size now 22285-architecture-page
Peter Amstutz [Tue, 5 Nov 2024 19:57:39 +0000 (14:57 -0500)]
22285: Arrows should be same size now

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

2 weeks ago22199: cleanup 22199-content-address-fixes
Lisa Knox [Tue, 5 Nov 2024 18:31:32 +0000 (13:31 -0500)]
22199: cleanup

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

2 weeks agoMerge branch '22281-keepweb-pg-conn'
Lucas Di Pentima [Tue, 5 Nov 2024 18:18:21 +0000 (15:18 -0300)]
Merge branch '22281-keepweb-pg-conn'

closes #22281

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

2 weeks ago22285: Add arvados-server subcommands
Peter Amstutz [Tue, 5 Nov 2024 17:36:47 +0000 (12:36 -0500)]
22285: Add arvados-server subcommands

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

2 weeks ago22199: removed actions column and forceMultiselectMode
Lisa Knox [Tue, 5 Nov 2024 16:55:09 +0000 (11:55 -0500)]
22199: removed actions column and forceMultiselectMode

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

2 weeks agoMerge branch 'main' into 22199-content-address-fixes
Lisa Knox [Tue, 5 Nov 2024 16:45:32 +0000 (11:45 -0500)]
Merge branch 'main' into 22199-content-address-fixes

refs #22199

Merged to pull in changes in 22235

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

2 weeks ago22281: Adds keep-web's IP address to PG's ACL 22281-keepweb-pg-conn
Lucas Di Pentima [Tue, 5 Nov 2024 16:43:57 +0000 (13:43 -0300)]
22281: Adds keep-web's IP address to PG's ACL

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

2 weeks agoMerge branch '22235-toolbar-access-fixes'
Lisa Knox [Tue, 5 Nov 2024 16:34:32 +0000 (11:34 -0500)]
Merge branch '22235-toolbar-access-fixes'

closes #22235

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

2 weeks ago22199: fixed row leftclick
Lisa Knox [Tue, 5 Nov 2024 16:28:55 +0000 (11:28 -0500)]
22199: fixed row leftclick

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

2 weeks ago22285: Still tinkering with the diagram
Peter Amstutz [Tue, 5 Nov 2024 15:53:59 +0000 (10:53 -0500)]
22285: Still tinkering with the diagram

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

2 weeks ago22285: Update architecture diagram some more
Peter Amstutz [Tue, 5 Nov 2024 15:42:31 +0000 (10:42 -0500)]
22285: Update architecture diagram some more

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

2 weeks ago22235: moved toolbar filter for groups to catch all cases 22235-toolbar-access-fixes
Lisa Knox [Tue, 5 Nov 2024 15:06:11 +0000 (10:06 -0500)]
22235: moved toolbar filter for groups to catch all cases

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

2 weeks ago22235: moved select params so they don't get overwritten
Lisa Knox [Tue, 5 Nov 2024 14:52:57 +0000 (09:52 -0500)]
22235: moved select params so they don't get overwritten

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

2 weeks agoRedo the architecture layout to improve readability
Peter Amstutz [Mon, 4 Nov 2024 23:07:48 +0000 (18:07 -0500)]
Redo the architecture layout to improve readability

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

2 weeks agoMerge branch '22184-concurrent-mkcol'
Tom Clegg [Mon, 4 Nov 2024 22:01:11 +0000 (17:01 -0500)]
Merge branch '22184-concurrent-mkcol'

fixes #22184

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

2 weeks ago22184: Add database access requirement to keep-web install docs. 22184-concurrent-mkcol
Tom Clegg [Mon, 4 Nov 2024 21:38:38 +0000 (16:38 -0500)]
22184: Add database access requirement to keep-web install docs.

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

2 weeks ago22184: Update arch diagram to include keep-web database access.
Tom Clegg [Mon, 4 Nov 2024 21:34:13 +0000 (16:34 -0500)]
22184: Update arch diagram to include keep-web database access.

Also remove arv-git-httpd.

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

2 weeks ago22184: Add upgrade note about keep-web database access requirement.
Tom Clegg [Mon, 4 Nov 2024 21:33:56 +0000 (16:33 -0500)]
22184: Add upgrade note about keep-web database access requirement.

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

2 weeks ago22235: applied extra select fields only to process fetches
Lisa Knox [Mon, 4 Nov 2024 16:49:53 +0000 (11:49 -0500)]
22235: applied extra select fields only to process fetches

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

2 weeks ago22235: fixed context-menu-action test
Lisa Knox [Mon, 4 Nov 2024 16:15:56 +0000 (11:15 -0500)]
22235: fixed context-menu-action test

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

2 weeks ago22235: tweaked frozenManageableProject menu
Lisa Knox [Mon, 4 Nov 2024 14:48:02 +0000 (09:48 -0500)]
22235: tweaked frozenManageableProject menu

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

2 weeks ago22184: Don't look up remote-hosted collections in local DB.
Tom Clegg [Sat, 2 Nov 2024 20:56:30 +0000 (16:56 -0400)]
22184: Don't look up remote-hosted collections in local DB.

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

2 weeks agoMerge branch '22273-arv-cluster-activity-bugfixes'
Brett Smith [Fri, 1 Nov 2024 20:05:50 +0000 (16:05 -0400)]
Merge branch '22273-arv-cluster-activity-bugfixes'

Refs #22273.

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

2 weeks ago22235: fixed all-processes context menu
Lisa Knox [Fri, 1 Nov 2024 19:52:53 +0000 (15:52 -0400)]
22235: fixed all-processes context menu

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

2 weeks agoFix ClusterTarget document anchor, no issue #
Peter Amstutz [Fri, 1 Nov 2024 19:34:20 +0000 (15:34 -0400)]
Fix ClusterTarget document anchor, no issue #

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

2 weeks ago22235: fixed context-menu-actions test
Lisa Knox [Fri, 1 Nov 2024 18:39:32 +0000 (14:39 -0400)]
22235: fixed context-menu-actions test

* also added a console.error because the thrown error was not so helpful

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

2 weeks ago22274: Only generate a chart card when chart data is available 22273-arv-cluster-activity-bugfixes
Brett Smith [Fri, 1 Nov 2024 18:01:30 +0000 (14:01 -0400)]
22274: Only generate a chart card when chart data is available

This cleans up the report when chart data is not available.

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

2 weeks ago22273: Use importlib.resources functional interfaces
Brett Smith [Fri, 1 Nov 2024 17:56:08 +0000 (13:56 -0400)]
22273: Use importlib.resources functional interfaces

`importlib.resources.files` was added in Python 3.9, so this provides
Python 3.8 support.

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

2 weeks ago22274: Bugfix graphs existence check
Brett Smith [Fri, 1 Nov 2024 17:42:55 +0000 (13:42 -0400)]
22274: Bugfix graphs existence check

Earlier code always assigns `self.graphs[managed_graph]` and
`self.graphs[storage_graph]`. When the graphs aren't available (e.g.,
because the user doesn't have Prometheus credentials), the values are
None. This would cause us to run `len(None)` and crash with a
TypeError.

Simplify by checking the truthiness of graph data and then calculating
the rest of what we need.

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

2 weeks ago22273: Remove built-in type subscript
Brett Smith [Fri, 1 Nov 2024 17:37:41 +0000 (13:37 -0400)]
22273: Remove built-in type subscript

This isn't supported in Python 3.8.

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

2 weeks ago22235: cleaned up resourceToMenuKind
Lisa Knox [Fri, 1 Nov 2024 15:08:41 +0000 (11:08 -0400)]
22235: cleaned up resourceToMenuKind

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

2 weeks ago22184: Clean up handler.
Tom Clegg [Fri, 1 Nov 2024 14:52:13 +0000 (10:52 -0400)]
22184: Clean up handler.

* merge the two "sync if needed" blocks
* merge a few variants of Join(targetPath, "/")

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

2 weeks ago22184: Check latest PDH in database and call Sync if needed.
Tom Clegg [Thu, 31 Oct 2024 17:52:58 +0000 (13:52 -0400)]
22184: Check latest PDH in database and call Sync if needed.

Ensures consistent filesystem semantics for sequences of WebDAV
requests even if they are handled by load-balanced keep-web servers.

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

2 weeks ago22184: Sys() returns last loaded PDH, not initial PDH.
Tom Clegg [Thu, 31 Oct 2024 17:18:11 +0000 (13:18 -0400)]
22184: Sys() returns last loaded PDH, not initial PDH.

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

2 weeks ago22184: Fix misordered updates in concurrent calls to Sync.
Tom Clegg [Thu, 31 Oct 2024 17:17:04 +0000 (13:17 -0400)]
22184: Fix misordered updates in concurrent calls to Sync.

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

2 weeks ago22184: Force sync in depth header test sequence.
Tom Clegg [Wed, 30 Oct 2024 14:13:03 +0000 (10:13 -0400)]
22184: Force sync in depth header test sequence.

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

2 weeks ago22184: Update force-reload test.
Tom Clegg [Mon, 28 Oct 2024 01:42:33 +0000 (21:42 -0400)]
22184: Update force-reload test.

Getting a nonexistent file now automatically causes a reload, so we
can't use that to check that a cached version is still active.

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

2 weeks ago22184: Fix HTTP status for invalid request.
Tom Clegg [Fri, 25 Oct 2024 19:41:37 +0000 (15:41 -0400)]
22184: Fix HTTP status for invalid request.

A replace_files request with a nonexistent "current/..." source should
return non-retryable 400, not retryable 500.

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

2 weeks ago22184: Call Sync if request might fail due to outdated sessionFS.
Tom Clegg [Fri, 25 Oct 2024 19:33:48 +0000 (15:33 -0400)]
22184: Call Sync if request might fail due to outdated sessionFS.

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

2 weeks ago22235: restored dynamic context menu in all-processes
Lisa Knox [Fri, 1 Nov 2024 13:39:26 +0000 (09:39 -0400)]
22235: restored dynamic context menu in all-processes

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

2 weeks ago22235: differentiated frozen manageable projects
Lisa Knox [Thu, 31 Oct 2024 18:07:28 +0000 (14:07 -0400)]
22235: differentiated frozen manageable projects

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

2 weeks ago22235: removed unfreeze from manageable_project in toolbar
Lisa Knox [Thu, 31 Oct 2024 17:22:42 +0000 (13:22 -0400)]
22235: removed unfreeze from manageable_project in toolbar

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

2 weeks ago22235: added manageableProject set and unfreezeRequiresAdmin condition
Lisa Knox [Thu, 31 Oct 2024 15:10:39 +0000 (11:10 -0400)]
22235: added manageableProject set and unfreezeRequiresAdmin condition

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

2 weeks agoMerge branch '22269-salt-urls'
Brett Smith [Thu, 31 Oct 2024 14:22:32 +0000 (10:22 -0400)]
Merge branch '22269-salt-urls'

Closes #22269.

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

2 weeks ago22000: Bump express/cookie to address CVE-2024-47764
Stephen Smith [Thu, 31 Oct 2024 13:34:00 +0000 (09:34 -0400)]
22000: Bump express/cookie to address CVE-2024-47764

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

2 weeks ago22000: Remove unused elliptic package
Stephen Smith [Thu, 31 Oct 2024 13:30:27 +0000 (09:30 -0400)]
22000: Remove unused elliptic package

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

3 weeks agoMerge branch '21540-priority-update-deadlock' refs #21540
Peter Amstutz [Wed, 30 Oct 2024 20:40:51 +0000 (16:40 -0400)]
Merge branch '21540-priority-update-deadlock' refs #21540

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

3 weeks ago22235: removed stray divider that can show up at the end of the toolbar
Lisa Knox [Wed, 30 Oct 2024 19:53:54 +0000 (15:53 -0400)]
22235: removed stray divider that can show up at the end of the toolbar

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

3 weeks ago22235: adjusted context-menu-actions comp test
Lisa Knox [Wed, 30 Oct 2024 19:46:18 +0000 (15:46 -0400)]
22235: adjusted context-menu-actions comp test

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

3 weeks ago22235: adjusted collection test
Lisa Knox [Wed, 30 Oct 2024 19:15:31 +0000 (15:15 -0400)]
22235: adjusted collection test

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

3 weeks ago22235: adjusted refs and memoized values to fix accidental overflow bug
Lisa Knox [Wed, 30 Oct 2024 19:12:33 +0000 (15:12 -0400)]
22235: adjusted refs and memoized values to fix accidental overflow bug

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

3 weeks ago22235: adjusted toolbar styles
Lisa Knox [Wed, 30 Oct 2024 18:22:19 +0000 (14:22 -0400)]
22235: adjusted toolbar styles

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

3 weeks agoMerge branch '22202-delete-process-navigation' into main. Closes #22202
Stephen Smith [Wed, 30 Oct 2024 18:11:54 +0000 (14:11 -0400)]
Merge branch '22202-delete-process-navigation' into main. Closes #22202

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

3 weeks ago22235: added writeableCollection to context menu
Lisa Knox [Wed, 30 Oct 2024 17:52:13 +0000 (13:52 -0400)]
22235: added writeableCollection to context menu

* also added missing 'Copy UUID' actions to collection action sets

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

3 weeks ago22235: added writeableCollection menu filter for toolbar
Lisa Knox [Wed, 30 Oct 2024 17:32:25 +0000 (13:32 -0400)]
22235: added writeableCollection menu filter for toolbar

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