Skip to content

added more logging for completion to track some test failures where c…#25801

Merged
heejaechang merged 1 commit intodotnet:dev15.7.xfrom
heejaechang:completionLogging
Mar 30, 2018
Merged

added more logging for completion to track some test failures where c…#25801
heejaechang merged 1 commit intodotnet:dev15.7.xfrom
heejaechang:completionLogging

Conversation

@heejaechang
Copy link
Copy Markdown
Contributor

…ompletion doesn't show up when it should have.

all these logging is No-op without logging enabled. and they are not enabled in product. only in test.

Customer scenario

This is test only change. this change doesn't do anything in product without test logging enabled.

Bugs this fixes

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/587964?src=alerts&src-action=summary_id_link

Workarounds, if any

no workaround

Risk

It doesn't do anything in production.

Performance impact

No impact

Is this a regression from a previous update?

No

Root cause analysis

DDRIT tests are sometimes failing because it expects completion set but it doesn't show up. right now, we only knows that whether it showed up or not, but no info on what happened internally. this should let us to have better idea on whether we even got the request, if we got the request, whether we reached the end and showed completion set or bailed out before that.

How was the bug found?

DDRIT

…ompletion doesn't show up when it should have.

all these logging is No-op without logging enabled. and they are not enabled in product. only in test.
@heejaechang heejaechang requested a review from a team as a code owner March 29, 2018 00:32
{
AssertIsForeground();

Logger.Log(FunctionId.Completion_ExecuteCommand_TypeChar, a => a.TypedChar.ToString(), args);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@olegtk: does this exist in the core editor? If not, can it be? 😄

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do you mean the Logger? No, but it would be awesome to have. Please file a bug.

@heejaechang
Copy link
Copy Markdown
Contributor Author

@heejaechang
Copy link
Copy Markdown
Contributor Author

retest windows_debug_unit64_prtest please

@heejaechang
Copy link
Copy Markdown
Contributor Author

ping? @dpoeschl @jinujoseph can you take a look?

@heejaechang
Copy link
Copy Markdown
Contributor Author

@Pilchie can I get approval for 15.7?

@Pilchie
Copy link
Copy Markdown
Member

Pilchie commented Mar 30, 2018

Approved - thanks!

@heejaechang heejaechang merged commit cb01cd3 into dotnet:dev15.7.x Mar 30, 2018
333fred added a commit to 333fred/roslyn that referenced this pull request Mar 30, 2018
* dotnet/dev15.7.x:
  Foreach to For refactoring (dotnet#25460)
  added more logging for completion to track some test failures where completion doesn't show up when it should have. (dotnet#25801)
  Add suggested stackalloc initializer tests (dotnet#25656)
  Addressed PR feedback.
  [SQLite] Fix continuous probing for sqlite
  Add missing file, update test for clearer output.
  Addressed PR feedback, updated ILocalFunctionOperation to final design specified in review.
  Added both ExpressionBody and BlockBody to the underlying BoundNode for local functions, and exposed both to IOperation consumers.
  Update PATH to our xcopy CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants