Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply rule tool is very slow on large collections #19739

Open
nekrut opened this issue Mar 4, 2025 · 0 comments
Open

Apply rule tool is very slow on large collections #19739

nekrut opened this issue Mar 4, 2025 · 0 comments

Comments

@nekrut
Copy link
Contributor

nekrut commented Mar 4, 2025

Describe the bug
Using "Apply Rules" on a large collection in history creates an impression that the UI is unresponsive. User has no idea that something is actually happening

Galaxy Version and/or server at which you observed the bug
Galaxy version 24.2.rc1, commit aad440b259ad39bf2712bdfa171d998616c68399

Browser and Operating System
Operating System: Linux
Browser: Chrome

To Reproduce
Use this history (https://usegalaxy.org/u/cartman/h/pv-try2) and try to apply the following rules:

{
  "rules": [
    {
      "collapsible_value": {
        "__class__": "RuntimeValue"
      },
      "connectable": true,
      "is_workflow": false,
      "type": "add_column_metadata",
      "value": "identifier0"
    },
    {
      "collapsible_value": {
        "__class__": "RuntimeValue"
      },
      "connectable": true,
      "is_workflow": false,
      "type": "add_column_metadata",
      "value": "identifier1"
    },
    {
      "collapsible_value": {
        "__class__": "RuntimeValue"
      },
      "connectable": true,
      "is_workflow": false,
      "type": "add_column_metadata",
      "value": "identifier2"
    }
  ],
  "mapping": [
    {
      "collapsible_value": {
        "__class__": "RuntimeValue"
      },
      "columns": [
        1
      ],
      "connectable": true,
      "editing": false,
      "is_workflow": false,
      "type": "list_identifiers"
    },
    {
      "collapsible_value": {
        "__class__": "RuntimeValue"
      },
      "columns": [
        2
      ],
      "connectable": true,
      "is_workflow": false,
      "type": "paired_identifier"
    }
  ]
}

to dataset collection 6648

Expected behavior
At the very minimum the user should be warned that it will take a while. Ideally, there should be no delay

Screenshots

Screencast.from.03-04-2025.02.08.39.PM.webm

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant