Skip to content

Conversation

@TylerLeonhardt
Copy link
Member

PR Summary

In #8923 I forgot to add this to the module manifest for Utility for Windows. This PR adds it.

I should probably speak to @daxian-dbw about how we can verify experimental features exist before proceeding (which would have caught this issue)... but I'm going to call that out of scope unless @daxian-dbw thinks it's trivial to add.

PR Context

Without this, the Experimental Feature does not show up.

PR Checklist

@daxian-dbw daxian-dbw self-assigned this Jun 17, 2019
@daxian-dbw
Copy link
Member

Close and reopen the PR to force Windows CI build working properly.

@daxian-dbw daxian-dbw closed this Jun 17, 2019
@daxian-dbw daxian-dbw reopened this Jun 17, 2019
@KirkMunro
Copy link
Contributor

@TylerLeonhardt I added some feedback to the other PR since it was merged. See here for the first of two comments: #8923 (comment). Can you review and share your thoughts on that?

Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. It turns out I didn't submit my review ...

ExperimentalFeatures = @(
@{
Name = 'Microsoft.PowerShell.Utility.PSDebugRunspaceWithBreakpoints'
Description = "Enables the New-PSBreakpoint cmdlet and the -Breakpoint parameter on Debug-Runspace to set breakpoints in another Runspace upfront."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New-PSBreakpoint is an experimental feature, then it should be exposed only if the feature is turned on, right?
If that's true, then the CmdletsToExport should be conditional based on $EnabledExperimentalFeatures -contains 'Microsoft.PowerShell.Utility.PSDebugRunspaceWithBreakpoints'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a side question, do we really need this to be an experimental feature? What's the thoughts on putting it behind experimental flag? (design may be change? might cause regression?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daxian-dbw: I'm glad it is listed as experimental, because there are some challenges with the design. See: #8923 (comment).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, the New-PSBreakpoint cmdlet has been removed in a PR that should be submitted today. I've also removed the experimental feature flag, because I think it is not needed anymore. We can work out details in that PR, and I'll happily add back the experimental feature flag (fully, including what was missed the first time) if necessary. This PR can probably be closed once I have that PR open, so I'll comment back here soon.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also removed the experimental feature flag, because I think it is not needed anymore.

The experimental feature flag is still needed. That will be my first piece of feedback.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But you haven't even seen the code... 😛

@daxian-dbw
Copy link
Member

@TylerLeonhardt Can you please address this comment: #9907 (comment) when you have time? Thanks

@TylerLeonhardt
Copy link
Member Author

@daxian-dbw since @KirkMunro is close to submitting a PR that replaces this, we can just close this PR when that is out.

@KirkMunro
Copy link
Contributor

Here is the PR that supercedes this: #10189. It uses experimental flags for cmdlet parameter additions. If an RFC is necessary to accompany that PR, let me know.

@TylerLeonhardt
Copy link
Member Author

Thanks Kirk!

@TravisEz13 TravisEz13 added Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept and removed Review - Waiting on Author labels May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants