914 Commits
Author SHA1 Message Date
mvdbeek ba902825b9 Merge branch 'release_26.2' into dev 2026-11-28 06:18:44 +01:00
mvdbeek abefe9d2f8 Merge branch 'release_26.1' into release_26.2 2026-11-28 06:17:21 +01:00
mvdbeek b5ed7903be Merge branch 'release_26.0' into release_26.1 2026-11-28 06:01:40 +01:00
Marius van den Beek 7970224e96 Merge pull request #25068 from itisAliRH/ci/client-cache-miss-rebuild-26.0
[26.0] Rebuild the client when its cache entry is missing
2026-11-27 10:39:59 +01:00
dependabot[bot] 5fe66f436b Bump astral-sh/setup-uv from 10.3.3 to 10.4.0 in the actions group
Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).


Updates `astral-sh/setup-uv` from 10.3.3 to 10.4.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v10.3.3...v10.4.0)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-26 16:28:36 +00:00
Alireza Heidariandmvdbeek aaaa2f07ce Install uv in the Playwright workflow
common_startup.sh uses uv when it is on PATH, which cuts the dependency install from about 3 minutes to about 10 seconds without a pip cache.

Co-authored-by: mvdbeek <m.vandenbeek@gmail.com>
2026-11-25 14:33:33 +01:00
Alireza Heidari c93c65ab57 Pass NODE_OPTIONS to tox so the macOS client rebuild gets a larger heap
The macOS startup job rebuilds the client on a cache miss under tox, which dropped NODE_OPTIONS, so node ran out of memory at the default heap. Allow it through tox passenv and set the same 4 GB heap the other client builds use.
2026-11-25 14:33:11 +01:00
Alireza Heidari 57d7707458 Stop caching pip downloads in the Playwright workflow
The setup-python pip cache is the last one left on current branches, and PR runs re-save its 444 MB entry. The job installs its requirements through scripts/common_startup.sh, so it does not depend on the cache. Drop cache-dependency-path too, since only the cache used it.

Part of #24966
2026-11-23 15:48:35 +01:00
0394b695a4 Fix converter lint and type checking for pearson_fasta
Point the converter lint at the checkout's datatypes_conf.xml.sample via
DATATYPES_CONF, so it knows datatypes added in the same change instead of
only those in planemo's installed galaxy-tool-util release.

Call the declared sniff_prefix(FilePrefix(...)) in the unit test, as the
parquet and mzspeclib tests do; mypy cannot see the decorator-added sniff.

Co-authored-by: David Molik <9337053+molikd@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-23 09:43:55 -05:00
Alireza Heidari 5706e94114 Set up Node.js and pnpm before rebuilding a missing client cache
The test jobs that restore the client cache do not set up Node.js, because on a hit they never needed it. Now that a miss rebuilds the client instead of failing, the rebuild would run on whatever Node.js the runner image ships, which can differ from the version in client/.node_version that the build-client job uses, and scripts/common_startup.sh would install pnpm from conda on the macOS job.

Give the cache step an id and, only when the entry was not restored, mirror the build-client job: set up Node.js from client/.node_version and set up the pnpm version pinned in package.json with pnpm/action-setup. With pnpm already on PATH, common_startup.sh does not install it. The Selenium, Playwright and integration Selenium jobs also export NODE_OPTIONS through GITHUB_ENV for the rebuild; the two startup jobs run under tox, which does not pass it through.

Part of #24966.
2026-11-23 15:40:08 +01:00
Alireza Heidari d76af95a6f Rebuild the client when its cache entry is missing
The client build is handed from the build-client job to the test jobs through an Actions cache entry keyed on the commit. When the entry is evicted before a test job restores it, fail-on-cache-miss fails the job, and re-running only the failed job fails again because the entry stays missing.

Drop the flag in the five consumers. On a miss, run_tests.sh -selenium/-playwright and scripts/common_startup.sh (through run.sh) find no static/client_build_hash.txt and build the client, and the cache post step then saves the rebuilt static/ under the same key.

Part of #24966.
2026-11-23 15:26:07 +01:00
Nicola SoranzoandClaude Opus 5.5 baa63c5f9e Remove duplicate Python 3.11 from nightly unit and Tool Shed matrices
The scheduled and `workflow_dispatch` `python-version` matrix in
`unit.yaml` and `toolshed.yaml` listed `"3.11"` twice, so every
nightly run executed identical jobs for Python 3.11 (two extra jobs for
the Tool Shed tests, crossed with `test-install-client`), and their
failure artifacts would have collided on the same name.

