Skip to content

Comments

msvc: passthrough argument -Qpar-#1834

Merged
sylvestre merged 1 commit intomozilla:mainfrom
AudranDoublet:feature/msvc/support-qpar-
Apr 30, 2024
Merged

msvc: passthrough argument -Qpar-#1834
sylvestre merged 1 commit intomozilla:mainfrom
AudranDoublet:feature/msvc/support-qpar-

Conversation

@AudranDoublet
Copy link
Contributor

/Qpar- is set by MsBuild when EnableParallelCodeGeneration is explicitly set to false.

Current code is considering it as a file name, thus the command is considered as non-cacheable (multiple input file).

@codecov-commenter
Copy link

codecov-commenter commented Sep 7, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (458b0af) 30.81% compared to head (8709030) 30.87%.

Files Patch % Lines
src/compiler/msvc.rs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1834      +/-   ##
==========================================
+ Coverage   30.81%   30.87%   +0.05%     
==========================================
  Files          53       53              
  Lines       20014    20014              
  Branches     9700     9700              
==========================================
+ Hits         6168     6179      +11     
+ Misses       7926     7923       -3     
+ Partials     5920     5912       -8     

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

@sylvestre sylvestre force-pushed the feature/msvc/support-qpar- branch from e8213e8 to ce07fbb Compare November 3, 2023 08:09
@sylvestre sylvestre force-pushed the feature/msvc/support-qpar- branch from ce07fbb to 8709030 Compare February 22, 2024 07:52
@sylvestre
Copy link
Collaborator

Could you please add a test ? thanks

@AJIOB
Copy link
Contributor

AJIOB commented Mar 14, 2024

Hi, @sylvestre
As I can see, @AudranDoublet has already added the pass-through test.

Or you want anything else?

@AJIOB
Copy link
Contributor

AJIOB commented Mar 23, 2024

Hi @Xuanwo.

Looks like the PR is ready, isn't it?

@sylvestre sylvestre merged commit 4e79d9e into mozilla:main Apr 30, 2024
tottoto pushed a commit to tottoto/sccache that referenced this pull request Feb 6, 2026
There is a bug such that if the client sends a response with a header
value that exceeds the max_header_list_size, then RPCs just hang
(mozilla#1834). When tonic upgraded to hyper 1, it picked up [hyper#3622] which
changed the default from 16MiB to 16KiB for this configuration value.
Error messages in gRPC use headers. That means that services which ever
sent error messages in excess of 16KiB (including in their error
details!) will just hang.

This commit adds the ability for the client to configure this value to
something larger (perhaps the old default of 16MiB) to mitigate the
above-referenced bug.

[hyper#3622]: hyperium/hyper#3622
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.

4 participants