Potential bug? I haven't seen any effects of this, and I don't really know whats going on with slugs, but I just wanted to mention it in case its an issue. Starting on line 149 of lib/galaxy/web/controllers/workflow.py there is a section of code for creating slugs for shared workflows. There is a loop there for slug creation and the following check OUTSIDE the loop:

        if slug_set:
            trans.sa_session.flush()

Should that be in the loop? Otherwise its just flushing the session if the last workflow gets a slug created.

-Andrew Warren