Skip to content

fix(hir): resolve stable-hash Expr tag collision on 12045 (unblocks CI) - #3451

Merged
proggeramlug merged 1 commit into
mainfrom
hotfix/stable-hash-tag-collision-12045
May 30, 2026
Merged

fix(hir): resolve stable-hash Expr tag collision on 12045 (unblocks CI)#3451
proggeramlug merged 1 commit into
mainfrom
hotfix/stable-hash-tag-collision-12045

Conversation

@proggeramlug

Copy link
Copy Markdown
Contributor

Problem

main is currently RED on stable_hash::tests::expr_variant_stable_hash_tags_are_unique. Two HIR Expr variants both got assigned stable-hash tag 12045 via a merge race:

Each PR's CI passed because the other variant wasn't on main yet at test time. With both merged, the uniqueness assertion fails — and since this is a workspace unit test, every open PR's cargo-test now fails, blocking the entire merge queue.

Fix

Reassign ReflectIsExtensible from 1204512048 (next free tag; 12046/12047 taken, 12048+ free). This matches the fix already present on PR #3445's branch, so no future conflict when that lands.

Verified locally: cargo test -p perry-hir stable_hash → 6 passed/0 failed; build + fmt clean.

#3409 (RegExpEscape) and #3402 (ReflectIsExtensible) both merged via a
tag race, each assigning stable-hash tag 12045 — making
expr_variant_stable_hash_tags_are_unique fail on main and blocking all
PR CI. Reassign ReflectIsExtensible to the free tag 12048 (matches the
fix already on PR #3445's branch, so no future conflict).
@proggeramlug
proggeramlug merged commit b0dd10a into main May 30, 2026
11 checks passed
@proggeramlug
proggeramlug deleted the hotfix/stable-hash-tag-collision-12045 branch May 30, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant