[PR #4735] [CLOSED] Deletion Unit Test #10314

Closed
opened 2025-11-12 15:25:39 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4735
Author: @royjhan
Created: 5/30/2024
Status: Closed

Base: mainHead: royh-testdelete


📝 Commits (7)

📊 Changes

1 file changed (+95 additions, -36 deletions)

View changed files

📝 server/routes_test.go (+95 -36)

📄 Description

Testing to ensure that blobs are not deleted when still referenced, and deleted when completely unreferenced.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/4735 **Author:** [@royjhan](https://github.com/royjhan) **Created:** 5/30/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `royh-testdelete` --- ### 📝 Commits (7) - [`8774e5d`](https://github.com/ollama/ollama/commit/8774e5d6a974d2078e222f1a1ab99d326f72ec94) Deletion Unit Test - [`e8788ae`](https://github.com/ollama/ollama/commit/e8788ae8dd16e591b51a3ec8e607faf3897ad78c) Specify DNE error - [`c62df6b`](https://github.com/ollama/ollama/commit/c62df6b3bf22b0d035d40c29981487d828328dd7) Check Blob - [`a946b6f`](https://github.com/ollama/ollama/commit/a946b6f020f28b0329c4e8bf8251ec02c3c694c2) Adjust Response and Blob Check - [`77487ad`](https://github.com/ollama/ollama/commit/77487ada722e0140dbe25d3eb27f14d406263fdf) Err Check - [`5a3cb10`](https://github.com/ollama/ollama/commit/5a3cb1064a57f083de490393b950c7216ca9c456) Clean Up Delete Tests - [`5f0403d`](https://github.com/ollama/ollama/commit/5f0403d208792ebc9ab86b6802481013804169ea) Isolated Deletions ### 📊 Changes **1 file changed** (+95 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `server/routes_test.go` (+95 -36) </details> ### 📄 Description Testing to ensure that blobs are not deleted when still referenced, and deleted when completely unreferenced. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-12 15:25:39 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#10314