Repository navigation
small improvements - #369
Merged
Merged
Conversation
prusnak
commented
Dec 1, 2026
Contributor
- lncli, torify: exec the wrapped commands
- chore: remove unused Nix bindings and build dependencies
Replace the lncli wrapper shell with the user-switching command and the torify wrapper shell with Tor’s torify script. This keeps the wrapper PID when handing off, so signals sent to it reach the invoked command. Assisted-by: OpenAI Codex (GPT-6)
Remove unused bindings and function arguments across modules, package helpers, tests and deployment examples. Mark unused positional arguments with underscores and simplify modules that need no arguments to attribute sets. Remove makeWrapper from fetchNodeModules and limit mempool's makeWrapper dependency to the backend, where it is used. The shared mempool builder combines package-specific build inputs with the common Node.js and rsync inputs. Validated nix flake check --all-systems, shellcheck, the mempool frontend build and affected scenario evaluations in aarch64-linux Docker. VM integration tests were not run because KVM is unavailable. Assisted-by: OpenAI Codex (GPT-6)
Contributor
|
Reviewed head No actionable findings. I checked the removed bindings and module arguments against their callers, the Validation on
VM integration tests were not run locally. GitHub CI is still in progress, with no failures reported at the time of this review. |
seberm
added a commit
that referenced
this pull request
Dec 1, 2026
Add a nix-lint flake check that fails on unused bindings and arguments (deadnix) and on statix lints. The existing check_flake CI job runs it through `nix flake check`, so ci_gate is unchanged. Both linters are in `nix develop`. statix.toml disables repeated_keys, because splitting options across several `services.x = …;` assignments is idiomatic in NixOS modules. Fix the current findings, mostly statix autofixes. fetchNodeModules now passes its runScripts and npmFlags defaults to the derivation; the build is unchanged. Intentionally unused bindings are marked `# deadnix: skip`. All test scenarios evaluate to the same systems as before. Follow-up to #369
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.