Skip to content

Stream well-formedness obligations - #72

Open
charliermarsh wants to merge 1 commit into
charlie/1.98/incremental-lint-visibilitiesfrom
charlie/1.98/stream-wf-obligations
Open

charliermarsh wants to merge 1 commit into
charlie/1.98/incremental-lint-visibilitiesfrom
charlie/1.98/stream-wf-obligations

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

Build well-formedness obligations directly from the ancestor predicate slices. Previously, nominal_obligations walked the ancestors twice and allocated intermediate origin, predicate, and span vectors.

The parent-first order, substitutions, and diagnostic spans are unchanged.

An exploratory comparison on Ruff's ty_python_semantic check measured 4.42% lower empty-target time and 4.19% lower private-edit time across four paired comparisons in ABBA/BAAB order. The compilers shared their other inputs and used optimization level 2, 16 codegen units, and no PGO, BOLT, or LTO. These are stage-one results, not measurements of the released toolchain.

@charliermarsh
charliermarsh marked this pull request as ready for review August 30, 2026 16:55
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from 81c4432 to b4604b1 Compare August 30, 2026 16:59
@charliermarsh
charliermarsh changed the base branch from charlie/1.98/pin-cargo-release-3 to charlie/1.98/incremental-lint-visibilities August 30, 2026 17:03
charliermarsh added a commit to astral-experiments/ohm that referenced this pull request Aug 30, 2026
Prepare Ohm 1.98.0 revision 4 with incremental Clippy diagnostics,
per-item visibility inputs, streamed well-formedness obligations, and
the shared registry cache deadlock repair. Pin the compiler stack
through [ohm-rust#75](astral-experiments/ohm-rust#75),
including [#72](astral-experiments/ohm-rust#72), the
Cargo stack through
[ohm-cargo#100](astral-experiments/ohm-cargo#100), and
the Clippy stack through
[ohm-rust-clippy#49](astral-experiments/ohm-rust-clippy#49).
Preserve the existing rustfmt pin and align the compiler's Cargo gitlink
with the manifest.

Add the versioned manifest, select it by default, update installation
examples, and refresh the upstream-change document. Clippy now caches 56
audited passes covering 62 lint kinds. The Cargo lock repair changes the
shared-cache namespace, so the first build repopulates affected
artifacts and unchanged builds may incur additional lock-preparation
overhead.

Keep the component PRs open for review in one GitHub stack per
repository. The unmeasured parallel query-cache promotion experiment in
ohm-rust#66 remains above the selected compiler pin and outside this
release. Preserve all historical manifests and published benchmark
results; the existing performance figures remain labeled as Ohm 1.98.0-3
measurements.
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from b4604b1 to 884b1cd Compare August 31, 2026 13:08
@codspeed

codspeed Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 22 untouched benchmarks
⏩ 8 skipped benchmarks1


Comparing charlie/1.98/stream-wf-obligations (791d634) with charlie/1.98/incremental-lint-visibilities (8fd2ce0)

Open in CodSpeed

Footnotes

  1. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch 2 times, most recently from 064f1e3 to f5c21c6 Compare September 1, 2026 18:05
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from f5c21c6 to 18e73ee Compare September 1, 2026 19:00
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch 2 times, most recently from 13ee8b6 to 8ae949d Compare September 3, 2026 18:17
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from 8ae949d to 2e61037 Compare September 6, 2026 20:33
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from 2e61037 to 791d634 Compare September 8, 2026 21:06
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch 2 times, most recently from 81e1283 to d749560 Compare September 16, 2026 19:07
@charliermarsh
charliermarsh removed this pull request from stack #135 September 16, 2026 19:08
@charliermarsh
charliermarsh removed this pull request from stack #143 October 1, 2026 15:57
@charliermarsh
charliermarsh changed the base branch from charlie/1.98/incremental-lint-visibilities to ohm-1.99.0 October 1, 2026 15:59
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from d749560 to 1eb07c8 Compare October 1, 2026 16:02
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from 262ce94 to 623aebf Compare October 7, 2026 14:09
@charliermarsh
charliermarsh removed this pull request from stack #153 October 7, 2026 14:09
@charliermarsh
charliermarsh added this pull request to stack #159 October 7, 2026 14:09
@charliermarsh
charliermarsh removed this pull request from stack #159 October 7, 2026 14:33
@charliermarsh
charliermarsh added this pull request to stack #162 October 7, 2026 14:33
@charliermarsh
charliermarsh removed this pull request from stack #162 October 17, 2026 00:40
@charliermarsh
charliermarsh added this pull request to stack #186 October 17, 2026 00:40
@charliermarsh
charliermarsh removed this pull request from stack #186 October 17, 2026 02:24
@charliermarsh
charliermarsh added this pull request to stack #188 October 17, 2026 02:25
@charliermarsh
charliermarsh removed this pull request from stack #188 October 20, 2026 22:12
@charliermarsh
charliermarsh added this pull request to stack #196 October 20, 2026 22:12
@charliermarsh
charliermarsh removed this pull request from stack #196 October 25, 2026 13:07
@charliermarsh
charliermarsh added this pull request to stack #229 October 25, 2026 13:07
@charliermarsh
charliermarsh removed this pull request from stack #229 October 27, 2026 02:58
@charliermarsh
charliermarsh added this pull request to stack #235 October 27, 2026 02:58
@charliermarsh
charliermarsh removed this pull request from stack #235 October 27, 2026 15:09
@charliermarsh
charliermarsh added this pull request to stack #237 October 27, 2026 15:09
@charliermarsh
charliermarsh removed this pull request from stack #237 October 27, 2026 21:36
@charliermarsh
charliermarsh added this pull request to stack #240 October 27, 2026 21:36
@charliermarsh
charliermarsh removed this pull request from stack #240 October 28, 2026 00:24
@charliermarsh
charliermarsh added this pull request to stack #242 October 28, 2026 00:24
@charliermarsh
charliermarsh removed this pull request from stack #242 October 28, 2026 17:21
@charliermarsh
charliermarsh added this pull request to stack #248 October 28, 2026 17:21
@charliermarsh
charliermarsh removed this pull request from stack #248 October 29, 2026 05:05
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from 623aebf to 9c8834c Compare October 30, 2026 22:13
Instantiate ancestor predicates directly into the final obligations, preserving substitution and diagnostic ordering while avoiding intermediate vectors and repeated ancestry queries. Cover inherited predicates and incremental bound changes in the Linux and macOS compiler tests.
@charliermarsh
charliermarsh force-pushed the charlie/1.98/stream-wf-obligations branch from 9c8834c to c533715 Compare November 17, 2026 07:31
@charliermarsh
charliermarsh added this pull request to stack #425 November 17, 2026 07:33
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