Skip to content

Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-6.final to 4.0.1#16423

Merged
TravisEz13 merged 2 commits intomasterfrom
dependabot/nuget/Microsoft.CodeAnalysis.CSharp-4.0.1
Nov 11, 2021
Merged

Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-6.final to 4.0.1#16423
TravisEz13 merged 2 commits intomasterfrom
dependabot/nuget/Microsoft.CodeAnalysis.CSharp-4.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 10, 2021

Bumps Microsoft.CodeAnalysis.CSharp from 4.0.0-6.final to 4.0.1.

Release notes

Sourced from Microsoft.CodeAnalysis.CSharp's releases.

.NET 5.0.4

Release

.NET 5.0.2

Release Notes Install Instructions

Repos

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 4.0.0-6.final to 4.0.1.
- [Release notes](https://github.com/dotnet/roslyn/releases)
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md)
- [Commits](https://github.com/dotnet/roslyn/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 10, 2021
@ghost ghost assigned anmenaga Nov 10, 2021
@iSazonov
Copy link
Copy Markdown
Collaborator

@TravisEz13 Will we get cgmanifest error always in such PRs?

@TravisEz13
Copy link
Copy Markdown
Member

@iSazonov yes, cgmanifest will need to be update for all of these PRs. there is a file in the Action you can use to update the branch.

@pull-request-quantifier-deprecated
Copy link
Copy Markdown

This PR has 6 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

Label      : Extra Small
Size       : +3 -3
Percentile : 2.4%

Total files changed: 2

Change summary by file extension:
.json : +2 -2
.csproj : +1 -1

Change counts above are quantified counts, based on the PullRequestQuantifier customizations.

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a
balance between between PR complexity and PR review overhead. PRs within the
optimal size (typical small, or medium sized PRs) mean:

  • Fast and predictable releases to production:
    • Optimal size changes are more likely to be reviewed faster with fewer
      iterations.
    • Similarity in low PR complexity drives similar review times.
  • Review quality is likely higher as complexity is lower:
    • Bugs are more likely to be detected.
    • Code inconsistencies are more likely to be detetcted.
  • Knowledge sharing is improved within the participants:
    • Small portions can be assimilated better.
  • Better engineering practices are exercised:
    • Solving big problems by dividing them in well contained, smaller problems.
    • Exercising separation of concerns within the code changes.

What can I do to optimize my changes

  • Use the PullRequestQuantifier to quantify your PR accurately
    • Create a context profile for your repo using the context generator
    • Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the Excluded section from your prquantifier.yaml context profile.
    • Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your prquantifier.yaml context profile.
    • Only use the labels that matter to you, see context specification to customize your prquantifier.yaml context profile.
  • Change your engineering behaviors
    • For PRs that fall outside of the desired spectrum, review the details and check if:
      • Your PR could be split in smaller, self-contained PRs instead
      • Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).

How to interpret the change counts in git diff output

  • One line was added: +1 -0
  • One line was deleted: +0 -1
  • One line was modified: +1 -1 (git diff doesn't know about modified, it will
    interpret that line like one addition plus one deletion)
  • Change percentiles: Change characteristics (addition, deletion, modification)
    of this PR in relation to all other PRs within the repository.


Was this comment helpful? 👍  :ok_hand:  :thumbsdown: (Email)
Customize PullRequestQuantifier for this repository.

@TravisEz13
Copy link
Copy Markdown
Member

Perhaps we can create a new action that updates both together ...

@iSazonov
Copy link
Copy Markdown
Collaborator

iSazonov commented Nov 11, 2021

@iSazonov yes, cgmanifest will need to be update for all of these PRs. there is a file in the Action you can use to update the branch.

Thanks for clarify!

If we already have daily cgmanifest update why do we need this in every PR? Specially PRs such this don't add new entities, they only update minor version number.
While .Net is in a preview we will get a lot of such PRs. I think makes sense to automate or change the workflow.

@TravisEz13
Copy link
Copy Markdown
Member

@iSazonov the cgmanifest should always be up to date. We don't have a daily update as that would mean there would be a time that it is out of sync with the code.

I'm saying we disable dependabot, run dotnet-outdated to update all package references and then run the script to update cgmanifest and submit a PR if there are any changes. replacing dependabot, not this GitHub Action.

@TravisEz13 TravisEz13 merged commit 7dc4587 into master Nov 11, 2021
@TravisEz13 TravisEz13 deleted the dependabot/nuget/Microsoft.CodeAnalysis.CSharp-4.0.1 branch November 11, 2021 19:59
@TravisEz13
Copy link
Copy Markdown
Member

TravisEz13 commented Nov 11, 2021

We could probably update or add a GH action that updates the PR based on a comment in the PR with the correct cgmanifest. I think this might be better as we don't have to re-invent dependabot.

I'm on vacation, the rebase triggers a comment. there is a -fix on the script to check the cgmanifest, and the daily workflow has the code to submit a PR.

TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull request Nov 11, 2021
…Shell#16423)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
@iSazonov
Copy link
Copy Markdown
Collaborator

I don't understand why should we update the cgmanifest with every commit? Daily action can do this work and keep the manifest file up-to-date.
I don't see the process being so strong in other repositories.
Or if MSFT team want to be so strong we could remove the step from anywhere and create GH Action triggered by new merged commit.

@TravisEz13
Copy link
Copy Markdown
Member

As far as I know, we are the only repo that must use CG manifest in place of detection. It is a false comparison. We can update at the end of the day, but it will mean that are releases will be delayed by two days. We need to identify problems with the notice file as soon as possible before the release as to not delay the release.

we update the cgmanifest with every commit
Only commits that modify the packages used by the product. If a package was added and not just a version change, this requires human review to determine if the dependency is a development dependency like StyleCop.
You are taking a small sub-set of PRs and acting like

Or if MSFT team wants to be so strong we could remove the step from anywhere and create GH Action triggered by new merged commit.
Who would be responsible for the PRs generated by the action? And this still means for some time after the PR that the code would not be correct. I'm sorry but it needs to be correct with the PR.

I'm sorry but we have one case where this is a significant issue, dependabot, that can be dealt with separately.

@ghost
Copy link
Copy Markdown

ghost commented Dec 16, 2021

🎉v7.3.0-preview.1 has been released which incorporates this pull request.:tada:

Handy links:

TrapGodBrim pushed a commit to TrapGodBrim/PowerShell that referenced this pull request Jan 19, 2022
…Shell#16423)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log Extra Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants