Skip to content

fix(runs): keep pre-import conversions through rename and let them be unlinked - #763

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/kept-conversions
Dec 3, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/kept-conversions

Conversation

@harenome

@harenome harenome commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #754

What

  • Rename moves every path in the workspace's own imported/ folder, in roots and in job_roots. External roots keep their paths. Old parses are dropped after it is saved, never failing it.
  • The Roots dialog lists each kept conversion. Unlink only: Delete is disabled, its preview answers 409, its POST refuses.
  • Unlinking one drops it from job_roots and its parsed runs. Its files stay under imported/ until the workspace is deleted.
  • Folder counts on Workspaces and Runs match the dialog. nullius workspace list prints them too.

Touches

  • workspace.py, workspace_cli.py, web/workspaces.py, two templates

Before and after

Before After
before after

Verified

  • New tests for rename, the dialog and the CLI fail without the fix.
  • Backend and route suites pass. Docs check: 0 findings.

Risk

Agents

Claude Code, Opus 5.5

@harenome
harenome marked this pull request as ready for review December 3, 2026 12:55
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 3, 2026
@harenome
harenome merged commit 19d0ca9 into ThinkFlowLab:main Dec 3, 2026
4 checks passed
@harenome
harenome deleted the fix/kept-conversions branch December 3, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workspaces: a conversion kept from before #750 is lost on rename and cannot be unlinked

1 participant