question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Console logged URI's in internal builds are hard to use

See original GitHub issue

Migrated from https://github.com/dotnet/core-eng/issues/15366

@ChadNedzlek wrote:

Split from https://github.com/dotnet/core-eng/issues/15335

We found some usability issues while working through problems in the https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/pullrequest/20208 pull request. (Background note: Tests are enabled in internal verification builds of PRs like this.)

Taking https://dev.azure.com/dnceng/internal/_build/results?buildId=1551770&view=results as an example:

  1. The Artifacts tab for any failed work item in for example Pipelines - Run 20220113.15 (azure.com) is empty. I’m not sure if the problem is permissions (this is an internal PR after all), core dumps flooding the system, or something else.
  2. Console logs don’t exist at all when the Python code fails before opening a console. This makes the failure links in the build step 404.
  3. Separately and someone less annoyingly (since pasting a token is required anyhow), navigating from the work item list provided in the build step logs to a specific details URI means adding &access_token={token} instead of changing {Get to your token.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
dougbucommented, Aug 26, 2022

@dougbu, you good with us removing these URIs and replacing it with that direction?

Yup, this works for me. Less links, less confusion 😄

1reaction
ChadNedzlekcommented, Apr 27, 2022

I don’t like the console logged URI’s at all. They are a lame way to get at what the artfiacts tab is much better at showing you. Honestly the error should just be “your tests failed, go to the artifacts tab to see details”

Read more comments on GitHub >

github_iconTop Results From Across the Web

console.log(result) prints [object Object]. How do I get result ...
Use console.log(JSON.stringify(result)) to get the JSON in a string ... then (you are checking for success inside the error condition!)
Read more >
Using OAuth 2.0 for Web Server Applications | Authorization
This document explains how web server applications use Google API Client ... The redirect URIs are the endpoints to which the OAuth 2.0...
Read more >
Setting up OAuth 2.0 - Google Cloud Platform Console Help
To create an OAuth 2.0 client ID in the console: Go to the Google Cloud Platform Console.
Read more >
Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
Configure Default Login Routes
Learn how to configure your tenant's and application's default login routes. ... You can configure these URIs with the Dashboard in Application Settings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found