-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Code cleanup: bulk removal of deprecated workflow code #10223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code cleanup: bulk removal of deprecated workflow code #10223
Conversation
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
src/System.Management.Automation/engine/ArgumentTypeConverterAttribute.cs
Show resolved
Hide resolved
@KirkMunro We have a conclusion to do not remove |
I'm confused @iSazonov, because that seems to contradict what was said in #9570, where the discussion suggests removing them entirely, unless I read it wrong. In that discussion, @SteveL-MSFT said the following:
Also there is a difference between the As for foreach and |
Also @iSazonov, I did see your comment about the |
@PaulHigin When I saw you log the issue about job debugging, I looked into it because I was curious, and based on my assessment I don't believe that issue has anything to do with removal of workflow functionality. |
Also I should call out that a lot of the changes here are just in code comments. There are code changes, sure, but there are a lot of changes in just code comments as well, bulking this up. |
… startup (PowerShell#10294) * mark _readyForInputTimeInMS member as part of LEGACYTELEMETRY * move _interactiveCommandCount to LEGACYTELEMETRY
@PowerShell/powershell-committee reviewed this:
Ask is to split this into smaller pieces that can be reviewed more completely to minimize any risk of regression. |
…ithub.com/KirkMunro/PowerShell into partial-removal-of-workflow-specific-code
Ok, I'll break it up into chunks. Also, ignore the most recent change that I just pushed. I just tried something with rebase that I shouldn't have, need to roll that back. |
PR Summary
Cleanup of workflow code that has been deprecated. In particular:
workflow
keywordparallel
keyword (used for parallel activities in workflow)sequence
keyword (used for sequential activities in workflow)inlinescript
activity (used for activities outside of workflow)-parallel
parameter onforeach
statement-parallel
parameter onswitch
statementThis PR is not exhaustive -- there are still many more references to workflow, particularly in the following files:
Also the following files have a few more references to workflow that I wasn't sure what to do with:
Comments on those four files and whether or not their references to workflow can be removed would be appreciated.
Beyond those, there will be very few references to workflow, mostly indicating that it's deprecated.
PR Context
See issue #9570.
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.cc: @iSazonov