https://github.com/galaxyproject/galaxy/pull/24131 added these
matrices to dev as `["3.10", "3.11", "3.12", "3.13", "3.14"]`. When
`release_26.2`, which drops support for Python 3.10, was merged into dev
in aa0f6246b8, the conflict resolution replaced `"3.10"` with `"3.11"`,
duplicating the existing entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:42:09 +00:00
mvdbeek ee3358c890 Merge branch 'release_26.2' into dev 2026-11-20 06:17:17 +01:00
Nicola Soranzo 920fbffdc4 Merge pull request #24935 from mvdbeek/integration-pin-metadata-strategy
[26.2] Make the weekly integration run's extended metadata strategy a default instead of an override
2026-11-19 12:15:56 +00:00
mvdbeek aa0f6246b8 Merge branch 'release_26.2' into dev 2026-11-19 06:09:44 +01:00
mvdbeek b6b9e23248 Add GALAXY_TEST_METADATA_STRATEGY and use it in the weekly integration run
The weekly scheduled integration run set GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended.
load_app_properties applies GALAXY_CONFIG_OVERRIDE_* after a test class's config kwds, so
the override replaced every metadata_strategy a test class sets, and the _celery suffix
UsesCeleryTasks adds. Tests that need a specific strategy failed every week, and tests
that set directory ran as extended.

GALAXY_TEST_METADATA_STRATEGY seeds the test driver's config before
handle_galaxy_config_kwds runs. Classes that set a strategy keep it, and
UsesCeleryTasks turns the default into extended_celery.
2026-11-18 16:52:54 +01:00
Alireza Heidari 7a2f4e0ded Prune the uv cache before saving it in CI
astral-sh/setup-uv changed the default of `prune-cache` from "true" to "false" in v9.0.0, and the actions bump in #23222 moved dev from v8 to v9; release_26.2 now runs v10.2.0 with the same default. Since then the uv cache is saved with every wheel the run downloaded: about 330 MB per entry instead of about 30 MB. Each ref saves several of these (one per OS and Python version), so a few open PRs push the repository's Actions cache past its 10 GB limit and evict the `galaxy-static` client build that the test jobs restore with `fail-on-cache-miss`, the same failure #23754 fixed on 26.1 by dropping the virtualenv cache. Set `prune-cache: true` on every setup-uv step that saves a cache; `publish_artifacts.yaml` keeps `enable-cache: false` and is left alone.

Part of #24966
2026-11-18 16:29:06 +01:00
mvdbeek 134ed24f6a Remove unused Get full Python version CI steps
No step in these five workflows reads the output. dev removed them in
3788424644.

(cherry picked from commit 6303e27f34)
2026-11-18 16:28:49 +01:00
mvdbeek 47dec1d6f5 Stop caching the Galaxy virtualenv in CI
Each workflow cached its own `galaxy root/.venv` (~400 MB) under a
per-workflow, per-ref key, which is ~6 GB of the repository's 10 GB
Actions cache quota: 5 entries saved from release_26.1 pushes plus one
per workflow for every PR against release_26.1. At the quota, GitHub
evicts the least recently used entries, including the client builds
downstream jobs need to restore within the same run.

This removes only the cache of the finished virtualenv. uv's own
package cache is still there: every workflow keeps its
`astral-sh/setup-uv@v7` step, which by default restores and saves uv's
cache (`setup-uv-*` keys, pruned to ~21 MB, one per OS and Python
version shared by all workflows) and points `UV_CACHE_DIR` at it. The
venv is still built by `uv venv` and `uv pip`, as before whenever the
venv cache missed.

That rebuild is cheap. In a release_26.1 Selenium job where both the
venv cache and uv's cache missed, uv created the venv and installed all
417 packages from PyPI in ~7.5 s, and saving the venv cache afterwards
took 4-5 s. Because of the eviction these venv caches mostly miss
anyway. dev dropped them in 3788424644.

(cherry picked from commit 5284b5b394)
2026-11-18 16:28:48 +01:00
Nicola Soranzo b86e88720c Drop support for Python 3.10
Python 3.10 reached its end-of-life in October 2026.

