chore(typeshed): sync to r-typeshed master and drop the ifelse overlay - #495
Conversation
Vendors r-typeshed master (merge commit f47b95f, tree-identical to the PR #58 head 7e279cd; stubs-sha256 e5ccbee0): base 0.0.18 -> 0.0.19, whose only stub change declares base::ifelse's test-template return_mode -- the same spec ry carried in the local overlay. With the spec upstream, the overlay mechanism is deleted: the crates/ry-typeshed/overlay/base.json file, the load_base() merge (apply_local_overlay and its compile-time embedding), and the overlay tests (local_overlay_annotates_base_without_touching_vendor, local_overlay_stays_pinned_to_the_vendored_entry, and the sync-harness overlay-survival test). The vendor-pristine pin flips to assert the vendored base itself carries ifelse's return_mode, so an upstream regression that strips it still fails CI. RY106 diagnostics are unchanged: the upstream entry is structurally identical to the overlay's, both corpus ledgers stay at their 88/421 baselines, and the committed ecosystem reports are current. Refs sims1253/r-typeshed#58
|
Warning Review limit reachedNext included review available in 29 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — every claim in the PR body was independently reproduced against primary sources (upstream blobs, the stubs-sha256 recipe, and the test suites), and all held.
- Vendored sync to
f47b95f:vendor/base/base.jsonbumps base 0.0.18 → 0.0.19 and gainsbase::ifelse'sreturn_modespec;SOURCEre-pins. Verified byte-identical to the upstream blob,stubs-sha256: e5ccbee0…reproduced exactly via the documented recipe over the tarball'sstubs/tree, and the upstream rangef2fe5de...f47b95fis exactly r-typeshed PR #58 (merge and PR head share tree5b789ba…, confirming the body's tree-sha claim). No other vendored stub changed. - Overlay mechanism deleted:
overlay/base.json,LOCAL_OVERLAY_JSON,apply_local_overlay(), and theload_base()merge are gone;load_basenow returns the parsed vendored stub directly. Zerooverlayreferences remain in the worktree, andload_stub_file/validate_stub_dirskeep other callers, so no dead-code or clippy exposure. The upstream commit message explicitly endorses this drop at this revision. - Behavior unchanged by construction: the vendored
ifelseentry is field-identical to the deleted overlay entry (params,return,return_mode), so the effective signature — and RY106 diagnostics — are identical before and after. - Test re-pinning: the flipped
vendored_base_carries_the_ifelse_return_modestill fails CI on an upstream regression that strips the spec (it pins both the worktree vendor file andload_base()'s embedded data); the drift test and sync-harness overlay test are correctly deleted with their subject; the schema-version pin tracks 0.0.19.
Gates re-run locally: cargo test -p ry-typeshed 35/35 (including the flipped pin) and python3 -m unittest discover -s scripts -p 'test_*.py' 13/13, both green. Changelog omission matches convention — the previous sync (cab93af) also left the entry to release prep.
openai-compatible/glm-5.3 | 𝕏
VerdictApprove. Every claim in the PR body was verified independently (GitHub API, local refs, full local gate runs); CI is fully green; no blocking or major findings. Two non-blocking nits below. FindingsMinor (non-blocking)
No major or blocking findings. Provenance verificationAll verified against the GitHub API and local git, independently of the PR body:
Note: the local Deletion completeness (grep results)
No hits in workflows, scripts, docs, or configs ( Enforcement analysisSimulated regression (upstream strips the spec; the weekly
Nothing formerly guarded is now unguarded: the deleted drift-pin ( Bot adjudication
Local verificationDetached worktree at
CHANGELOGSilence is correct on both legs. |

Sync provenance
Vendors r-typeshed master at merge commit
f47b95f(PR #58 head7e279cd; the merge tree is byte-identical to the PR head, verified by tree sha). This is the only commit master gained since the previous pinf2fe5de(r-typeshed 0.5.1, vendored in cab93af) -- nothing beyond #58 was vendored.SOURCErecordscommit: f47b95f,tree-state: clean,stubs-sha256: e5ccbee0.Vendor diff:
vendor/base/base.jsonalone -- base 0.0.18 -> 0.0.19,base::ifelsegainsreturn_mode: {kind: test_template, test: test, values: [yes, no]}. All 48 stub files passry typeshed validate; every other vendored stub is byte-identical to the previous snapshot.Refs sims1253/r-typeshed#58.
Overlay removal inventory
The upstream entry is structurally identical to the local overlay's, so the temporary overlay mechanism is deleted entirely:
crates/ry-typeshed/overlay/base.json-- removed (the wholeoverlay/directory).crates/ry-typeshed/src/lib.rs--LOCAL_OVERLAY_JSON,apply_local_overlay(), and theload_base()merge removed;load_basenow returns the parsed vendored stub directly.local_overlay_annotates_base_without_touching_vendor(asserted the vendor contains noreturn_mode-- false since this sync),local_overlay_stays_pinned_to_the_vendored_entry, and the sync-harnesstest_sync_preserves_the_local_annotation_overlay.vendored_base_carries_the_ifelse_return_modenow asserts the vendored base itself carries the spec and thatload_basesurfaces it, so an upstream regression stripping RY106's data still fails CI.typeshed_preserves_embedded_schema_versiontracks base 0.0.19.RY106 unchanged
cargo test --workspace: all green, including the 15 RY106 unit tests, theifelse_mode_collapse_claim.Roracle claim fixture (cargo test -p ry-checker --test oracle -- --include-ignored, 17/17), and the corpus fixtures.vendor_snapshot(glue) unchanged.Corpus zero-delta
ecosystem/run.sh --checkandecosystem/run.sh --check --manifest ecosystem/posit-packages.txt: committed reports are current.python3 ecosystem/check-ledger.py docs/corpus/posit-0.9.0.json docs/corpus/tidyverse-0.7.1.json: OK -- 421 / 88 findings, matching the committed baselines.Gates
cargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace, oracle with--include-ignored, andpython3 -m unittest discover -s scripts -p 'test_*.py'(13 tests) all pass.