207 Commits
Author SHA1 Message Date
John ChiltonandClaude Opus 5.5 ddd50d4178 Load canonical repeat and section inputs in YAML tools
CanonicalYamlInputSource reads section type and nested `parameters`;
legacy repeat `blocks` is not read, so class-declaring YAML fixtures
move to `parameters`. Unset repeat min/max serialized as null load as
defaults, and legacy user tool state drops repeat `__index__` before
rendering `$(inputs)`. Group contract tests run on disk, API YAML and
API JSON load paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:05:48 -04:00
John ChiltonandClaude Opus 5.5 891db0905d Baseline tests for user tool authoring contracts
DescribeUserTool builds, creates and runs user tools from raw YAML/JSON
sources; tool UUIDs flow through RequiredTool and DescribeToolExecution.
Pins current behavior: canonical repeat/section definitions fail API
parsing (strict xfail).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:05:37 -04:00
John ChiltonandClaude Opus 5.5 0d991641cb Function-scope API test interactor fixtures
A session-scoped interactor's user API key expires once any later
ApiTestCase mints a new key, so a pytest-function module sharded after
class-based tests failed setup with 401s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:05:24 -04:00
mvdbeek 1c728e9096 Merge branch 'release_26.0' into release_26.1 2026-10-22 06:20:06 +02:00
John ChiltonandClaude Opus 5.5 c217ced066 Document paired and paired_or_unpaired not consumed by list:paired_or_unpaired
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:48:37 -04:00
mvdbeek ed11b49a6a Merge branch 'release_26.0' into release_26.1
Port the OIDC account confirmation fix to 26.1's PSA backend. The
authentication record in FlowState now carries the PKCE code verifier
to the callback, replacing the encrypted verifier cookie from #23836
(the cookie helpers, their constants and the cookie test go away, and
the admin PKCE docs describe the server-side record). Deferred account
creation keeps 26.1's activation policy (create_and_activate_oidc_user)
and the GALAXY_TRANS pipeline config. The Keycloak integration tests
keep 26.1's driver restart and extra_provider_config setup.

Keep the pulsar-galaxy-lib <0.16 cap on top of 26.1's >=0.15.15 floor.
2026-10-13 19:07:56 +02:00
mvdbeek 1c29a61800 Merge branch 'release_25.1' into release_26.0
release_26.0 no longer has the legacy custos backend that #24084 changes
on release_25.1, so the 25.1 version of the OIDC account confirmation fix
cannot be merged as is. Resolve it with the release_26.0 version of the
same fix (oidc-account-creation-plan: bind deferred account creation in
the PSA pipeline to the authenticated browser flow), plus the
CursorResult cast from 25.1. custos_authnz.py, test_custos_authnz.py and
test_custos_confirmation.py stay deleted.

Keep the pulsar-galaxy-lib <0.16 cap from #24056 in packages/app/setup.cfg.
2026-10-13 18:54:13 +02:00
mvdbeek db06882613 Document OIDC confirmation boundaries on release_25.1
Adapt the OIDC authentication flow documentation to the legacy Custos backend, its direct token-endpoint trust model, distinct PSA routing, state lifecycle, failure handling, and release-specific regression layers.
2026-10-13 12:34:09 +02:00
mvdbeek c1263ed755 Add shared user-defined tool authoring reference
Render one YAML source in the tool editor and Sphinx documentation, with accessible help controls and interaction tests.\n\nExpose clearer authoring schema and API behavior for validation, stored representation drift, resources, containers, and runtime expressions.
2026-09-21 12:03:27 +02:00
mvdbeek 84d19ac1af Merge branch 'release_26.0' into release_26.1 2026-07-23 12:32:01 +02:00
John Chilton 250c71cfcc WES docs: tighten gxworkflow accessibility wording 2026-07-21 09:50:19 -04:00
John ChiltonandClaude Opus 4.8 e4e29c74e1 WES: use standard workflow accessibility check for gxworkflow:// refs
Ownership-only check rejected published/shared workflows that a normal
invocation would accept. Defer to get_stored_accessible_workflow, update
docs, add API tests for published + inaccessible cases.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 08:16:48 -04:00
John ChiltonandClaude Opus 4.8 1981c78e84 Add developer GA4GH WES API guide
Client walkthrough (curl) of submit/monitor over WES v1.0.0: state mapping,
gxworkflow:// scheme, engine params, tasks, pagination, errors, limitations.
Cross-link admin <-> dev docs; point at gxy-wes / gxy-wes-bioblend examples.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 16:31:27 -04:00
Michael R. Crusoe dbfcdb8bc9 python packages: convert to pure namespace packages
only directories in `lib/galaxy` & `packages/*/galaxy`
All other files removed or moved to their own module
All references to those files updated, especially galaxy/version.py
2026-04-15 15:16:34 +02:00
John ChiltonandClaude Opus 4.6 9d49f7f89b Fix LaTeX rendering errors in collection semantics docs
Fix underscore handling in semantics.py that caused "'_' allowed only
in math mode" errors in rendered HTML. Issues: CollectionDefinition
used bare escaped underscores outside \text{}, expression_to_latex had
double-replacement bugs (unpaired→\text{un\text{paired}}), and
sample_sheet was unhandled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:15:28 -04:00
John ChiltonandClaude Opus 4.6 e0c1a00678 Add sample_sheet collection semantics examples for workflow editor tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:15:28 -04:00
John ChiltonandClaude Opus 4.6 74fefc89d8 Add structured YAML then expressions with bug fix and polish
Convert 32 free-form then string expressions in collection_semantics.yml
to structured typed YAML with 14 Pydantic models and as_latex() methods.

