-
Notifications
You must be signed in to change notification settings - Fork 0
build: drop the reference-only burn submodule that broke every git-dep consumer #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Upstream provenance — where the reference tree went | ||
|
|
||
| `crates/burn/upstream` was a git SUBMODULE pointing at | ||
| `https://github.com/AdaWorldAPI/burn.git` (last gitlink | ||
| `9b2b67127b0fbb5387021faf540b7b12b9c4e943` = that repo's merge of PR #4; | ||
| upstream lineage: tracel-ai/burn, `v0.21.0-pre.2`). It was pure reference | ||
| material: `crates/burn/src` reads nothing from it, and `crates/burn` is | ||
| workspace-EXCLUDED besides. | ||
|
|
||
| It is gone because a reference-only submodule taxes EVERY consumer of this | ||
| repo as a git dependency: cargo clones git deps with submodules | ||
| unconditionally, so `medcare-rs`'s Railway build fetched the full burn fork | ||
| just to compile `chacha20` out of this repo — and on 2026-08-31 that fetch | ||
| died on GitHub's unauthenticated shared-IP rate limiting | ||
| ("could not read Username", after three spurious-network retries), taking | ||
| the deploy down. A gitlink is also a commit-pin on an internal sibling — | ||
| the consumer pin law's spirit, one layer down. | ||
|
|
||
| Need the reference tree? Clone the sibling directly: | ||
| `git clone https://github.com/AdaWorldAPI/burn.git` — the fork repo is the | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Check out the recorded commit when retrieving the reference tree. If a reader needs the removed reference tree, the plain Proposed documentation change-`git clone https://github.com/AdaWorldAPI/burn.git` — the fork repo is the
-address; this file is the provenance record (tags over pins, per the
-internal-pin prohibition).
+`git clone https://github.com/AdaWorldAPI/burn.git burn`
+`git -C burn checkout --detach 9b2b67127b0fbb5387021faf540b7b12b9c4e943`
+— the fork repo is the address; this file is the provenance record.🤖 Prompt for AI AgentsSource: MCP tools |
||
| address; this file is the provenance record (tags over pins, per the | ||
| internal-pin prohibition). | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Burn crate still depends on removed submodule
Medium Severity
Most of
crates/burn/srcis still git-symlinked into the deletedcrates/burn/upstreamtree, includinglib.rsand nearly all ops modules. Removing the gitlink leaves those links dangling, so the local SIMD files cannot form a buildable crate. The new provenance note claimssrcreads nothing fromupstream/.Reviewed by Cursor Bugbot for commit a019511. Configure here.