Also:
- Run `make pyupgrade` and `make format`
- Fix new ruff and mypy errors
- Run `uv lock` and `sh lib/galaxy/dependencies/update.sh --export-only`
- Run `make update-client-api-schema`
2026-11-17 21:57:50 +00:00
mvdbeek 51a76b60af Merge branch 'release_26.2' into dev 2026-11-16 11:21:00 +01:00
mvdbeek f84e8956a1 Merge branch 'release_26.1' into release_26.2 2026-11-16 11:13:09 +01:00
mvdbeek 6525ba717d Merge branch 'release_26.0' into release_26.1 2026-11-16 11:00:59 +01:00
mvdbeek 365b8733eb Merge branch 'release_25.1' into release_26.0 2026-11-16 10:51:04 +01:00
mvdbeekandClaude Opus 5.5 d3dfd99446 Fall back to an empty mulled seed when the artifact has expired
"Re-run failed jobs" of the Integration workflow reuses the result of the
prepare job, but the seed artifact it uploaded is kept for one day only,
so a later rerun failed every test shard with "Artifact not found for
name: mulled-resolution-cache-seed". The seed is optional, so write the
same empty fallback the prepare job writes when indexing fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 03:06:06 +01:00
dependabot[bot] 0b3a8df2fd Bump the actions group with 3 updates
Bumps the actions group with 3 updates: [docker/login-action](https://github.com/docker/login-action), [github/codeql-action](https://github.com/github/codeql-action) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action).


Updates `docker/login-action` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v4.7.0...v4.8.0)

Updates `github/codeql-action` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.39.1...v4.39.3)

Updates `zizmorcore/zizmor-action` from 0.8.0 to 0.8.1
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/53290badfa369cb0bf7ad16342cb62c2fa47ac7b...45d7276c9ca790aabd705e31ca99c6185c3e76dd)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-12 16:29:13 +00:00
mvdbeek 2fb53f3ed1 Merge branch 'release_26.2' into dev 2026-11-11 19:13:42 +01:00
mvdbeek 78f57fb1b2 Merge branch 'release_26.1' into release_26.2 2026-11-11 19:03:27 +01:00
mvdbeek b762fd5d3a Merge branch 'release_26.0' into release_26.1 2026-11-11 18:59:44 +01:00
mvdbeek 0fb8fff4c7 Merge branch 'release_25.1' into release_26.0 2026-11-11 18:52:32 +01:00
mvdbeek 7c1a3a60bc Merge branch 'dev' into merge-release_26.2-into-dev-2026-11-10 2026-11-10 17:54:37 +01:00
mvdbeek 7fc3ce2a24 Merge branch 'release_26.2' into dev 2026-11-10 06:06:04 +01:00
mvdbeek 5c8215b36a Merge remote-tracking branch 'upstream/release_26.2' into allowed-user-defined-tool-containers
# Conflicts:
#	test/unit/app/jobs/test_pulsar_runner.py
2026-11-09 13:45:42 +01:00
mvdbeek fdfe1dfc60 Move the disk usage recalculation tests out of the galaxy-data package
test/unit/data is the galaxy-data package's test suite, which does not
ship galaxy.celery, so importing the Celery task module there broke test
collection. The tests now live in test/unit/app and set up their own
PostgreSQL database instead of importing helpers from test/unit/data,
which the galaxy-app package's tests don't include.
2026-11-06 18:43:18 +01:00
mvdbeek acb60b8e4a Batch galaxy_session cleanup with bounded, resumable pages
galaxy-delete-sessions removed eligible old sessions in one DELETE
using a whole-table window ranking. That held locks in one long
transaction and offered no way to preview, pace, limit, or resume.

It now walks the primary key in ascending pages below a starting
watermark, committing and pausing between pages. Page size, page
count, pause, and ID range are configurable. PostgreSQL pages use
transaction-local statement and lock timeouts. SQLite pages roll back
as a unit.

--dry-run is SELECT-only and READ ONLY on PostgreSQL. Each registered
user's newest session remains protected. The DELETE re-evaluates age,
ownership, newest-session protection, and the selected history/job
policies.

Defaults are unchanged. Opt-in --anonymous-only and
--preserve-anonymous-histories narrow scope.
--preserve-sessions-with-jobs keeps sessions referenced by jobs with
job.user_id IS NULL. Admin docs describe semantics.

Tests cover paging, resume, dry-run, rechecks, rollback, and validation,
and are wired into PostgreSQL CI. Shared DB test cleanup now uses a
savepoint per DELETE, so FK retries keep earlier deletes.
2026-11-06 17:02:05 +01:00
mvdbeek af6509d151 Merge branch 'release_26.2' into dev 2026-11-06 09:17:15 +01:00
mvdbeek 7ebc6e364d Merge branch 'release_26.1' into release_26.2 2026-11-06 09:17:14 +01:00
mvdbeek 8565e11b9f Use the psycopg driver for the PostgreSQL disk usage tests
26.1 installs psycopg 3, not psycopg2, so a plain postgresql:// URI fails
to load the dialect's driver.
2026-11-06 09:17:00 +01:00
mvdbeek a637b07f60 Merge branch 'release_26.2' into dev 2026-11-06 06:13:01 +01:00
mvdbeek eb5fc39452 Merge branch 'release_26.1' into release_26.2 2026-11-06 06:12:44 +01:00
mvdbeek 6d7d1c8ad3 Merge branch 'release_26.0' into release_26.1 2026-11-06 06:02:17 +01:00
dependabot[bot] f889f72a7c Bump astral-sh/setup-uv from 10.3.2 to 10.3.3 in the actions group
Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).


Updates `astral-sh/setup-uv` from 10.3.2 to 10.3.3
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v10.3.2...v10.3.3)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 10.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 16:29:37 +00:00
mvdbeek ae5c3be1bd Run only the PostgreSQL disk usage tests in the unit-postgres workflow
The SQLite variants already run in the unit test workflow.
2026-11-05 16:37:00 +01:00
mvdbeek 9d1de462d5 Test user disk usage edge cases on SQLite and PostgreSQL
Cover library datasets, purged HDAs and histories, datasets shared with
another user, the file_size fallback and labeled quota sources, and run
the quota tests against PostgreSQL in the unit-postgres workflow.
2026-11-05 14:38:43 +01:00
Nate Coraor e922a68237 Merge remote-tracking branch 'upstream/release_26.2' into dev
# Conflicts:
#	client/src/components/Visualizations/DisplayApplications.vue
#	lib/galaxy/managers/users.py
#	lib/galaxy/webapps/galaxy/api/mcp.py
#	lib/galaxy_test/api/test_framework.py
#	test/integration/oidc/test_auth_oidc.py
2026-11-03 16:30:59 -05:00
Nate Coraor 813a3f225b Merge remote-tracking branch 'upstream/release_26.1' into release_26.2
# Conflicts:
#	test/integration/test_pulsar_embedded_containers.py
2026-11-03 16:27:31 -05:00
Nate Coraor a658e97b31 Merge remote-tracking branch 'upstream/release_26.0' into release_26.1
# Conflicts:
#	lib/galaxy/queues.py
2026-11-03 16:18:48 -05:00
Enis Afgan f29ac68eda Merge pull request #24694 from ksuderman/fix-ci-k3s-apparmor-signals-26.0
[26.0] Fix container image CI on Ubuntu 26.04 runners (AppArmor blocks signals in k3s pods)
2026-11-03 15:31:45 -05:00
Keith SudermanandClaude Fable 5.1 6f0727a9fb Fix CI k3s install on Ubuntu 26.04 runners by allowing signals between container processes
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 11:27:39 -05:00
mvdbeek 824dc00c34 Serialize job cache dataset swaps with concurrent HDA copies
A late job cache hit in JobWrapper.prepare points each output HDA at the
cached job's dataset, propagates that to existing copies and purges the
old dataset. A copy of the output made concurrently, for instance by
__BUILD_LIST__, could read the old dataset and commit after the runner
had looked for copies. That copy then kept the purged dataset and stayed
queued forever.

copy_from now takes FOR UPDATE on the HDA row before collecting copies,
and re-queries them so copies committed by other transactions are found.
copy() of a non-ready HDA re-reads the source's dataset_id under FOR KEY
SHARE and reloads the source if it changed. Whichever transaction locks
the row first, the other sees its committed result. KEY SHARE does not
conflict with ordinary updates, so copies never block job finishing.
copy_from_job locks all outputs in id order before swapping them.
2026-11-03 03:51:09 +01:00