Repository navigation
Prevent check-cache imports from skipping query feeds - #187
Open
charliermarsh wants to merge 1 commit into
Open
charliermarsh wants to merge 1 commit into
charliermarsh wants to merge 1 commit into
Conversation
charliermarsh
marked this pull request as ready for review
October 17, 2026 02:10
charliermarsh
added a commit
to astral-experiments/ohm
that referenced
this pull request
Oct 17, 2026
Prepare Ohm 1.99.0-5 with the check-to-build query-feed fix in astral-experiments/ohm-rust#187 and manual collection of shared ThinLTO caches in astral-experiments/ohm-cargo#164. The compiler's Cargo gitlink matches the manifest's Cargo revision. The manifest, source revisions, manifest history, and formatting checks pass. The optimizations guide is updated separately in #151 for review.
charliermarsh
force-pushed
the
charlie/fix-latest-check-anon-const-types
branch
from
November 2, 2026 18:23
168c259 to
893ffd8
Compare
charliermarsh
force-pushed
the
charlie/fix-latest-check-anon-const-types
branch
from
November 2, 2026 18:33
893ffd8 to
464addf
Compare
charliermarsh
force-pushed
the
charlie/fix-latest-check-anon-const-types
branch
from
November 2, 2026 19:09
464addf to
2bb7de1
Compare
charliermarsh
force-pushed
the
charlie/fix-latest-check-anon-const-types
branch
from
November 17, 2026 07:31
2bb7de1 to
893d7ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Importing a cached
typeck_rootresult can skip query feeds that establish the types of const arguments. After a const-argument edit, the next native build can then panic while compiling an anonymous const.Record query feeds as dependency-graph side effects. Check-cache imports that encounter a feed now rerun the query. Normal incremental reuse and imports with replayable effects continue to work. Extend the shared-stage regression with a const-argument/type change and subsequent native-cache reuse.
The published head passes the regression, 23 incremental tests in normal and shared-stage modes, and the eight-file ty edit with native inference checks. An optimized build of Ohm 1.99.0-3 plus this fix also passes 976 ty tests in each mode.
On that build, 12 paired runs across three Linux devboxes show no clear overall speedup from enabling shared stages: check plus build averages 92.22 seconds disabled and 92.04 seconds enabled (paired change −0.21%; individual 95% interval −1.45% to +1.03%). The build saves 2.59 seconds, while the preceding check adds 2.41 seconds.