Skip to content

In test_ptr_try_cast_into_soundness, skip u128/i128#3178

Merged
joshlf merged 1 commit into
mainfrom
G6ytk3lhfbvylhux6xf5jzx3rzscgi56u
Mar 31, 2026
Merged

In test_ptr_try_cast_into_soundness, skip u128/i128#3178
joshlf merged 1 commit into
mainfrom
G6ytk3lhfbvylhux6xf5jzx3rzscgi56u

Conversation

@joshlf

@joshlf joshlf commented Mar 31, 2026

Copy link
Copy Markdown
Member

These account for the majority of the time to execute this set of tests
under Miri, which in turn accounts for the majority of the time to
execute all tests in the merge queue. Worse, they often represent a
significant long tail which cannot be parallelized (in other words, most
time spent executing Miri tests – even on our current, 64-core runners
– is spent after all other test cases have completed and the u128
and i128 cases are the only ones remaining, leaving all but 2 cores
idle).

Compre [1] (manually triggered based on the content of the parent
commit), which took 28m46s with 12m4s for the "Build Docker image" step
(which runs before the matrix) with [2] (manually triggered based on the
content of this commit), which took 17m59s with 8m38s for the "Build
Docker image" step. This is a savings of:

(28m46s - 12m4s) - (17m59s - 8m38s) = 7m21s

[1] https://github.com/google/zerocopy/actions/runs/23779309303
[2] https://github.com/google/zerocopy/actions/runs/23780205408


Latest Update: v4 — Compare vs v3

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v3 v2 v1 Base
v4 vs v3 vs v2 vs v1 vs Base
v3 vs v2 vs v1 vs Base
v2 vs v1 vs Base
v1 vs Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/G6ytk3lhfbvylhux6xf5jzx3rzscgi56u && git checkout -b pr-G6ytk3lhfbvylhux6xf5jzx3rzscgi56u FETCH_HEAD

Checkout

git fetch origin refs/heads/G6ytk3lhfbvylhux6xf5jzx3rzscgi56u && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/G6ytk3lhfbvylhux6xf5jzx3rzscgi56u && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/G6ytk3lhfbvylhux6xf5jzx3rzscgi56u

Stacked PRs enabled by GHerrit.

@codecov-commenter

codecov-commenter commented Mar 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (0f1faf9) to head (1de3831).

Additional details and impacted files
@@                        Coverage Diff                         @@
##           G3rwwdyu7l7jtpdzzu2rjltonfg52yu3b    #3178   +/-   ##
==================================================================
  Coverage                              91.85%   91.85%           
==================================================================
  Files                                     20       20           
  Lines                                   6067     6067           
==================================================================
  Hits                                    5573     5573           
  Misses                                   494      494           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf joshlf force-pushed the G6ytk3lhfbvylhux6xf5jzx3rzscgi56u branch 2 times, most recently from 8ca6768 to 1de3831 Compare March 31, 2026 05:01
@joshlf joshlf requested a review from jswrenn March 31, 2026 05:01
Base automatically changed from G3rwwdyu7l7jtpdzzu2rjltonfg52yu3b to main March 31, 2026 14:48
These account for the majority of the time to execute this set of tests
under Miri, which in turn accounts for the majority of the time to
execute all tests in the merge queue. Worse, they often represent a
significant long tail which cannot be parallelized (in other words, most
time spent executing Miri tests – even on our current, 64-core runners
– is spent after all *other* test cases have completed and the `u128`
and `i128` cases are the only ones remaining, leaving all but 2 cores
idle).

Compre [1] (manually triggered based on the content of the parent
commit), which took 28m46s with 12m4s for the "Build Docker image" step
(which runs before the matrix) with [2] (manually triggered based on the
content of this commit), which took 17m59s with 8m38s for the "Build
Docker image" step. This is a savings of:

  (28m46s - 12m4s) - (17m59s - 8m38s) = 7m21s

[1] https://github.com/google/zerocopy/actions/runs/23779309303
[2] https://github.com/google/zerocopy/actions/runs/23780205408

gherrit-pr-id: G6ytk3lhfbvylhux6xf5jzx3rzscgi56u
@joshlf joshlf force-pushed the G6ytk3lhfbvylhux6xf5jzx3rzscgi56u branch from 1de3831 to b298c8a Compare March 31, 2026 14:51
@joshlf joshlf enabled auto-merge March 31, 2026 14:51
@joshlf joshlf added this pull request to the merge queue Mar 31, 2026
Merged via the queue into main with commit c871fac Mar 31, 2026
111 checks passed
@joshlf joshlf deleted the G6ytk3lhfbvylhux6xf5jzx3rzscgi56u branch March 31, 2026 15:24
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.

3 participants