Skip to content
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

kernel connection list #3810

Merged
merged 17 commits into from
Feb 11, 2025
Merged

Conversation

jonsequitur
Copy link
Contributor

@jonsequitur jonsequitur commented Jan 18, 2025

@jonsequitur jonsequitur force-pushed the MRU-for-cell-kernel-chooser branch from 57a318a to c524414 Compare January 18, 2025 02:33
@jonsequitur jonsequitur force-pushed the MRU-for-cell-kernel-chooser branch 2 times, most recently from d88eaa3 to 0e81279 Compare January 28, 2025 01:08
@jonsequitur jonsequitur reopened this Jan 28, 2025
@jonsequitur jonsequitur force-pushed the MRU-for-cell-kernel-chooser branch from 8662791 to 5b970f4 Compare January 28, 2025 16:44
@jonsequitur jonsequitur marked this pull request as ready for review February 7, 2025 21:18
@@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\dotnet-interactive\Pocket\Format.CustomizeLogString.cs" Link="Pocket\Format.CustomizeLogString.cs" />
<Compile Include="..\dotnet-interactive\(Pocket)\Logger\Format.CustomizeLogString.cs" Link="Pocket\Format.CustomizeLogString.cs" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Brackets in the path are interesting, did something prompt us to make that change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This colocates this PocketLogger customization file with the actual (virtual) location PocketLogger files in the solution explorer.

_defaultTypeFormatters.PushRange(JsonFormatter.DefaultFormatters.Reverse().ToArray());
_defaultTypeFormatters.PushRange(PlainTextSummaryFormatter.DefaultFormatters.Reverse().ToArray());
_defaultTypeFormatters.PushRange(PlainTextFormatter.DefaultFormatters.Reverse().ToArray());
// FIX: (ResetToDefault) remove cast. (This is working around a VS preview bug.)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we link to it by any chance?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't have a bug number for it and am still looking for a stable repro.

codeExpansion);
}

_checkedKernelSpecs = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

For another iteration, we touched on this in our offline walkthrough of the PR, it would be nice to have a means of refreshing this cache based on a counter.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refreshing it in-process is less interesting than adding a cache's longer-lived than the process but that's for another day.

? { transientOutputs: true, transientDocumentMetadata: { custom: true }, transientCellMetadata: { custom: true } }
: {};
// FIX: does this solve incorrect dirty state?
? {
Copy link
Contributor

Choose a reason for hiding this comment

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

Weird, I'm not seeing any difference between these two conditions. Is this temporary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They're the same. This was an attempt to see if this code does anything at all or is implicated in a bug I'm investigating.

@jonsequitur jonsequitur enabled auto-merge (squash) February 11, 2025 00:45
@jonsequitur jonsequitur disabled auto-merge February 11, 2025 01:46
@jonsequitur jonsequitur force-pushed the MRU-for-cell-kernel-chooser branch from 0139ea2 to 393ea23 Compare February 11, 2025 16:36
@jonsequitur jonsequitur merged commit d4661d1 into dotnet:main Feb 11, 2025
4 checks passed
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