Skip to content

API-created workflow runs are invisible in the UI (Default collection not indexed, no job meta written) #238

Description

@OmarB97

Environment: Ubuntu (kernel 7.0), RTX 5090 (Blackwell sm_120), NVIDIA driver w/ CUDA 13.3 userland, Modly AppImage v0.4.x, embedded Python 3.11.9, data dir relocated to a large secondary disk. Found while driving Modly headlessly (REST + MCP) for a game-asset pipeline.

Everything generated over the REST/MCP surface exists on disk but the app shows "No workspace assets are indexed yet" and empty Generate/Workflows views.

Three contributing causes:

  1. POST /workflow-runs/from-image hardcodes the "Default" collection (the legacy /generate/from-image accepts a collection field; the canonical endpoint does not).
  2. The Workspace Library indexer only scans the Workflows and Exports workspace roots (ALLOWED_ROOTS), so Default/ output is never indexed.
  3. API runs never write the *.meta.json job records that the collections view reads.

Workaround we use: mirror outputs into workspace/Exports/<set>/ and click "Refresh assets".

Suggested fix: accept collection on /workflow-runs/from-image, include Default in the indexer roots, and/or write job meta records from _run_generation.

Activity

  1. added 2 commits that reference this issue on Aug 26, 2026
  2. Lorchie commented on Oct 9, 2026

    @Lorchie
    Collaborator

    Fixed in #279 (shipped in v0.4.2). POST /workflow-runs/from-image now accepts a collection field and files the output into that collection inside the workspace, so API-driven runs appear in the UI.

    If API runs are still missing from the UI on v0.4.3, feel free to reopen this issue with the request you're sending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions