Skip to content

Pin unicode-properties so unlocked installs compile - #11818

Merged
EffortlessSteven merged 1 commit into
mainfrom
claude/pin-unicode-properties-mavbkh
Oct 31, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
claude/pin-unicode-properties-mavbkh

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #11817

Acceptance delta (one sentence): A fresh, lockfile-free resolve of the packaged ripr crate pins unicode-properties 0.1.4 beside unicode-ident 1.0.24, so ra-ap-rustc_lexer compiles for cargo install ripr without --locked.

Reproduction

cargo package -p ripr --no-verify, unpack, delete Cargo.lock, cargo generate-lockfile: resolves unicode-properties 0.1.5 with unicode-ident 1.0.24. cargo check -p ra-ap-rustc_lexer then fails with the "must use the same Unicode version" const assert (same as the Perl and release proof job on #11806, run 41230079811).

Change

Proof

  • Same reproduction after the change: resolves unicode-properties 0.1.4, cargo check -p ra-ap-rustc_lexer finishes.
  • cargo xtask check-dependencies and check-changelog-fragments pass.
  • Recurrence: the existing Unlocked install resolution (release surface) step in ci.yml is the guard that caught this; it runs on main pushes, release-check and full-ci. Hosted run on this PR (full-ci) is the end-to-end proof.

Not done

Full cargo install of the packaged crate was not built locally (container memory).


Generated by Claude Code

…1817)

An unlocked resolve picks unicode-properties 0.1.5, whose Unicode version
no longer matches unicode-ident 1.0.24, so ra-ap-rustc_lexer's const assert
fails. Pin both in the manifest; Cargo.lock gains only the dependency edge.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvmPmqErVsKLf9se9gRSKv
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven added the full-ci Run required, advisory, and release-like CI lanes. label Oct 31, 2026 — with Claude
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 13 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 149 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: d327de95-7738-4a29-80e9-c061fdba5536
Commits

Reviewing files that changed from the base of the PR and between 9db2819 and bf3407c.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 2
  • changelog.d/pin-unicode-properties-unlocked-install.md
  • crates/ripr/Cargo.toml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 31, 2026 18:52
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs one verification check before upstream.

Verification questions

  • Confirm the PR has no changed regression test that distinguishes the broken unlocked resolution from the fixed resolution.

Evidence gaps

  • The acceptance claim depends on a fresh, lockfile-free packaged-crate resolve, but the central cargo-test receipt is still absent.
  • Model proof intent was rejected by deterministic validation.
  • The PR body's proof is described but no corresponding proof receipt is available in the supplied evidence packet.
  • The PR claim that cargo install ripr without --locked compiles is supported by the manifest change, but the required cargo-test receipt is absent.
  • A fresh unlocked install remains the material validation boundary because lockfile contents do not constrain cargo install resolution.
  • The PR body claims an end-to-end hosted full-ci proof, but the supplied sensor packet contains no completed cargo-test receipt.

Copy link
Copy Markdown
Member Author

On the advisory review (no distinguishing regression test, no completed receipt): the distinguishing check already exists and is not a unit test. Unlocked install resolution (release surface) in ci.yml packages ripr, deletes its Cargo.lock, re-resolves and builds, which is the only way to observe the broken resolution. It failed on #11806's head with the ra-ap-rustc_lexer const-assert (run 41230079811, job 124622283177) and is green on this head, Perl and release proof run 41231503180 (job on bf3407c50d). I also reproduced both sides locally: unpacked-crate resolve gave unicode-properties 0.1.5 before the manifest pin and 0.1.4 after, and cargo check -p ra-ap-rustc_lexer failed before and finished after. No new test added.

The vscode, rust-coverage and rust-tests-junit failures on this head are main breaks that this diff does not touch: #11805 (fix #11807) and the lang-perl test fixed in #11822.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Review of record, head bf3407c50d5282b3b79f27d3f192511160fd0330.

Angles checked on the exact head:

  • Diff: three files. crates/ripr/Cargo.toml adds unicode-properties = { version = "=0.1.4", optional = true } and enables it from lang-rust, the feature that pulls ra_ap_syntax; Cargo.lock gains only the ripr -> unicode-properties edge with no version moves; a changelog fragment cites release proof: cargo package -p ripr fresh resolve fails in ra-ap-rustc_lexer (unicode-properties 0.1.5 vs unicode-ident 1.0.24) #11817. Nothing else changed.
  • Fix mechanism: reproduced locally on the unpacked packaged crate with its lockfile deleted. Before the pin the resolve gives unicode-properties 0.1.5 and cargo check -p ra-ap-rustc_lexer fails on the const assert. After the pin it resolves 0.1.4 and the check finishes. The pin satisfies ra-ap-rustc_lexer's unicode-properties requirement, and no other dependent conflicts.
  • Hosted proof: Perl and release proof (which includes Unlocked install resolution (release surface)) is green on this head, was red on Isolate the fixture corpus default build in Test Analytics #11806's head with the exact assert, and Ripr Rust Small Result is green with all 4 shards plus verify. check-dependencies and check-changelog-fragments pass.
  • Risk: the =0.1.4 exact pin is the same approach already used for unicode-ident; the comment in the manifest says when to remove both. Downstream resolvers that also depend on a newer unicode-properties would conflict, but none is in the graph.

Findings: none blocking. The advisory bot review asked for a distinguishing test; answered above (the unlocked-resolution CI step is that test and flipped red to green).

Not green and not this PR's: vscode (main break #11805, fix #11807), rust-tests-junit and rust-coverage (lang-perl test from #11601, fix #11822).


Generated by Claude Code

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

Labels

full-ci Run required, advisory, and release-like CI lanes. merge-ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants