[PR #4231] [Other] gitignore the engine-feed folder #4965

Open
opened 2026-11-07 16:31:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4231
Author: @qwertie
Created: 10/26/2026
Status: 🔄 Open

Base: main ← Head: ignore-engine-feed


📝 Commits (1)

  • d511ae4 Bug fix: setup's engine download showed up as 705 MB of untracked files

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 .gitignore (+1 -0)

📄 Description

Problem and result

In a source checkout, setup's engine_from_feed (setup.py, #3469 #3437) downloads the ready-made engine from the signed update feed into engine-feed/ under the install folder. In a source checkout that folder is the checkout itself. .gitignore lists the other engine folders (/engine/, /engine-sycl/, /engine-cuda12/) but not this one, so after setup git status shows it as untracked and git add -A would stage it. On the Windows HIP setup where I found it, the folder held 705 MB (engine-feed/engine/0.1.48-windows-x86_64-hip-rdna3 plus the updater's .updates state).

 /engine/
 /engine-sycl/
 /engine-cuda12/
+/engine-feed/

none

Approach

One line in .gitignore, rooted (/engine-feed/) like the other engine folders, so only the folder setup creates at the top of the checkout is ignored.

Validation

Passed:

  • Windows 11 source checkout after START-HERE.bat (setup) had fetched the engine from the feed: on 4b9e05a2 (main), git status --short lists ?? engine-feed/.
  • A clean worktree of d511ae4c with a file under engine-feed/engine/: git status --short lists nothing, and git status --short --ignored engine-feed lists !! engine-feed/. With main's .gitignore in the same worktree, it lists ?? engine-feed/.

Failed:
none observed

Not run:

  • Linux and macOS checkouts. The rule is a plain path, so I expect no difference, but I didn't check it there.

Limits

An install whose writable home is not the checkout (_CONTROL_HOME) puts engine-feed/ outside the repository, where .gitignore doesn't apply and isn't needed.

🤖 Generated with Claude Code


🔄 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/Niko1221/Strata/pull/4231 **Author:** [@qwertie](https://github.com/qwertie) **Created:** 10/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `ignore-engine-feed` --- ### 📝 Commits (1) - [`d511ae4`](https://github.com/Niko1221/Strata/commit/d511ae4c376aedd9d8aae7a8895a927234ef5a1d) Bug fix: setup's engine download showed up as 705 MB of untracked files ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) </details> ### 📄 Description ## Problem and result In a source checkout, setup's `engine_from_feed` (setup.py, #3469 #3437) downloads the ready-made engine from the signed update feed into `engine-feed/` under the install folder. In a source checkout that folder is the checkout itself. `.gitignore` lists the other engine folders (`/engine/`, `/engine-sycl/`, `/engine-cuda12/`) but not this one, so after setup `git status` shows it as untracked and `git add -A` would stage it. On the Windows HIP setup where I found it, the folder held 705 MB (`engine-feed/engine/0.1.48-windows-x86_64-hip-rdna3` plus the updater's `.updates` state). ```diff /engine/ /engine-sycl/ /engine-cuda12/ +/engine-feed/ ``` ## Related discussion none ## Approach One line in `.gitignore`, rooted (`/engine-feed/`) like the other engine folders, so only the folder setup creates at the top of the checkout is ignored. ## Validation **Passed:** - Windows 11 source checkout after `START-HERE.bat` (setup) had fetched the engine from the feed: on 4b9e05a2 (main), `git status --short` lists `?? engine-feed/`. - A clean worktree of d511ae4c with a file under `engine-feed/engine/`: `git status --short` lists nothing, and `git status --short --ignored engine-feed` lists `!! engine-feed/`. With main's `.gitignore` in the same worktree, it lists `?? engine-feed/`. **Failed:** none observed **Not run:** - Linux and macOS checkouts. The rule is a plain path, so I expect no difference, but I didn't check it there. ## Limits An install whose writable home is not the checkout (`_CONTROL_HOME`) puts `engine-feed/` outside the repository, where `.gitignore` doesn't apply and isn't needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4965
No description provided.