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>
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>
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>
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.
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.
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.
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.
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>
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>
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
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>
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>
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.
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
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".