tanishqgandhi1908 opened a new issue, #9434: URL: https://github.com/apache/texera/issues/9434
### What happened? On the Workflows page, I selected three workflows and clicked Delete selected: - Monthly report: mine - Team dashboard: owned by someone else, shared with me (Write access) - Sales cleanup: mine All three rows disappeared and no error was shown. After refreshing the page, Sales cleanup (one of my own workflows) and Team dashboard are back. Only Monthly report was actually deleted. The server checks the workflows one by one and stops at the first one I don’t own. Workflows before it are deleted; workflows after it are skipped. It then replies with success (HTTP 204) anyway, so the page removes every selected row. Which of your own workflows survive depends on where the shared one happens to sit in the list. If notebook migration is enabled, the page also deletes the Jupyter notebooks of all the selected workflows, including the ones that weren’t deleted. Screenshots: Three workflows selected. Monthly report and Sales cleanup are mine; Team dashboard is shared with me. <img width="1440" height="900" alt="1-three-selected" src="https://github.com/user-attachments/assets/a16e7a0d-65c8-489f-a3b0-e212005a6c4c" /> After clicking Delete: all three rows are gone, with no error. <img width="1440" height="900" alt="3-after-delete" src="https://github.com/user-attachments/assets/1590e1c9-ad8b-4099-b9ce-8b704a4f9dd3" /> After refreshing: Sales cleanup, my own workflow, was never deleted. <img width="1440" height="900" alt="4-after-refresh" src="https://github.com/user-attachments/assets/b37a5c62-6552-4582-a597-42c2afa3f4b4" /> The same result through the API: ``` POST /api/workflow/delete {"wids":[39, 38, 37]} 39, 37 = mine, 38 = shared with me HTTP 204 ``` still in the database afterwards: 37 Sales cleanup, 38 Team dashboard ### How to reproduce? 1. As user B, create a workflow and share it with user A (Write access). 2. As user A, create two workflows. 3. On user A’s Workflows page, select all three and click Delete selected, then confirm. 4. All three rows disappear. Refresh the page: one or both of user A’s own workflows are still there. ### Version/Branch 1.4.0-incubating-SNAPSHOT (main) ### Commit Hash (Optional) _No response_ ### What browsers are you seeing the problem on? _No response_ ### Relevant log output ```shell ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
