Skip to content

[26.0] Fix on_complete column type mismatch#21765

Merged
jmchilton merged 1 commit intogalaxyproject:release_26.0from
mvdbeek:fix_on_complete_column_type
Feb 7, 2026
Merged

[26.0] Fix on_complete column type mismatch#21765
jmchilton merged 1 commit intogalaxyproject:release_26.0from
mvdbeek:fix_on_complete_column_type

Conversation

@mvdbeek
Copy link
Copy Markdown
Member

@mvdbeek mvdbeek commented Feb 5, 2026

The on_complete column was defined with JSONType (which uses LargeBinary/BYTEA) but the migration created the column as native JSON type. This caused a DatatypeMismatch error when inserting workflow invocations with on_complete data.

Change the column type from JSONType to JSON to match the database schema.

Fixes #21762

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

The on_complete column was defined with JSONType (which uses LargeBinary/BYTEA)
but the migration created the column as native JSON type. This caused a
DatatypeMismatch error when inserting workflow invocations with on_complete data.

Change the column type from JSONType to JSON to match the database schema.

Fixes galaxyproject#21762
@mvdbeek mvdbeek added kind/bug minor area/database Galaxy's database or data access layer labels Feb 5, 2026
@github-actions github-actions Bot added this to the 26.1 milestone Feb 5, 2026
@mvdbeek mvdbeek requested a review from a team February 6, 2026 08:57
@jmchilton jmchilton merged commit 16c44dd into galaxyproject:release_26.0 Feb 7, 2026
52 of 57 checks passed
@ahmedhamidawan ahmedhamidawan modified the milestones: 26.1, 26.0 Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/database Galaxy's database or data access layer kind/bug minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants