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.

Long key gets truncated in the UI

See original GitHub issue

My workflow tries to improve cache coherence by using hierarchical keys, consisting of a fixed prefix followed by two hashes from differently variable file sources. This results in a long primary key, but then the key appears to be effectively truncated accordingly to a log message, like in this run:

  with:
    path: ~/.cargo/registry
    key: Linux-cargo-registry-v1-2ac2a43cb7f80b945a11345b0eb9f4ff41596ba78129ad7cb130f7023f302239-91eba4bcc27b55c7ecf9bef264ba33101e7c0f7a4eb56f1f676a8e4f4da54f45
    restore-keys: Linux-cargo-registry-v1-2ac2a43cb7f80b945a11345b0eb9f4ff41596ba78129ad7cb130f7023f302239-
  Linux-cargo-registry-v1-
  
  env:
    GIT_AUTHOR_NAME: GitHub CI
    GIT_AUTHOR_EMAIL: [redacted]@users.noreply.github.com
    GIT_COMMITTER_NAME: GitHub CI
    GIT_COMMITTER_EMAIL: [redacted]@users.noreply.github.com
Cache Size: ~122 MB (128144670 B)
/bin/tar -xz -f /home/runner/work/_temp/49b4284a-c2a3-42ae-8448-a3a1e9cc9ed2/cache.tgz -C /home/runner/.cargo/registry
Cache restored from key: Linux-cargo-registry-

Perhaps some script unwittingly applies pretty printing with word wrapping to a YAML file somewhere?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gimenetecommented, May 15, 2020

Ok, found the issue. A fix is done, pending of being deployed.

0reactions
mzabaluevcommented, May 15, 2020

Long keys are displayed correctly now, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Guidelines for Truncation Design – Articles - Baymard Institute
With the values of each filter truncated, it's possible for the user to get a complete overview of all the available filtering types....
Read more >
Text inside a VStack truncates when it's not supposed to in ...
I'm trying to create a simple stack of Text inside a VStack , and no matter what I do, the text will truncate...
Read more >
Log messages truncated by the UI · Issue #148 - GitHub
Log messages in the UI are truncated, and there is no scroll bar to view the portion not contained in the box. Steps...
Read more >
Log message is truncated - New Relic Documentation
Solution ; Parse long messages. Parse your log message into shorter key/value pairs. A common example is a single log line from an...
Read more >
Should a username be truncated? - UX Stack Exchange
If at all possible, you should avoid truncating a unique name. Restricting usernames to a maximum length is one way of dealing with...
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