Bug fix: NestedElements.elements typed as dict[str, "OutputBinding"]
with model_rebuild() to resolve forward ref (was dict[str, Any]).

Polish: discriminated unions via Annotated[..., Field(discriminator="type")]
on all 4 union type aliases, rename elements_to_latex to
_assumption_elements_to_latex.

61 tests (was 40): smoke tests for all as_latex() and generate_docs(),
unit tests for EllipsisMarker, DatasetListInput, NestedElements,
CollectionOutput with ellipsis, compound sub_collection_type,
MapOverThen producing DatasetOutput.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:15:27 -04:00
John ChiltonandClaude Opus 4.6 8f6e005021 Add docs section on using base64 URLs to avoid external test dependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:26:19 -05:00
Dannon Baker fe4f7a8891 Clean up stale yarn references after pnpm migration
Remove the yarn install target from packages/web_client/Makefile since
client builds now use corepack/pnpm via the root Makefile, and fix a few
leftover yarn mentions in comments and docs.
2026-02-08 12:27:02 -05:00
John Chilton d08e89f6cb Tweak dataset populator documentation thanks to nsoranzo comment. 2026-01-13 13:24:18 -05:00
John Chilton 35acb0d4f7 Comprehensive test writing documentation
Expand writing_tests.md with:
- Quick reference table and decision tree for test type selection
- Workflow framework tests section
- API test patterns: populators, decorators, fixtures, user switching
- Integration test patterns: config options, mixins, app access
- Selenium test patterns: smart components, accessibility, shared state
- When to use UI vs API methods in browser tests

Add client/README.md testing section:
- Test file structure and standard imports
- LocalVue setup and test data factories
- MSW/OpenAPI-MSW for type-safe API mocking
- Vue component testing patterns
2026-01-13 13:24:18 -05:00
Dannon Baker 9133f711fe Update docs from Jest to Vitest
Changed all testing documentation to reference Vitest instead of Jest,
including test commands, mock examples, and VSCode debug config.
2025-11-24 11:09:20 -05:00
John Chilton f701de8817 Update tool state docs for relaxed requests. 2025-10-29 16:33:27 -04:00
John Chilton a685889a32 Cleanup tool request hacks for legacy using new relaxed request tool state.
A strict vs relaxed state for incoming requests lets us preserve some older behavior if it is needed for tests and such while also allowing us to default to "the correct thing".
2025-10-29 16:33:27 -04:00
John Chilton e929bc648b Expand coverage for tool state docs. 2025-10-29 16:33:27 -04:00
Nicola Soranzo a802727c33 Update docs on debugging tests within GitHub actions
Subsets were replaced with shards in commit 992edaa8b4 .
2025-08-27 16:33:43 +01:00
John ChiltonandNicola Soranzo 0b7478b1a4 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2025-08-13 14:43:31 -04:00
John Chilton d771436dae Datatype checklist. 2025-08-13 10:59:55 -04:00
John Chilton 219796f049 Implement paired_or_unpaired collections, list wizards. 2025-05-09 17:39:38 -04:00
Enis Afgan 8a5198f76a Update descriptions to indicate these are UI-options only 2025-03-07 11:11:00 -05:00
Enis Afgan bd847412a0 Add config options for tool dependency installs 2025-02-06 15:32:52 -05:00
Matthias Bernt be3c547161 document format of extension 2024-10-22 09:28:31 +02:00
John Chilton ad73e9e838 Tool Request models. 2024-09-30 13:25:02 -04:00
Polina Polunina ed48f84aa7 add data source doc to the list in index 2024-08-27 12:28:00 +02:00
John Chilton da220efd23 First pass at workflow step models - linked and unlinked.
Work scoped out in 18536.
2024-08-23 09:46:44 -04:00
John Chilton aca192eeaf SVG generation for tool state docs... 2024-07-15 09:46:13 -04:00
John Chilton 5359f8ba74 Input parameter schema. 2024-07-15 09:46:13 -04:00
John Davis 7721bf377f Update doc/source/dev/create_release.rst 2024-06-28 11:42:01 +02:00
M BerntandMartin Cech df044c4fff Update doc/source/dev/create_release.rst
Co-authored-by: Martin Cech <marten@bx.psu.edu>
2024-06-28 11:33:49 +02:00
M Bernt d006411178 Minor additions to release process 2024-06-28 10:28:19 +02:00
John Davis 396797d18f Fix typos in release documentation 2024-05-20 14:57:49 -04:00
Marius van den BeekandJohn Davis 799d27f0e5 Fix rst list syntax
Co-authored-by: John Davis <jdavcs@gmail.com>
2024-02-13 19:19:23 +01:00
Marius van den BeekandJohn Davis ee9396971d Simplify explanations
Co-authored-by: John Davis <jdavcs@gmail.com>
2024-02-13 17:58:47 +01:00
mvdbeek 13b6ed44d8 Update release process documentation 2024-02-13 16:38:09 +01:00
Björn Grüning 7e394f7aed Merge pull request #17327 from PlushZ/doc-data-source
add documentation for data source tool
2024-01-19 19:34:36 +01:00
PlushZ a2ed0c08e5 add doc for data source 2024-01-18 18:36:14 +01:00
John Davis 9f4254f66b Merge pull request #17322 from mvdbeek/session_docs
Document SQLAlchemy session lifespan
2024-01-18 12:35:27 -05:00
Marius van den Beek 0744959008 Fix typo 2024-01-18 16:31:26 +01:00
Marius van den Beek 0e4f6fed84 Drop extra newline 2024-01-18 16:30:20 +01:00
Marius van den Beek b367c09ae1 Don't explain why handling state at the outermost layer is a good idea 2024-01-18 16:30:02 +01:00