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.

First Run Message and LZMA Cache Expansion are intertwined.

See original GitHub issue

Steps to reproduce

  1. Download a CLI drop
  2. Delete the .lzma archive that comes in the drop.
  3. Run dotnet help
  4. Run dotnet help

Expected behavior

The first invocation of dotnet help prints the first run message, the second does not.

Actual behavior

Both commands print the first run goop. I think this is because the cache priming does not happen (since the LZMA file is missing) and so we never write the sentinel file (and so stuff in DotnetFirstTimeUseConfigurer thinks it always needs to write messages)

Environment data

dotnet --info output:

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
livarcocccommented, Mar 27, 2018

By the way, these are now separated. The cache expansion sentinel and the first run message sentinel.

0reactions
livarcocccommented, Mar 1, 2017

@ericstj A failure is not blocking. Has never been blocking, however, we will display the message and attempt to prime the cache over and over again until we succeed. The idea of not having an lzma archive present is new and we need to deal/think through it and make the appropriate changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm_time_machine - crates.io: Rust Package Registry
Utility to move package.json through the time. Pin and upgrade your project in chunks!
Read more >
inexor-rgf-model-flow - crates.io: Rust Package Registry
A graph organizes highly interconnected data. The state of an Entity Component System can be ideally represented with the help of the graph....
Read more >
Real-Time Lossless Compression of SoC Trace Data
In 1977, the first dictionary based compression algorithm LZ77 was published by Abraham Lempel and Jacob Ziv [8]. Typically, LZ77 uses a sliding...
Read more >
Intel SGX Explained
At the same time, caches transparently accelerate DRAM requests, and are mostly invisible to software. Intel computers have multiple logical processors. As.
Read more >
CompTIA JK0-019 CompTIA E2C Network + Certification ...
Spanning tree. Answer: C. CompTIA JK0-019 Exam. "Pass Any Exam. Any Time." - www.actualtests.com. 3. Page 4. Explanation: A VLAN is a group...
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