Repository navigation
build(deps): align Gemfile.lock with lich-5 - #2651
Conversation
Run elanthia-online/.github's bin/sync-lockfile: 27 shared gems move to lich-5's versions and PLATFORMS gains aarch64-mingw-ucrt. The shared lockfile check is about to run from ruby-ci.yml, and a push to the default branch fails for any drift, so this lands first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
mrhoribu
left a comment
There was a problem hiding this comment.
Approving at dc1310647dffc14fe741243f154d3eb134ab937c.
I checked this lock against lich-5's committed Gemfile.lock on main (7c8d70607) with Bundler's own LockfileParser, rather than only with sync-lockfile. All 78 shared gems match, PLATFORMS is identical (it adds only aarch64-mingw-ucrt), the Bundler version is 4.0.23 on both sides, and all 102 shared CHECKSUMS lines match byte for byte.
bin/lockfile-checkfrom elanthia-online/.github#16 passes against this head in push mode.bin/migrate, thenLICH5_PATH=<lich-5 v5.25.0> bundle exec rspec: 24580 examples, 0 failures (Ruby 4.0.10,BUNDLE_WITHOUT=gtk:vscode:profanityas in CI).bundler-audit check: no vulnerabilities.- The two skipped checks are expected.
ruby / testis off becauseci.ymlcallsruby-ci.ymlwithrun-tests: false, and the repo's own "Run tests on Ruby" job ran and passed. CodeRabbit is skipping because auto reviews are disabled on this repo.
One thing CI can't show: the glib/gtk family's move from 4.3.9 to 4.4.0 sits in the gtk group, which CI excludes, so no job installs it here. These are exactly the versions lich-5 locks, and this Gemfile is development-only, so I don't see a risk. It just isn't exercised by this repo's CI.
Per elanthia-online/.github#16's release plan, this needs to merge before the .github v2.0.0 tag.
Verified: bin/migrate + rspec (ruby 4.0.10, lich-5 v5.25.0), bundler-audit, independent LockfileParser/CHECKSUMS comparison against lich-5 main, bin/lockfile-check from .github#16 head
OSXLich-Doug
left a comment
There was a problem hiding this comment.
PR Review: build(deps): align Gemfile.lock with lich-5 (#2651)
Reviewed: 1 file, +73/-68 at dc131064 on 2026-12-03. Based on full pinned source archives and GitHub CI logs. Target 2886d4ac is the scripts default branch (master) and the merge base.
Verdict: Changes requested (1 Minor)
Summary: The checked-in lock matches the pinned lich-5 reference for all 78 shared gem versions, the platform list, Ruby and Bundler. All 102 overlapping checksum entries match, and the scripts RSpec CI recorded 24,580 examples with zero failures. The Gemfile's platform maintenance command still omits the newly required Windows ARM target, so contributors following it from an existing lock that lacks the target will leave the platform drift in place.
Minor
F1 [Minor] Include Windows ARM in the lockfile maintenance command - Gemfile.lock:231
Defect
aarch64-mingw-ucrt
The checked-in lock adds this target, but the maintenance command in Gemfile:2 lists 19 other targets and says that running it makes the lock usable across all supported platforms. On an x86_64 Linux host with the existing pre-alignment lock, all 19 arguments are already present. Bundler 4.0.23 can add the local platform or an explicit argument. Its extra-platform inference is disabled for an existing lockfile, so the documented command leaves ARM Windows absent. The intact PR lock already includes it.
Suggested repair: Add --add-platform aarch64-mingw-ucrt to the Gemfile command.
If applied: Following the recipe on Linux will request the ARM Windows target during resolution. The new FFI package and its checksum are already recorded in this lock, and the recipe continues to request the other listed targets. The native installation path remains untested.
If ignored: A contributor using the published recipe to recover platform coverage from an existing pre-alignment lock will still have platform drift. The new shared gate will reject that drift on a default-branch push once the repository adopts the new workflow pin.
Earlier feedback
- mrhoribu, Dec 3 approval (at
dc131064, exact): Concur on lockfile parity, the separate RSpec job and its GTK exclusion, and the sequencing of the shared workflow rollout. Independently checked the version and platform predicate for push mode. The reviewer's clean advisory scan is prior evidence at this head. Earlier review - CodeRabbit, Dec 3 status (at
dc131064, approximate): Automatic review was skipped. The comment contains no review concerns. CodeRabbit status
Coverage
Not verified: Native Windows ARM installation, optional GTK/editor/profanity dependency installation, and a live run of the future shared workflow after the pin changes.
Coverage notes
- Read and traced: All changes in
Gemfile.lock, dependency roots and platform instructions in Gemfile, affected scripts and migration consumers, current CI and the cited shared CI rollout. The Gemfile is the relevant dependent documentation. Its earlier ARM Darwin omission predates this change. - Ran: The pinned B/H comparison against lich-5
7c8d70607found 27 version differences and one missing platform at B and none at H. All 28 changed package coordinates matched RubyGems SHA-256 metadata. A RubyGems platform probe on host Ruby 4.0.9 verified native ARM FFI and generic SQLite lock inputs and rejected three negative controls. Ubuntu 26.04 x64 CI ran migration and 24,580 RSpec examples with zero failures on Ruby 4.0.10 and Bundler 4.0.23, with lich-5 fixtureb3678bcandgtk:vscode:profanityexcluded. GitHub tested merge28c2e983eb9012fa3ee55efa90939e935bb7c7a2of the exact reviewed head and target. RSpec CI job - Invariants attacked: Tested platform selection with the original base, a missing ARM checksum, and x64 substituted for ARM. Traced partial GTK upgrades, incompatible Redis and editor dependency versions, the contributor command on an existing non-ARM lockfile, and preexisting drift crossing from PR comparison to the future push check. F1 is the surviving concern.
- Not verified: Native GTK and Windows loading, excluded optional dependency groups and the future shared workflow at the new pin. No independent advisory scan was rerun.
- External review: The existing CodeRabbit check skipped because automatic reviews are disabled. No additional run.
- Prior records: No matching findings, questions or owner decisions in the scripts evidence store. The earlier approval and its relevant limits were reconciled above.
- PR thread: Read the PR body, one human review, one CodeRabbit comment and zero inline comments. The ledger was refreshed on 2026-12-03 at 09:19 CST. The bot comment's commit mapping is approximate.
Coverage detail
- C1: Compare the checked-in locks at the pinned scripts head and lich-5 reference. The base differs in 27 versions and lacks the new platform. Head matches the shared versions and checksum coordinates.
- C2: A RubyGems probe matched the Windows ARM native FFI spec, its checksum and the SQLite source spec. The base with no target, head with no ARM checksum and head with x64 substituted each failed the probe oracle. The published Bundler 4.0.23 platform-addition path accounts for the Gemfile recipe behavior.
- C3: The planned job checks all drift on a push and only newly added drift on a PR. The scripts workflow currently uses the earlier pin. Shared workflow change
Review record
- Format: reviewpr-report-v8; skill sha256=8e688da0db19b633af97a4d15d490164e7883a3d7ab072c114637f0b68bbae17
- Recheck: nothing moved, rechecked 2026-12-03
- Revisions: head=dc1310647dffc14fe741243f154d3eb134ab937c; target=2886d4aca458d84c933e2d5b2c0b911962b2e39c; merge-base=2886d4aca458d84c933e2d5b2c0b911962b2e39c; main=same as target; parent=not applicable
- Counts: Critical=0; Major=0; Minor=1; Nit=0; Open questions=0; Positives=0
- States: baseline=none; stack=inactive; reuse=earlier exact-head advisory scan and CI logs
- Findings: F1 confidence=confirmed; origin=independent; change-origin=introduced dependent-document inconsistency; evidence=C2
- Evidence: C1-C3 above.
- Boundaries: No repository source edits or Git writes. Read-only GitHub acquisition, local evidence, and draft only.
The recipe listed 19 of the lock's 21 PLATFORMS: aarch64-mingw-ucrt (added by this alignment) and aarch64-darwin (an older gap) were missing, so following it from a lock without them left them out. The recipe now matches lich-5's Gemfile line for line. Addresses OSXLich-Doug's F1 on elanthia-online#2651. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@OSXLich-Doug thanks. F1 is fixed in c5ff7af. F1: Windows ARM missing from the lockfile maintenance command. Disposition: Fixed. Commit: c5ff7af You were right. The recipe in the
@mrhoribu your approval was dismissed by this push. The only change is the Gemfile comment above. |
mrhoribu
left a comment
There was a problem hiding this comment.
PR Review: build(deps): align Gemfile.lock with lich-5 (#2651)
Reviewed: delta dc131064 -> c5ff7af173a9ce28640f5238d0216a7b380e160d (Gemfile, +2, inside the =begin/=end comment) on 2026-12-03, plus a test merge with current master (abf33dd0). Based on: full clone. Follow-up to my approval at dc131064, which this push dismissed.
Verified: specs(none: Gemfile.lock unchanged since my run at dc13106; CI "Run tests on Ruby" green at this head) · lint(CI) · e2e(bin/lockfile-check from .github main 954c8bd: merged push mode, PR mode, master control) · differential(none) · property(none)
Counts: no open findings.
Summary: The one new commit adds aarch64-mingw-ucrt and aarch64-darwin to the bundle lock recipe in the Gemfile header. That fixes OSXLich-Doug's F1 and the older aarch64-darwin omission they noted. The recipe now lists the same 21 platforms as both this lock's and lich-5's PLATFORMS. Running it against the merged lock changes nothing.
Earlier feedback
- OSXLich-Doug F1 (at
dc131064; Gemfile recipe omitsaarch64-mingw-ucrt): fixed inc5ff7af1(Gemfile:9). Running the recipe's 21--add-platformflags with Bundler 4.0.23 against the lock, merged with currentmaster, leavesGemfile.lockbyte-identical. - My approval at
dc131064: carried forward.git diff dc131064 c5ff7af1 -- Gemfile.lockis empty, so its lock comparison, rspec run (24,580 examples) and bundler-audit result still describe this lock.
New since then
mastermoved toabf33dd0(#2652, rack 3.2.8 -> 3.2.9). The merge with this PR applies cleanly. lich-5 does not lock rack, so it is not part of the alignment.bin/lockfile-checkfrom.github954c8bd(the merged #16) reports the merged tree "aligned with elanthia-online/lich-5" in push mode, and this head aligned in PR mode againstmaster. The control works: run onmasteralone, it reports the expected drift (sequel, sorbet-runtime, terminal-table, tzinfo-data, zlib, ...) and fails..github#16has merged, so this PR's merge is now the remaining step before the v2.0.0 tag in that PR's release plan.
OSXLich-Doug
left a comment
There was a problem hiding this comment.
PR Review: build(deps): align Gemfile.lock with lich-5 (#2651)
Reviewed: 2 PR files, +75/-68 at c5ff7af1 on 2026-12-03, with the latest commit limited to two comment lines in Gemfile. Based on full pinned source archives and CI logs. Current default-branch target abf33dd0 is ahead of merge base 2886d4ac.
Prior review: dc131064 (review 6172997719), verdict Changes requested, 1 finding. Verdict now Approve.
Verdict: Approve
Summary: The latest commit fixes F1 by adding the Windows ARM platform to the documented maintenance command. It also fills the earlier ARM Darwin omission, bringing the recipe to all 21 locked targets. The shell argument probe distinguishes the two snapshots, and the latest commit leaves the executable Gemfile and lockfile byte-identical to the previously reviewed head. The current target's Rack-only lock update integrates cleanly. No new concern was found in the author delta or the affected lockfile integration.
Findings
No findings.
Earlier feedback
- OSXLich-Doug F1 (at
dc131064, exact): fixed atc5ff7af1byGemfile:9. The old and new recipe probe produced 19 and 21 arguments respectively. In the supported existing Linux-lock case, the old recipe omits Windows ARM and the new recipe requests it explicitly. Original finding - MahtraDR, Dec 3 response (at
c5ff7af1, approximate): corroborated the claimed fix with the pinned diff and controlled comparison. The author's report that the updated command leaves an intact lock unchanged is consistent with the pinned Bundler source. Author response - mrhoribu, initial Dec 3 approval (at
dc131064, exact): superseded by that reviewer's approval at the new head. The reported lock and advisory check still apply to the identical checked-in lock. Initial approval - mrhoribu, latest Dec 3 approval (at
c5ff7af1, exact): concur on F1 closure, unchanged executable Gemfile and lock, and absence of a lockfile conflict with current master. The reported shared gate run is prior reviewer evidence. This review separately reconstructed the combined lock and checked it against the pinned reference. Latest approval - CodeRabbit, Dec 3 status (mapped to
dc131064, approximate): automatic review skipped, with no concern to carry forward. Status comment
Coverage
Not verified: Native Windows and optional dependency installs, and a full-suite run on the merge with current target abf33dd0.
Coverage notes
- Read and traced: The author delta adds only two comment lines,
Gemfile:5andGemfile:9. The previous 19 flags and all Ruby declarations are preserved. Both PR files are accounted for. The pinned prior and latest lockfiles are byte-identical. Current target changes to the fixture pin and Rack were examined where they meet the PR. - Ran: The old/new platform-argument probe used real shell continuation parsing with an argument-recording function and a bounded existing-lock scenario. Results were 19/21 and 21/21, exit 0, 0.04s of a 60s deadline. A three-way lockfile comparison in scratch preserved Rack 3.2.9 and its checksum from master, and all 78 shared versions, 102 overlapping checksums and platforms still matched the earlier reference. GitHub ran migration and 24,580 RSpec examples with zero failures, using Ruby 4.0.10, Bundler 4.0.23, Ubuntu x64 and lich-5 v5.25.0. Its synthetic revision
2832911258f887132dacc5902c1157f21f09f9d1joins H with the old target2886d4ac. CI job - Invariants attacked: Tested whether the printed recipe really passes every target as an option, whether a Linux machine can regain Windows ARM in the original existing-lock scenario, whether old flags or executable Gemfile statements changed, and whether the overlapping Rack target bump causes a lock conflict or breaks parity. No runtime state or exit was changed by the comment-only delta.
- Not verified: Native/optional installations, the actual Bundler command run locally, a fresh advisory scan and full suite execution against the latest combined tree. The precise CI and third-party validation boundaries are recorded in C1-C2.
- External review: CodeRabbit skipped. No additional run.
- Prior records: Reopened F1 for closure and reused prior C1-C3 coverage only where the lock, pinned inputs and dependency constraints are unchanged. No matched open concern remains.
- PR thread: Read PR body, 3 reviews, 2 conversation comments and 0 inline comments. Refreshed 2026-12-03 at 11:27 CST. Conversation comment commits are approximate. Earlier feedback records each item at the reviewed head.
Coverage detail
- C1: The old and new documented commands were parsed by the shell and compared against the same 21-platform lock. The argument comparison reproduces the omission on an existing Linux lock and confirms its repair. Gemfile change
- C2: Full source comparison confirms the unchanged PR lock. A scratch three-way merge preserved the target Rack 3.2.9 update and retained parity with the pinned reference. The CI suite ran on the earlier merge target. Target changes
Review record
- Format: reviewpr-report-v8; skill sha256=8e688da0db19b633af97a4d15d490164e7883a3d7ab072c114637f0b68bbae17
- Recheck: nothing moved, rechecked 2026-12-03
- Revisions: head=c5ff7af173a9ce28640f5238d0216a7b380e160d; target=abf33dd0ec0ebae4e0267d1e337fa82a5839060c; merge-base=2886d4aca458d84c933e2d5b2c0b911962b2e39c; main=same as target; parent=not applicable; prior-head=dc1310647dffc14fe741243f154d3eb134ab937c
- Counts: Critical=0; Major=0; Minor=0; Nit=0; Open questions=0; Positives=0
- States: baseline=none; stack=inactive; reuse=prior shared-lock dependency evidence rechecked by byte identity
- Evidence: C1-C2 above.
- Boundaries: Read-only source and CI review.
Why
Gemfile.lockhas drifted from lich-5's: 27 shared gems and thePLATFORMSlist. Nothing caught it, because the shared lockfile check inelanthia-online/.githubonly runs in repos that call it, and this one doesn't. elanthia-online/.github#16 moves that check intoruby-ci.yml. Once this repo's pin moves to that release, any push to the default branch fails on drift, so this alignment needs to land first.What
Output of
curl -fsSL https://raw.githubusercontent.com/elanthia-online/.github/main/bin/sync-lockfile | ruby -, no hand edits:PLATFORMSgainsaarch64-mingw-ucrt..ruby-versionalready matches (4.0.10), and RuboCop stays pinned at 1.92.1.Testing
Run locally on Ruby 4.0.10:
sync-lockfile --checkreports aligned withelanthia-online/lich-5@mainbin/migrate, thenLICH5_PATH=<lich-5 v5.25.0> bundle exec rspec: 24580 examples, 0 failures🤖 Generated with Claude Code