arvados.git
3 weeks ago22051: removed getResourceWithEditableStatus and associated unit test
Lisa Knox [Fri, 17 Jan 2025 16:03:08 +0000 (11:03 -0500)]
22051: removed getResourceWithEditableStatus and associated unit test

* removed test's functionality is covered in resource-to-menukind.cy.js

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

3 weeks ago22051: refactored getResourceWithEditableStatus
Lisa Knox [Fri, 17 Jan 2025 15:02:02 +0000 (10:02 -0500)]
22051: refactored getResourceWithEditableStatus

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

3 weeks ago22051: context menu comp tests pass
Lisa Knox [Fri, 17 Jan 2025 14:24:50 +0000 (09:24 -0500)]
22051: context menu comp tests pass

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

3 weeks ago22051: replaced all resourceToContextMenuKinds with resourceToMenuKind
Lisa Knox [Thu, 16 Jan 2025 19:42:08 +0000 (14:42 -0500)]
22051: replaced all resourceToContextMenuKinds with resourceToMenuKind

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

3 weeks ago22051: created new resourceToMenuKind function
Lisa Knox [Thu, 16 Jan 2025 18:29:53 +0000 (13:29 -0500)]
22051: created new resourceToMenuKind function

* also applied some memoization to resource getters

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

3 weeks agoMerge branch '22434-spot-check-warning'
Tom Clegg [Tue, 14 Jan 2025 16:25:55 +0000 (11:25 -0500)]
Merge branch '22434-spot-check-warning'

fixes #22434

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

3 weeks ago22434: Reword spot check error message: "inconclusive". 22434-spot-check-warning
Tom Clegg [Mon, 13 Jan 2025 21:42:08 +0000 (16:42 -0500)]
22434: Reword spot check error message: "inconclusive".

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

3 weeks agoMerge branch '22411-keepstore-index-timeout'
Tom Clegg [Mon, 13 Jan 2025 16:46:11 +0000 (11:46 -0500)]
Merge branch '22411-keepstore-index-timeout'

fixes #22411

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

4 weeks ago22434: Fix spot check error message that lies about retrying.
Tom Clegg [Fri, 10 Jan 2025 20:11:19 +0000 (15:11 -0500)]
22434: Fix spot check error message that lies about retrying.

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

4 weeks agoMerge branch '22431-tunnel-log-spam'
Tom Clegg [Fri, 10 Jan 2025 19:38:26 +0000 (14:38 -0500)]
Merge branch '22431-tunnel-log-spam'

fixes #22431

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

4 weeks ago22431: Add comments about runTunnel return value. 22431-tunnel-log-spam
Tom Clegg [Fri, 10 Jan 2025 18:42:36 +0000 (13:42 -0500)]
22431: Add comments about runTunnel return value.

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

4 weeks agoMerge branch '22428-run-tests-targets'
Brett Smith [Fri, 10 Jan 2025 14:41:58 +0000 (09:41 -0500)]
Merge branch '22428-run-tests-targets'

Refs #22428.

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

4 weeks ago22431: Remove spammy/debug logs.
Tom Clegg [Thu, 9 Jan 2025 21:53:05 +0000 (16:53 -0500)]
22431: Remove spammy/debug logs.

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

4 weeks ago22434: Reword spot check error messages to be less spooky.
Tom Clegg [Thu, 9 Jan 2025 20:41:37 +0000 (15:41 -0500)]
22434: Reword spot check error messages to be less spooky.

Also, update logic to avoid emitting confusing logs/runtime_status if
we get an interruption notice followed by an error.

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

4 weeks ago22428: Guard target list against undefined/incorrect WORKSPACE 22428-run-tests-targets
Brett Smith [Thu, 9 Jan 2025 16:52:28 +0000 (11:52 -0500)]
22428: Guard target list against undefined/incorrect WORKSPACE

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

4 weeks ago22428: Better anchor excluded test function regexp
Brett Smith [Thu, 9 Jan 2025 16:51:12 +0000 (11:51 -0500)]
22428: Better anchor excluded test function regexp

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

4 weeks ago22411: Fix hardcoded port number in test. 22411-keepstore-index-timeout
Tom Clegg [Tue, 7 Jan 2025 19:56:17 +0000 (14:56 -0500)]
22411: Fix hardcoded port number in test.

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

4 weeks ago22411: Update Hijack usage in websocket server.
Tom Clegg [Mon, 6 Jan 2025 20:52:28 +0000 (15:52 -0500)]
22411: Update Hijack usage in websocket server.

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

4 weeks ago22411: Do not apply RequestTimeout to keepstore index handler.
Tom Clegg [Mon, 6 Jan 2025 16:08:55 +0000 (11:08 -0500)]
22411: Do not apply RequestTimeout to keepstore index handler.

This updates our code to account for the ResponseController pattern
(see https://tip.golang.org/doc/go1.20#http_responsecontroller):

Update prometheus client library to a newer version whose middleware
supports Unwrap.

Use http.NewResponseController(w).Hijack() instead of probing for the
Hijack() interface.

Use a explicit function call to disable the request timeout when
needed, instead of magically detecting whether the connection has been
hijacked.

(Our old way of detecting hijacking doesn't work if it's done via
ResponseController.  Since we're adding an explicit "disable timeout"
mechanism anyway, it's much simpler to just write "hijack and cancel
timeout" when needed, rather than implement a new way to detect
hijacking.)

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

4 weeks ago22411: Test that keepstore index is exempt from RequestTimeout.
Tom Clegg [Thu, 2 Jan 2025 22:41:31 +0000 (17:41 -0500)]
22411: Test that keepstore index is exempt from RequestTimeout.

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

4 weeks ago22428: Make run-tests.sh target lists complete
Brett Smith [Mon, 6 Jan 2025 22:06:25 +0000 (17:06 -0500)]
22428: Make run-tests.sh target lists complete

* Remove the static target list from helpmessage.

* Move all top-level code below all function definitions so it's easier
  to follow the flow of execution.

* Automatically generate testfuncargs based on defined test functions.

* Use testfuncargs as the source of available targets.

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

4 weeks ago22318: Restore libgnutls28-dev to ubuntu2004 Docker image
Brett Smith [Mon, 6 Jan 2025 20:29:32 +0000 (15:29 -0500)]
22318: Restore libgnutls28-dev to ubuntu2004 Docker image

On this distro only, libgnutls28-dev is required to build pycurl. We can
build without it on every other distro. Refs #22318.

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

4 weeks agoMerge branch '22318-ansible-test-node'
Brett Smith [Mon, 6 Jan 2025 16:41:59 +0000 (11:41 -0500)]
Merge branch '22318-ansible-test-node'

Refs #22318. Closes #22335.

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

5 weeks ago22318: Add `become: yes` to privilege-nspawn-vm 22318-ansible-test-node
Brett Smith [Fri, 3 Jan 2025 21:30:26 +0000 (16:30 -0500)]
22318: Add `become: yes` to privilege-nspawn-vm

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

5 weeks ago22318: Remove s3cmd from deps.go
Brett Smith [Fri, 3 Jan 2025 21:28:01 +0000 (16:28 -0500)]
22318: Remove s3cmd from deps.go

run-tests.sh already installs it in a virtualenv, which is easier and
more reliable.

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

5 weeks ago22318: Remove obsolete dependencies from various builds
Brett Smith [Fri, 3 Jan 2025 21:16:06 +0000 (16:16 -0500)]
22318: Remove obsolete dependencies from various builds

The rationale for all these removals is in
6a2b9dfc3813a4086c71dce9a8732789262fb27f.
This commit just removes the same dependencies from other build processes.

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

5 weeks agoMerge branch '22159-data-explorer-refactor'
Lisa Knox [Fri, 3 Jan 2025 15:53:16 +0000 (10:53 -0500)]
Merge branch '22159-data-explorer-refactor'

closes #22159

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

5 weeks agoMerge branch '22424-api-package-version-test'
Brett Smith [Fri, 3 Jan 2025 15:01:19 +0000 (10:01 -0500)]
Merge branch '22424-api-package-version-test'

Closes #22424, #22425.

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

5 weeks agoMerge branch '22407-railsapi-rubyopt'
Brett Smith [Fri, 3 Jan 2025 15:01:02 +0000 (10:01 -0500)]
Merge branch '22407-railsapi-rubyopt'

Closes #22407, #22423.

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

5 weeks ago22407: Disable syntax_suggest in RailsAPI 22407-railsapi-rubyopt
Brett Smith [Fri, 3 Jan 2025 14:36:00 +0000 (09:36 -0500)]
22407: Disable syntax_suggest in RailsAPI

This feature was added in Ruby 3.2. The rationale for disabling it is
the same as for the other error extension features we've disabled.

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

5 weeks ago22159: removed unused resources param 22159-data-explorer-refactor
Lisa Knox [Fri, 3 Jan 2025 14:06:30 +0000 (09:06 -0500)]
22159: removed unused resources param

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

5 weeks agoDowngrades additional gems to regain ruby2.7 compatibility. Refs #22422
Lucas Di Pentima [Fri, 3 Jan 2025 01:07:46 +0000 (22:07 -0300)]
Downgrades additional gems to regain ruby2.7 compatibility. Refs #22422

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

5 weeks agoDowngrades nokogiri to a ruby 2.7 compatible version. Refs #22422
Lucas Di Pentima [Thu, 2 Jan 2025 22:24:56 +0000 (19:24 -0300)]
Downgrades nokogiri to a ruby 2.7 compatible version. Refs #22422

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

5 weeks ago22424: Write dedicated tests for packageVersion schema 22424-api-package-version-test
Brett Smith [Thu, 2 Jan 2025 19:57:31 +0000 (14:57 -0500)]
22424: Write dedicated tests for packageVersion schema

This exercises the intended behavior more thoroughly, and avoids a
failure in case packages have been built in the work tree before.

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

5 weeks ago22407: Add test that Passenger disables exception gems
Brett Smith [Thu, 2 Jan 2025 18:51:28 +0000 (13:51 -0500)]
22407: Add test that Passenger disables exception gems

See previous commit's message for detailed rationale.

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

5 weeks ago22407: Disable exception extension gems for RailsAPI
Brett Smith [Thu, 2 Jan 2025 17:11:16 +0000 (12:11 -0500)]
22407: Disable exception extension gems for RailsAPI

The API server sometimes includes raw exception messages in error
responses. In production, we do not want these messages to be extended
with development information. This avoids leaking more information than
intended, keeps messages more consistent for clients, and improves
performance.

Given that we want this in production, we also want this behavior for
integration tests, so clients under test see behavior from the API
server that's as close to production as possible.

Setting RUBYOPT in Passengerfile.json is the single place that ensures
consistent behavior. If a developer ever wants these features turned
back on during API server development, they can do so by running
`passenger --envvar=RUBYOPT=`.

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

5 weeks ago22318: Install s3cmd in run-tests
Brett Smith [Wed, 1 Jan 2025 18:31:48 +0000 (13:31 -0500)]
22318: Install s3cmd in run-tests

This is easy to do and lets us run more tests.

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

5 weeks ago22318: Remove obsolete checks from run-tests
Brett Smith [Wed, 1 Jan 2025 18:17:04 +0000 (13:17 -0500)]
22318: Remove obsolete checks from run-tests

* gnutls.h: You need a TLS backend for curl, but the specific one
  doesn't matter. We already check for curl; the odds that the user
  installed one without TLS are near-zero (Debian doesn't package
  one by itself).

* libattr1: This used to be required for llfuse (required by
  services/fuse), but they have since switched to sys/xattr.h
  provided by glibc.

* graphviz: Used to be required by Workbench 1.

* pandoc: I guess this was required to generate R SDK documentation,
  but it isn't anymore.

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

5 weeks ago22318: Add r-cran-testthat test dependency
Brett Smith [Wed, 1 Jan 2025 18:16:35 +0000 (13:16 -0500)]
22318: Add r-cran-testthat test dependency

A test dependency, rather than a build dependency, of sdk/R.

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

5 weeks agoMerge branch '22422-dependencies-update'
Lucas Di Pentima [Mon, 30 Dec 2024 22:10:28 +0000 (19:10 -0300)]
Merge branch '22422-dependencies-update'

closes #22422

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

5 weeks ago22318: Introduce playbook to add privileges to a systemd-nspawn VM
Brett Smith [Mon, 30 Dec 2024 21:21:40 +0000 (16:21 -0500)]
22318: Introduce playbook to add privileges to a systemd-nspawn VM

See comments for explanation.

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

5 weeks ago22422: Upgrades RailsAPI's dependencies to the latest versions 22422-dependencies-update
Lucas Di Pentima [Mon, 30 Dec 2024 21:21:03 +0000 (18:21 -0300)]
22422: Upgrades RailsAPI's dependencies to the latest versions

Addresses some potential security issues:

* actionpack: CVE-2024-47887, CVE-2024-41128, CVE-2024-54133
* actiomailer: CVE-2024-47889
* actiontext: CVE-2024-47888
* rails-html-sanitizer: CVE-2024-53989, CVE-2024-53987, CVE-2024-53988,
  CVE-2024-53986, CVE-2024-53985

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

5 weeks ago22422: Upgrades github.com/golang-jwt/jwt/v4 to address CVE-2024-51744
Lucas Di Pentima [Mon, 30 Dec 2024 20:37:19 +0000 (17:37 -0300)]
22422: Upgrades github.com/golang-jwt/jwt/v4 to address CVE-2024-51744

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

5 weeks ago22318: Introduce playbook to build a Debian VM from scratch
Brett Smith [Mon, 30 Dec 2024 20:36:25 +0000 (15:36 -0500)]
22318: Introduce playbook to build a Debian VM from scratch

See comments for background.

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

5 weeks ago22422: Upgrades golang.org/x/net to address CWE-770
Lucas Di Pentima [Mon, 30 Dec 2024 20:08:10 +0000 (17:08 -0300)]
22422: Upgrades golang.org/x/net to address CWE-770

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

5 weeks ago22422: Upgrades golang.org/x/crypto to address CVE-2024-45337
Lucas Di Pentima [Mon, 30 Dec 2024 19:57:30 +0000 (16:57 -0300)]
22422: Upgrades golang.org/x/crypto to address CVE-2024-45337

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

7 weeks ago22318: Configure FUSE with user_allow_other in test environments
Brett Smith [Fri, 20 Dec 2024 16:54:28 +0000 (11:54 -0500)]
22318: Configure FUSE with user_allow_other in test environments

Since Crunch relies on it, and we run Crunch in the tests, we need it
here too.

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

7 weeks ago22159: replaced Resource with ProcessResource and aligned related types
Lisa Knox [Thu, 19 Dec 2024 15:57:40 +0000 (10:57 -0500)]
22159: replaced Resource with ProcessResource and aligned related types

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

7 weeks ago22159: removed unused param, aligned two identical types
Lisa Knox [Thu, 19 Dec 2024 14:27:38 +0000 (09:27 -0500)]
22159: removed unused param, aligned two identical types

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

7 weeks ago22318: Update compute_singularity to follow install documentation
Brett Smith [Wed, 18 Dec 2024 22:12:50 +0000 (17:12 -0500)]
22318: Update compute_singularity to follow install documentation

* Install from a release rather than Git, for simplicity.
* Install pkg-config as a dependency.
* Ensure `GOPATH/bin` is in $PATH.

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

7 weeks ago22318: Introduce install-test-env.yml
Brett Smith [Wed, 18 Dec 2024 19:41:10 +0000 (14:41 -0500)]
22318: Introduce install-test-env.yml

See introductory comments for background.

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

7 weeks ago22318: Add arvados_database Ansible role
Brett Smith [Wed, 18 Dec 2024 16:56:05 +0000 (11:56 -0500)]
22318: Add arvados_database Ansible role

This sets up a login role, database owned by that role, and required
pg_trgm extension. So far it has only been tested on nodes where
PostgreSQL is running on the same node, but it is not written to assume
that. It should be possible to run this role on remote servers if you
configure it with superuser connection parameters.

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

7 weeks ago22318: Add arvados_postgresql Ansible role
Brett Smith [Wed, 18 Dec 2024 16:51:54 +0000 (11:51 -0500)]
22318: Add arvados_postgresql Ansible role

For nodes where we want to run the database server.

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

7 weeks ago22318: Add version to arvados_go destdir
Brett Smith [Wed, 18 Dec 2024 16:47:46 +0000 (11:47 -0500)]
22318: Add version to arvados_go destdir

Most of our other tools are already doing this, and it makes it trivial
to check whether or not we have already installed the version we want.

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

7 weeks ago22318: Add become requirements to compute_singularity
Brett Smith [Wed, 18 Dec 2024 15:33:09 +0000 (10:33 -0500)]
22318: Add become requirements to compute_singularity

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

7 weeks ago22318: Avoid unnecessary builds in compute_singularity
Brett Smith [Wed, 18 Dec 2024 15:32:16 +0000 (10:32 -0500)]
22318: Avoid unnecessary builds in compute_singularity

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

7 weeks ago22318: Declare become requirements in arvados_docker role
Brett Smith [Wed, 18 Dec 2024 15:27:22 +0000 (10:27 -0500)]
22318: Declare become requirements in arvados_docker role

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

7 weeks ago22318: Separate Ansible Docker install vs. compute configuration
Brett Smith [Wed, 18 Dec 2024 15:09:19 +0000 (10:09 -0500)]
22318: Separate Ansible Docker install vs. compute configuration

arvados_docker takes care of installing the version we want with pins,
etc. compute_docker takes care of compute node configuration and
integration.

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

7 weeks ago22318: Separate arvados_go role from compute_singularity
Brett Smith [Wed, 18 Dec 2024 15:08:18 +0000 (10:08 -0500)]
22318: Separate arvados_go role from compute_singularity

For build nodes that need Go but not Singularity.

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

7 weeks agoMerge branch '22400-spot-price-paging'
Tom Clegg [Tue, 17 Dec 2024 16:34:07 +0000 (11:34 -0500)]
Merge branch '22400-spot-price-paging'

fixes #22400

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

7 weeks ago22159: restored an onContextMenu that was previously removed
Lisa Knox [Tue, 17 Dec 2024 14:20:18 +0000 (09:20 -0500)]
22159: restored an onContextMenu that was previously removed

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

7 weeks ago22159: removed DataTableItem type in favor of Resource type
Lisa Knox [Mon, 16 Dec 2024 21:41:18 +0000 (16:41 -0500)]
22159: removed DataTableItem type in favor of Resource type

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

7 weeks ago22159: fixed search-results-panel-view onItemClick
Lisa Knox [Mon, 16 Dec 2024 21:28:05 +0000 (16:28 -0500)]
22159: fixed search-results-panel-view onItemClick

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

7 weeks ago22159: changed DataExplorer oncontextmenu to accept Resource instead of any
Lisa Knox [Mon, 16 Dec 2024 20:49:45 +0000 (15:49 -0500)]
22159: changed DataExplorer oncontextmenu to accept Resource instead of any

* changed type sigs in several places to account for this change
* removed unused extractKey and onContextMenu from group-details-panel
* removed unnecessary resources param in collection-content-address-panel.tsx and public-favorites-panel.tsx

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

7 weeks ago22400: Fix AWS SDK usage. 22400-spot-price-paging
Tom Clegg [Mon, 16 Dec 2024 16:50:51 +0000 (11:50 -0500)]
22400: Fix AWS SDK usage.

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

7 weeks ago22159: refined a few type signatures
Lisa Knox [Mon, 16 Dec 2024 14:56:46 +0000 (09:56 -0500)]
22159: refined a few type signatures

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

8 weeks agoMerge branch '22349-doc-updates'
Brett Smith [Fri, 13 Dec 2024 16:32:33 +0000 (11:32 -0500)]
Merge branch '22349-doc-updates'

Refs #22349. Closes #22396, #22397.

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

8 weeks ago22349: Refresh health check example output 22349-doc-updates
Brett Smith [Fri, 13 Dec 2024 14:57:58 +0000 (09:57 -0500)]
22349: Refresh health check example output

No specific need but I was checking if I needed to do other updates here
so figured I might as well.

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

8 weeks ago22349: Include systemd's edit prompts
Brett Smith [Fri, 13 Dec 2024 14:59:46 +0000 (09:59 -0500)]
22349: Include systemd's edit prompts

I hope this makes it a little easier to follow where you need to make
the change.

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

8 weeks ago22349: Correct syntax for multiple units in start_service
Brett Smith [Fri, 13 Dec 2024 14:56:39 +0000 (09:56 -0500)]
22349: Correct syntax for multiple units in start_service

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

8 weeks ago22349: Update RailsAPI ConfigURLs docs for standalone deployment
Brett Smith [Fri, 13 Dec 2024 14:59:16 +0000 (09:59 -0500)]
22349: Update RailsAPI ConfigURLs docs for standalone deployment

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

8 weeks agoMerge branch '22232-rails-dynamic-index-limit'
Brett Smith [Thu, 12 Dec 2024 21:53:02 +0000 (16:53 -0500)]
Merge branch '22232-rails-dynamic-index-limit'

Refs #22232.

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

8 weeks ago22232: Explain why we don't use pg_column_size to limit database reads 22232-rails-dynamic-index-limit
Brett Smith [Thu, 12 Dec 2024 21:16:43 +0000 (16:16 -0500)]
22232: Explain why we don't use pg_column_size to limit database reads

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

8 weeks ago22232: Apply database read limit logic to all "large" columns
Brett Smith [Thu, 12 Dec 2024 19:59:18 +0000 (14:59 -0500)]
22232: Apply database read limit logic to all "large" columns

We recently had another situation where a query for logs that happened
to have very large properties (changes to a large container request)
caused a DoS. Rather than hardcoding which columns should be affected by
database read limits, introspect them and use all potentially-unbounded
columns.

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

8 weeks agoPin googleauth more specifically for arvados-google-api-client
Brett Smith [Thu, 12 Dec 2024 16:49:34 +0000 (11:49 -0500)]
Pin googleauth more specifically for arvados-google-api-client

The usual rationale of Ruby 2.7 support. Refs #22227.

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

8 weeks agoMerge branch '22349-passenger-6-0-23'
Brett Smith [Thu, 12 Dec 2024 16:21:20 +0000 (11:21 -0500)]
Merge branch '22349-passenger-6-0-23'

Closes #22349, #22389, #22392.

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

8 weeks ago22349: Add RailsAPI to the logs dashboard 22349-passenger-6-0-23
Brett Smith [Thu, 12 Dec 2024 13:25:21 +0000 (08:25 -0500)]
22349: Add RailsAPI to the logs dashboard

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

8 weeks ago22349: Compile our own Passenger agent from Rails postinst
Brett Smith [Wed, 11 Dec 2024 21:18:30 +0000 (16:18 -0500)]
22349: Compile our own Passenger agent from Rails postinst

See comments for rationale.

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

8 weeks agoMerge branch '22349-deploy-bundle-passenger'
Brett Smith [Wed, 11 Dec 2024 15:41:35 +0000 (10:41 -0500)]
Merge branch '22349-deploy-bundle-passenger'

Refs #22349.

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

8 weeks ago22349: Restore conditional confdir setup in RailsAPI postinst
Brett Smith [Wed, 11 Dec 2024 15:16:31 +0000 (10:16 -0500)]
22349: Restore conditional confdir setup in RailsAPI postinst

When I originally wrote d1b63dc072d5f80ddb8e56d0919e70f8e8df73c4, I
thought `install` would not change the ownership or permissions of an
existing directory. I was mistaken. This reverts that commit to restore
the conditional logic, and adds the empty $WWW_OWNER logic to it.

8 weeks ago22349: Add upgrade note about enabling RailsAPI service
Brett Smith [Wed, 11 Dec 2024 15:08:40 +0000 (10:08 -0500)]
22349: Add upgrade note about enabling RailsAPI service

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

8 weeks ago22349: Add diagnostic if expect_grep fails 22349-deploy-bundle-passenger
Brett Smith [Wed, 11 Dec 2024 13:35:25 +0000 (08:35 -0500)]
22349: Add diagnostic if expect_grep fails

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

8 weeks ago22349: Read drop-ins on demand in RailsAPI package test
Brett Smith [Tue, 10 Dec 2024 22:09:56 +0000 (17:09 -0500)]
22349: Read drop-ins on demand in RailsAPI package test

The RHEL tests as written were buggy because they never reloaded the
drop-in configurations after `dnf reinstall`. Just read them on demand.

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

8 weeks ago22349: Exclude libnsl2 from focal dependencies
Brett Smith [Tue, 10 Dec 2024 20:35:15 +0000 (15:35 -0500)]
22349: Exclude libnsl2 from focal dependencies

As commented, it's included with glibc.

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

8 weeks ago22349: Accommodate no WWW_OWNER in confdir setup
Brett Smith [Tue, 10 Dec 2024 20:09:31 +0000 (15:09 -0500)]
22349: Accommodate no WWW_OWNER in confdir setup

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

8 weeks ago22349: Test RailsAPI service overrides
Brett Smith [Tue, 10 Dec 2024 19:09:09 +0000 (14:09 -0500)]
22349: Test RailsAPI service overrides

This provides a basic check that the RailsAPI postinst extends the
service definition with appropriate distro-specific configuration.

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

8 weeks ago22349: Clean up Rails package test scripts
Brett Smith [Tue, 10 Dec 2024 18:56:06 +0000 (13:56 -0500)]
22349: Clean up Rails package test scripts

RailsAPI is the only one left. Make the "common" script just be the
RailsAPI test script and remove the rest.

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

8 weeks ago22349: Make systemctl conditional in RailsAPI postinst
Brett Smith [Tue, 10 Dec 2024 18:40:27 +0000 (13:40 -0500)]
22349: Make systemctl conditional in RailsAPI postinst

See comments for rationale.

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

8 weeks agoMerge branch '22231-browser-warnings'
Lisa Knox [Tue, 10 Dec 2024 16:37:16 +0000 (11:37 -0500)]
Merge branch '22231-browser-warnings'

closes #22231

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

8 weeks ago22231: removed react-loader-spinner from package.json 22231-browser-warnings
Lisa Knox [Tue, 10 Dec 2024 16:34:40 +0000 (11:34 -0500)]
22231: removed react-loader-spinner from package.json

* also removed some trailing whitespace

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

8 weeks ago22159: removed most datacolumn render param type annotations
Lisa Knox [Tue, 10 Dec 2024 16:13:53 +0000 (11:13 -0500)]
22159: removed most datacolumn render param type annotations

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

8 weeks ago22159: removed unused onCreateDialog declarations
Lisa Knox [Tue, 10 Dec 2024 14:47:04 +0000 (09:47 -0500)]
22159: removed unused onCreateDialog declarations

* also removed some excess spacing for readability

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

2 months ago22159: aligned all data tabel click handlers
Lisa Knox [Mon, 9 Dec 2024 21:14:01 +0000 (16:14 -0500)]
22159: aligned all data tabel click handlers

Also:
* removed unused onRowClick method and prop from user-panel
* removed unused FavoritesPanelActionProps interface
* removed unused AllProcessesPanelActionProps interface

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

2 months ago22159: fixed context menu for collection-content-address-panel
Lisa Knox [Mon, 9 Dec 2024 19:17:16 +0000 (14:17 -0500)]
22159: fixed context menu for collection-content-address-panel

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

2 months ago22159: fixed collection-content-address-panel row click functions
Lisa Knox [Mon, 9 Dec 2024 17:17:18 +0000 (12:17 -0500)]
22159: fixed collection-content-address-panel row click functions

* also fixed crash when using the back button to navigate to collection-content-address-panel while details panel is open

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

2 months agoMerge branch '22363-railsapi-gemfile-update'
Brett Smith [Mon, 9 Dec 2024 17:10:23 +0000 (12:10 -0500)]
Merge branch '22363-railsapi-gemfile-update'

Refs #22363.

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

2 months agoMerge branch '22319-replace-segments'
Tom Clegg [Mon, 9 Dec 2024 17:02:09 +0000 (12:02 -0500)]
Merge branch '22319-replace-segments'

closes #22319

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

2 months agoMerge branch '22116-process-panel-polling' into main. Closes #22116
Stephen Smith [Mon, 9 Dec 2024 16:51:59 +0000 (11:51 -0500)]
Merge branch '22116-process-panel-polling' into main. Closes #22116

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

2 months ago22159: changed renderBodyRow to accept T instead of any
Lisa Knox [Mon, 9 Dec 2024 15:44:04 +0000 (10:44 -0500)]
22159: changed renderBodyRow to accept T instead of any

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

2 months ago22159: changed renderUsername and renderEmail to accept UserResource type
Lisa Knox [Mon, 9 Dec 2024 14:34:34 +0000 (09:34 -0500)]
22159: changed renderUsername and renderEmail to accept UserResource type

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