[PR #9484] [MERGED] server/.../backoff,syncs: conditionally skip synctest tests #23524

Closed
opened 2026-04-19 17:03:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9484
Author: @bmizerany
Created: 3/3/2025
Status: Merged
Merged: 3/4/2025
Merged by: @bmizerany

Base: mainHead: bmizerany/helpfulsynctestfailure


📝 Commits (1)

  • 505fb74 server/.../backoff,syncs: don't break builds without synctest

📊 Changes

3 files changed (+33 additions, -0 deletions)

View changed files

📝 docs/development.md (+29 -0)
📝 server/internal/internal/backoff/backoff_test.go (+2 -0)
📝 server/internal/internal/syncs/line_test.go (+2 -0)

📄 Description

This guards tests using the experimental synctest breaking builds in environments where the experiment is not enabled.

It is required in CI, so we should still catch breaking any changes that break these packages. If we start using the new feature more, we can make it a required part of all tests.


🔄 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/9484 **Author:** [@bmizerany](https://github.com/bmizerany) **Created:** 3/3/2025 **Status:** ✅ Merged **Merged:** 3/4/2025 **Merged by:** [@bmizerany](https://github.com/bmizerany) **Base:** `main` ← **Head:** `bmizerany/helpfulsynctestfailure` --- ### 📝 Commits (1) - [`505fb74`](https://github.com/ollama/ollama/commit/505fb74b29b6675fab9fcbb9dc9cb0c158198977) server/.../backoff,syncs: don't break builds without synctest ### 📊 Changes **3 files changed** (+33 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/development.md` (+29 -0) 📝 `server/internal/internal/backoff/backoff_test.go` (+2 -0) 📝 `server/internal/internal/syncs/line_test.go` (+2 -0) </details> ### 📄 Description This guards tests using the experimental synctest breaking builds in environments where the experiment is not enabled. It is required in CI, so we should still catch breaking any changes that break these packages. If we start using the new feature more, we can make it a required part of all tests. --- <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-04-19 17:03:57 -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#23524