When spawning bashInteractive
for nix develop
, print what we are executing at verbose/debug level #973
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#973
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When debugging shell hooks, it would be really helpful to know to exclude nix failures that we actually invoked bash for sure and with which arguments. I think we might have a ticket to log all execves that we do, but, that's evergreen.
verbose/debug is kind of a bad take here. debug is definitely too full of shit to be useful for this purpose, and simply verbose may be too broad as well? wouldn't it be nice if we could have something like log topics instead of a single, fixed level. wouldn't that be nice. i'm sure we can do th...oh no, right, we can't, because everything goes into the dumbass wire protocol at some fucking point
@pennae wrote in #973 (comment):
isn't the dumbass wire protocol presently transferring json though? couldn't we add a field? anyway, i thought there was one level less spam than debug that might be appropriate but even having this in debug is helpful and it can be revised later.
it is transferring json for messages, but an integer for the log level. implementing topics on this is possible, but requires setting the level to the most verbose topic in the set and filter on the client, which is very bad for performance and liable to flood daemon syslog with message we don't care about if that level is debug or vomit
nix develop -v
prints only a fetcher line,-vv
shows basic eval info too,-vvv
is already debug. i guess you're right and we could stick it into-vv
without ill effectsThis issue was mentioned on Gerrit on the following CLs: