Skip to content

Unlinking an imported root leaves its converted jobs and their parse files behind #642

Not planned

Description

@harenome

Priority

P3 · When convenient: wording, layout, tests

Evidence

Unlinking an ATIF root, on main d50439a9:

before unlink: in index True | parse file True
after unlink: roots [] | in index True | parse file True | converted dir True

The Unlink route calls workspace.forget(ws, [root], parse.find_job_dirs([root])). An ATIF or OpenTelemetry root holds no job tree, and its converted jobs live under the workspace's imported/, so forget drops nothing.

Reproduction

  1. Open a workspace on a folder of ATIF files.
  2. Workspaces, Unlink that root.
  3. Look in the workspace's jobs/index.json, its parse files and imported/.

Expected

Unlinking an imported root drops its converted jobs, their index entries and their parse files, as it does for a Harbor root.

Acceptance

  • Unlinking an ATIF or OpenTelemetry root leaves no index entry or parse file of its converted jobs
  • Its converted jobs under imported/ go too, unless another root still converts to them
  • A Harbor root unlinks as before

Related

#364

Activity

  1. added
    bug
    P3
    on Dec 1, 2026
  2. added theissue type on Dec 1, 2026
  3. self-assigned this
    on Dec 1, 2026
  4. harenome commented on Dec 3, 2026

    @harenome
    CollaboratorAuthor

    Superseded by #750; closing without a change.

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

Metadata

Metadata

Assignees

Labels

P3bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions