[PR #14907] readline: harden history persistence #77203

Open
opened 2026-05-05 09:53:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14907
Author: @EmilioSchi
Created: 3/17/2026
Status: 🔄 Open

Base: mainHead: reinforce-readline-history


📝 Commits (1)

  • 8fad3c5 readline: harden history persistence

📊 Changes

2 files changed (+112 additions, -21 deletions)

View changed files

📝 readline/history.go (+110 -19)
📝 readline/readline.go (+2 -2)

📄 Description

Guard history state with a lock, track the history file handle, and check flush and close errors when saving.


🔄 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/14907 **Author:** [@EmilioSchi](https://github.com/EmilioSchi) **Created:** 3/17/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `reinforce-readline-history` --- ### 📝 Commits (1) - [`8fad3c5`](https://github.com/ollama/ollama/commit/8fad3c5308cb6095c06a54163ae9e957a04ab80c) readline: harden history persistence ### 📊 Changes **2 files changed** (+112 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `readline/history.go` (+110 -19) 📝 `readline/readline.go` (+2 -2) </details> ### 📄 Description Guard history state with a lock, track the history file handle, and check flush and close errors when saving. --- <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 2026-05-05 09:53:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#77203