mirror of
https://github.com/open-webui/tests.git
synced 2026-11-05 01:37:32 +00:00
[PR #9] [CLOSED] test: cover orphaned assistant parent repair on continuation #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/tests#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/tests/pull/9
Author: @vanwho
Created: 8/29/2026
Status: ❌ Closed
Base:
main← Head:fix/assistant-parent-repair-test📝 Commits (1)
4bb655ftest: cover orphaned assistant parent on continuation📊 Changes
1 file changed (+119 additions, -0 deletions)
View changed files
➕
unit/chat/test_assistant_parent_repair.py(+119 -0)📄 Description
Summary
Adds source-level regression coverage for open-webui/open-webui #29216 issue and PR open-webui/open-webui#29218
The test drives the real
chat_completionpersistence path with an existing assistant response and verifies that:parentId.The test uses the suite's existing
owui_modulefixture,regressionmarker, async test conventions, and genericchat-modelmodel ID.Verification
Against the fixed Open WebUI branch:
Against the pre-fix Open WebUI
devrevision:The orphan-repair case discriminates by failing on the old unconditional continuation skip. The correctly linked nearby case passes on both revisions.
Formatting and linting:
Related
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.