Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
detect_flake
Advanced tools
Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky
Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky.
See the GitHub Releases for installation scripts and pre-built binaries.
You can also use one of the following package managers.
cargo install detect_flake
npm install detect_flake
brew install aqrln/homebrew-tap/detect_flake
nix profile install github:aqrln/detect_flake
(or run it right away without installing with nix run github:aqrln/detect_flake -- <ARGUMENTS>
)
detect_flake [FLAGS] [OPTIONS] --command <command>
Flags:
-h, --help
— Prints help information-V, --version
— Prints version information-i, --inherit-stdio
— Inherit stdio instead of redirecting to /dev/null
-p, --print-failing-output
— Print the stdout and stderr of unsuccessful runs only-e, --exit-early-on-error
— Exit early the first time the command returns a non-zero error codeOptions:
-c, --command <command>
— Command to run-r, --runs-per-thread <runs-per-thread>
— Number of serial runs per each thread [default: 100]-t, --threads <threads>
— Number of parallel threads [default: 10]Version 0.6.0 (2024-01-23)
Commits: https://github.com/aqrln/detect_flake/compare/v0.5.7...v0.6.0
Proper parser for command arguments which mimics the POSIX shell. You can now use commands with arguments that contain spaces by wrapping them in quotes:
detect_flake -c 'echo "hello world"'
Conversely, if you relied on quotes used in the commands verbatim, they may now need to be escaped using backslashes.
Retroactively added the changelog since the past few versions which will now be maintained for all future releases.
FAQs
Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky
The npm package detect_flake receives a total of 2 weekly downloads. As such, detect_flake popularity was classified as not popular.
We found that detect_flake demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.