Repository navigation
chore(deps): update dependency fallow to v3.51.0 - #1012
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1012 +/- ##
=======================================
Coverage 95.07% 95.07%
=======================================
Files 10 10
Lines 751 751
Branches 235 235
=======================================
Hits 714 714
Misses 34 34
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/fallow-3.x-lockfile
branch
from
November 27, 2026 02:59
4c308a5 to
473a50c
Compare
renovate
Bot
force-pushed
the
renovate/fallow-3.x-lockfile
branch
from
November 29, 2026 13:21
473a50c to
38a7027
Compare
renovate
Bot
force-pushed
the
renovate/fallow-3.x-lockfile
branch
from
November 30, 2026 18:00
38a7027 to
4676652
Compare
renovate
Bot
force-pushed
the
renovate/fallow-3.x-lockfile
branch
from
December 2, 2026 13:15
4676652 to
f597423
Compare
renovate
Bot
force-pushed
the
renovate/fallow-3.x-lockfile
branch
from
December 4, 2026 06:20
f597423 to
3aaac03
Compare
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
3.46.0→3.51.0Release Notes
fallow-rs/fallow (fallow)
v3.51.0Compare Source
Added
A workspace package that looks published gets a
publicPackageshint. A package looks published when itspackage.jsonis not"private": trueand has anexports,mainormodulefield. WhenpublicPackagesdoes not list such a package and its entry publishes exports or members with findings,workspace_diagnostics[]gets apublic-package-candidateentry. The entry names the package and the number of these findings, and it says to add the package topublicPackagesif the project publishes it. Human output prints one note, Markdown output has a section, and SARIF has a configuration notification. A--workspacerun shows only the hints of the selected packages, and a--changed-since, diff or--filerun shows none. The entry changes no finding, no count and no gate. (#5335)fallow mutationreports the worker mode of the mutant runs. The newrunner.worker_modesobject of the JSON report gives the number of mutant runs and their time in each mode of the Vitest companion:isolated(a new worker for each test file),shared(one new worker for all test files of the run) andreused(the kept worker process of the companion). A slow run with a highisolatedvalue now explains itself. (Refs #5423)fallow mutation --reach-selectionleaves out the dry run of each test file that cannot run a mutant. A run withonprobes each script file that a dry-run test file reaches and records indry-runs.jsonwhich functions each test file enters. A later run leaves a test file out of the dry run when its record proves that the file cannot run a mutant of the run: each file that it loaded has the same code outside function bodies, each function body that it entered is unchanged, and no mutant is in code that it ran.checkdry-runs each file and lists each mutant that a dropped file covers; a non-empty list exits 2. The config key ismutation.reachSelection, and the JSON report addscache.reach_selection. The selection is off by default. On a project where 7 test files reach a changed file through a barrel file and 1 of them runs it, the dry run after a change of a function body went from 22 seconds to 1 second, with the same verdict for each mutant.(Closes #5425)
Changed
fallow mutationdivides its dry run over the--concurrencycompanions. The dry run ran each selected test file in one companion, one file at a time. Each other companion then ran the same dry run again before its first mutant. Now each companion dry-runs a share of the files at the same time as the others, and keeps its share for the mutant runs. A worker first takes a mutant whose covering test files are all in its share. A companion that starts later dry-runs only the test files of the covering tests, not each selected file. The Vitest companion also runs its shared-worker check only on the test files with a test that hits a mutant. On a project with 7 test files, 6 of which wait 10 seconds, the dry run went from 61 seconds to 21 seconds and the mutant phase from 62 seconds to 3 seconds, with the same verdict for each mutant.(Closes #5413)
fallow mutationwith Vitest starts a restarted companion with no dry run. A companion that starts in the mutant phase or the retry phase now takes the test index of the first dry run from fallow, and runs its jobs at once. Before, each of these companions did a dry run of the test files of its jobs first, so more workers could make a run slower and use more memory. A kill or a timeout by a test that the companion took counts only after a control run of that test file with no active mutant passes in the companion. A test that fails there is a baseline failure of that companion, as before.node:testandbun testkeep the dry run.(Closes #5419)
fallow mutationruns a widely covered mutant on more than one worker. Before, one mutant ran on one worker, also when its covering tests were in many test files, and the other workers stayed idle. With Vitest, a mutant that would outlast the work of the other workers now runs in parts of whole test files on the idle workers. The survivor retry uses the same rule. The verdicts follow the rules of one run: a kill in any part decideskilled,killed_byis the killing test with the smallest test id, and the mutant issurvivedonly when each part passes.duration_msis the wall time of the mutant. The result cache key does not change.(Closes #5422)
coverage analyze --cloudkeeps the local structure on cloud rows. When Fallow Cloud sends blast-radius and importance rows without a caller graph, complexity or owners, fallow fillscaller_count,caller_count_weighted_by_traffic, the risk band,cyclomaticandowner_countfrom the local AST. The cloud importance score and reason do not change. Before, these fields read as0.coverage analyze --cloudcapssafe_to_deletewhen the local join is incomplete. When under 80% of the cloud runtime functions match the local AST, eachsafe_to_deletefinding becomesreview_requiredwith medium confidence, and the report adds thecloud_local_join_incompletewarning.(Refs fallow-rs/fallow-cloud#328)
fallow mutationreuses the dry run of each unchanged test file. A run keeps the dry-run facts of each test file indry-runs.json, next to the result cache. A later run dry-runs only the test files whose inputs changed. When no test file changed and each result is in the result cache, the run starts no dry run. The key holds the parts of the result cache key, the instrumented code of each source file that the test file reaches, the operators and the runner options. Thecacheobject of the JSON report addsdry_run_hits,dry_run_misses,dry_run_storedanddry_run_miss_reasons, the misses for each reason. A test file with a failed baseline test gets no stored facts and dry-runs in each run, but the other test files keep theirs.--no-cacheturns the dry-run cache off. On a project with 7 test files, a repeat run with no change went from 21 seconds to 1 second, with the same verdict for each mutant. On a project with 673 test files, a repeat run took 6 seconds after a first run of 500 seconds.(Closes #5424, #5482)
coverage analyze --cloudkeeps hot-path, blast-radius and importance IDs on a line move. The IDs hash the file and the function name, or thestable_idwhen the file has more than one function of that name. This is the recipe of the Fallow Cloud rows, so an edit above a function no longer gives it a new ID. Each entry also carrieslegacy_idwith the old file+line ID for a transition window. Match a stored ID againstidorlegacy_id. Cloud rows pass theirlegacy_idthrough.(Refs fallow-rs/fallow-cloud#1597)
The
fallow mutationself-check of a wide first job runs on more than one companion. Before the first mutant runs, a control run with no active mutant checks the run path with the tests of the first job. It ran on one companion, so a first job with many test files took as long as an unsplit mutant run, and the other companions stayed idle. When the tests of the first job are in the dry-run shares of more than one companion, each of these companions now checks its own tests at the same time. The parts give one result with the rules of one control run.(Closes #5444)
The blast-radius
risk_bandfollows the importer count alone.highat 20 or more importer files,mediumat 5 or more, elselow. Traffic no longer moves the band, incoverage analyze --cloudand inhealth --runtime-coverage. This is the rule of Fallow Cloud. Without--production, the local count also includes test importers, which the cloud leaves out. A cloud row without a caller count that fallow cannot fill now readsunknown, the value that the cloud sends, notlow. A strict JSON consumer must acceptunknownas arisk_bandvalue.caller_count_weighted_by_traffichas one meaning and can benull. It is the sum of the production hits in the importer files of the function, as Fallow Cloud measures it. Before, rows that fallow filled from the local AST held the own invocations times the callers. The value isnullwhen no importer file has runtime data, and in a localhealth --runtime-coveragerun, which has no measure for it. Before, a missing value read as0. A strict JSON consumer must acceptnullfor this field.(Refs fallow-rs/fallow-cloud#1642)
--changed-sinceand--baserefuse a ref that searches commit messages or names a range. A ref such asmain^{/fix}or:/fixmakes git walk the whole history, and it names no fixed commit. A range such asmain...HEADalways failed, because fallow compares the ref withHEADitself. Fallow now refuses these refs, and also a ref with nested braces, before it starts git. Use a branch, a tag, a commit SHA, or a form such asHEAD~3ormain@{upstream}.Fixed
fallow dead-codenow readsbuild.rolldownOptions.inputin a Vite config. Vite 8 names the bundler optionsrolldownOptionsand keepsrollupOptionsas an alias. Fallow read only the old name, so each file that only such an entry reaches was a falseunused-file. The Vite plugin now readsinputunder both names, inbuildand inenvironments.<name>.build, as a string, an array or an object. The Electron plugin does the same for each section of an electron-vite config.(Closes #5385)
The Vite plugin turns on when the manifest lists only
vite-plus. Vite+ runs Vite and reads the samevite.config.*. A project that listed onlyvite-plusgot no Vite plugin, so fallow did not readbuild.rollupOptions.input,build.rolldownOptions.input,environments.<name>.buildorbuild.lib.entry. Each file that only such an input reaches was a falseunused-file. Avite-plusdependency or avpscript now turns on the Vite plugin.(Closes #5386)
unresolved-importno longer reports two kinds of imports of generated files..gitignorerule ignores. The check now also tests the file names that the resolver tries: each module extension, each directory index, and the.tssource of a.jsspecifier. Thus./keys.generatedis not reported when the rule nameskeys.generated.ts.../+types/layout. The framework writes a+typesdirectory beside each route module, and fallow already skipped./+types/imports. A runtime import of+typesstays reported.unused-class-memberfollows a local wrapper of a factory. A test file often calls a factory through a local helper, for exampleconst setup = () => newMediumService(Service, options)and thenconst { ctx } = setup(); ctx.newEdits(). The rule now reads the wrapper result as the result of the call that the wrapper returns, so the reads onctxcredit the class of the factory. The wrapper must be a module-scope function that is notasyncand not a generator, with onereturnor a concise body. A callee that a parameter of the wrapper binds gives no credit. A destructured factory property also gets credit when each test of a file binds the same name again, as long as each binding destructures the same property of the same call. A parameter, an import, another declaration or an assignment of the name still stops the credit. The extraction and graph caches are rebuilt once.(Closes #5366)
--type-awarekeeps an optional hook of a library interface. A class that implements a library interface, for example theNodeViewofprosemirror-viewor theExtensionof@hocuspocus/server, often declares optional members such asignoreMutationorpriority. The library calls them, but no project file does. The type-aware pass now gives such a member the contract relationdependency-hookand the resultcontract-preserved, so the finding goes away. An optional member of a project interface keeps theoptional-contractabstention. The type-aware wire protocol moves to version 11, so install the companion of this Fallow version withfallow type-aware setupor from npm.fallow mutationsuggests a--setup-timeoutvalue that is longer than the value that failed. After a setup timeout, the hint always said "for example 5m", including when the timeout was already 5m or 15m. Now the example is two times the value that failed, with a minimum of 5m. For example, a 5m timeout gives10m, and a 15m timeout gives30m. The hint of a self-check that timed out uses the same rule, and it starts from the job timeout when that is longer than the setup timeout.(Closes #5389)
fallow mutationwith Vitest no longer counts a__tests__helper as a test file. A file below__tests__is now a test file only when its name has a test marker, or when a test pattern of a runner selects it: a configured Vitestinclude, a Jest or tap default, or a file that anode --testscript names. Before, a helper with atest-ortest.prefix, or a helper that no module imports, counted as a test file. Vitest did not run it, so each run waspartialwithtest-files-not-discovered.(Closes #5391)
invalid-client-exportreports only App Router entry files. Next.js checks the exports of a"use client"module only in apage,layoutorroutefile with a default page extension (.js,.jsx,.ts,.tsx) belowapp/orsrc/app/. Another client module, for example apage-client.tsxthat apage.tsximports, can exportdynamicormetadata, and the build accepts it. A route HTTP method name (GET,POST, ...) is reported only in aroutefile, and a Pages Router file is not reported.(Closes #5405)
unused-component-emitno longer reports anupdate:<key>event that a VueUse model ref emits.useVModel(props, key)returns a ref whose setter emitsupdate:<key>through the component instance, also without anemitargument.useVModels(props)returns one such ref for each prop. A write of the ref in the script (ref.value = x) or in the template (v-model="ref",ref = x) now marks the event as used. A write to a nested field of the ref value does not run the setter, so the event stays unused. The extraction cache version changes, so the first run after the update parses each file again.(Closes #5403)
unused-component-inputno longer reports an Angular input that a@HostBindingon the same member reads.@HostBinding("class.x") @Input() xreflects the input onto the host element, so Angular reads it.(Closes #5404)
The composite action runs its scripts on Windows runners. Every
run:step now quotesGITHUB_ACTION_PATH, so bash no longer removes the backslashes from the Windows action path before it resolvesaction/scripts/*.sh.(Closes #5352)
Thanks @lidongze1002 for the patch in #5408.
A composite action credits a script that
$GITHUB_ACTION_PATHnames. Arun:step that calls a script through$GITHUB_ACTION_PATHor${GITHUB_ACTION_PATH}now credits that script in the action folder, the same as${{ github.action_path }}. Agithub-scriptstep of a composite action also resolves${process.env.GITHUB_ACTION_PATH}/against the action folder. Workflow files do not change.${{ env.GITHUB_ACTION_PATH }}is not an anchor, because theenvcontext holds no runner variables.(Closes #5414)
Thanks @aloneangel45 for the patch in #5415.
fallow dupescompares the type arguments of calls andnewexpressions. The tokens ofcheck<Omit<A, "a">>()were the same as the tokens ofcheck(), andnew Map<string, A>()gave the tokens ofnew Map(). So calls that differ only in their type arguments were reported as clones, for example theexpectTypeOf<...>()assertions of a type test file. These type arguments now give tokens, the same as the type arguments of a type alias. Clone groups in code with many generic calls can split or end, and a real copy with generic calls can now reachminTokens. WithcrossLanguage, type arguments are still removed. The duplication token cache is rebuilt once.(Closes #5401)
Thanks @neumaennl for the report.
fallow mutation --time-budgetuses its budget. The first pass keeps time free for the retries of its survivors and timeouts. That reserve held the time of the full first dry run, but a retry companion dry-runs only the test files of the suspects. So a run ended early by about the time of the first dry run, with mutantspending. The reserve now holds the setup time plus the dry-run time of the test files of the suspects, and a margin of a quarter on the estimated retry phase. The reserve still keeps time for the retry of each suspect.(Closes #5421)
A directory argument of a test runner or another file runner no longer makes its index file an entry point. In a
package.jsonscript,vitest run src/lib/madesrc/lib/index.tsan entry point, so its unused exports were not reported. Only a script runtime (node,tsx,bun,deno run) now resolves a directory to its index file. A script argument with a non-script extension also no longer resolves to a script file:bash scripts/deploy.shno longer creditsscripts/deploy.ts. In an Nxrun-commandstarget, a Vite+ task or a CI step,node scripts/process-messagesnow creditsscripts/process-messages/index.js, the same as in apackage.jsonscript. (#5370)The
pr-comment-*sidecar files use the same path check as--output-file. The files inFALLOW_PR_COMMENT_ENVELOPE_FILE,FALLOW_PR_DECISION_FILEandFALLOW_PR_DETAILS_FILEare no longer written through a symlink that resolves outside the project root, the Git work tree, the CI workspace or the temp directory. Fallow prints a warning for each refused file and still renders the comment.fallow mutationdoes not write or remove run directories through a symlink. A symlink on the way to<cache>/mutation/runsor<cache>/mutation/companionthat resolves outside the project, or into Git metadata ornode_modules, now stops the run withFALLOW_MUTATION_UNSAFE_CACHE_DIR. This is the check that the analysis caches use. A symlink at<cache>/mutation,<cache>/mutation/runsor<cache>/mutation/companionalso stops the run withFALLOW_MUTATION_UNSAFE_CACHE_DIRbefore the first write, also when its target is inside the project. Before, the removal of old run directories followed the link and removed directories in its target. The.last-usedmarker and the publication lock file of a run directory and the<cache>/.gitignorefile are no longer written through a symlink either.The comment and review jobs of the GitLab CI template refuse a symlink at a result file. Each file that
comment.shandreview.shwrite in the job directory, such asfallow-skip-reason.txtandfallow-mr-comment.md, must be a regular file or must not exist yet. Otherwise the script stops with exit code 2 before its first write, and the job logs a warning. The GitHub Action already checked its artifact files this way.Compact dependency and duplicate-export lines name a path and a line. The lines of
unused-dep,unused-devdep,unused-optionaldep,type-only-dep,test-only-depanddev-dep-in-prodnow have the form<tag>:<path>:<line>:<package>, where the path is thepackage.jsonthat declares the package.unlisted-dep:<path>:<line>:<package>andduplicate-export:<path>:<line>:<export>name an import site or an export location, with one line for each location, so these two rules can write more lines than before. A script that splits a line on:now finds the name in field 4, not in field 2. To count the findings of one of these two rules as before, select its lines and usecut -d: -f4 | sort -u.(Closes #5017)
Thanks @1abdala for the patch in #5372.
fallow ciposting steps check who wrote a comment and where its marker is.ci post-pr-commentupdates only a comment that the bot account wrote and that has thefallow-idmarker as a full line. Before, it updated the first comment with the marker, whoever wrote it. WithoutFALLOW_BOT_LOGIN, the bot is a bot account or the user of the token. On GitHub, fallow reads the login of the token from/useronly when a comment with the marker is not from an account of typeBot, so a personal access token keeps its comment.ci post-reviewandci reconcile-reviewread the fingerprint, resolution and review-id markers only from the marker lines at the end of a comment. Text that a finding comment quotes, such as an import path or a suggestion block, no longer changes the identity of a thread, resolves it, or stops the run.ci post-reviewalways posts a GitHub review with theCOMMENTevent. Theeventfield of the envelope is ignored.Cache loaders read only regular files of a limited size inside the cache directory. A cache directory such as
.fallowis a path in the checkout, so a clone can hold cache files. The parse, graph, duplication, churn, flag age, base snapshot and mutation result caches now refuse a cache file that resolves outside the cache base, that is not a regular file, or that is too large, before the read. A link to a device or a named pipe no longer stops the run. The run rebuilds a refused cache.A cache file with malformed content gives a cold run, not a panic. The parse cache refuses line offsets that do not start at 0 or do not rise, the duplication token cache refuses token indexes out of range, and the graph cache refuses probed paths that leave the root or manifest paths that are not a
package.jsonbelownode_modules. Before, such a file could stop the run, the language server or the MCP server with a panic, or make a warm run check paths outside the project.fallow fixanalyzes with the cache off when it writes edits. A cache entry whose content hash matches a source file can come from a clone, so it no longer decides whatfixremoves. Eachfixrun without--dry-runnow reads and writes no parse or graph cache, as with--no-cache. On a large project such a run takes longer, because it parses each file again.fix --dry-runkeeps the cache.A
.gitignoreor.ignorefile that is a FIFO or a link to a device no longer stops a run. Before, such a file made source discovery,fallow watchand the language server wait forever or fill the memory. Fallow now checks each ignore file before it reads it: the.gitignoreand.ignorefiles of each directory, the same files in the parent directories of the root,.git/info/excludeand the global excludes file of Git. A file is read when it is a regular file of at most 1 MiB, or a link to such a file inside the project. Above the project, a link to a regular file anywhere is read, so a~/.gitignorethat links to a dotfiles repository still applies. The input digest ofdead-code --finding-idreads its files with the same limits. Fallow skips each other file with one warning. A skipped file in the root or in a parent directory turns off that kind of ignore file for the run. A skipped file in a directory below the root removes that directory from the run.The project id from the git remote no longer contains the user part of the URL. When
--project-idand--repoare not set, the coverage upload andcoverage analyze --cloudcommands read the repository fromgit remote get-url origin. A remote such ashttps://user:password@host/app.gitgave the iduser:password@host/app. These commands now drop theuser:password@part before they read the owner and the repository name.GitLab requests send
GITLAB_TOKENasAuthorization: Bearer. ThePRIVATE-TOKENheader stayed on a request that followed a redirect, also to another host. TheAuthorizationheader goes only to the same host. GitLab accepts personal, project and group access tokens in this header.A redirect of the GitHub or Fallow Cloud API to the same host keeps the token. Before, the request followed the redirect without the
Authorizationheader. A request for a renamed private GitHub repository then failed. A redirect to another host still drops the header.Text output keeps each project string on its line. A file path, an import specifier, an export name, a package name or a config value can hold a line break or another control character. The human, compact and Markdown formats (also the human output of
fallow auditand of the sink candidate report), theGates:note,fallow list, the baseline notes and the warnings on stderr, and themessageof eachworkspace_diagnostics[]entry now print such a character as a visible escape, for example\nor\u{001B}. Before, a line break in a name started a new output line, and a CI runner could read that line as a workflow command. A terminal sequence in a name, for example one that hides all later text, is escaped too, with colors on and off. The code excerpts in the human output offallow mutationstay as they are. JSON output keeps the raw path and name fields.next_steps[].commandstays one shell command. Thetrace-unused-export,trace-deprecated-export,scope-workspacesandrecheck-baselinesteps now put a value with a space or a shell character in single quotes. The trace steps write the target as--trace=<target>, for examplefallow dead-code --trace='src/(auth)/lib.ts:helper', so a target that starts with-stays the flag value. Before, such a value broke the command or added a second one. A plain path and name stay unquoted. A step skips a value with a line break. The inspect command in the mutation section of a pull request comment uses the same quoting rule for--root.Mutation, cloud inspect, binary and agent status reads stay inside the project.
fallow mutation inspect,export,tasksandrecheckread a source file of the report only when it resolves inside the project root, is a regular file and fits the read limit. Otherwise they treat the file as missing, socurrent_sha256isnulland the packet is stale.fallow inspect --cloudreads the local file in the same way. The map from binary names to packages skips a dependency name that is not a package directory name, and reads eachnode_modulesmanifest only when it is a regular file within the read limit.fallow agent statusandfallow hooks statusdo not read a project surface that resolves to a location outside the project. A link that resolves inside the project is still read. A TOML parse error of a Codex config names only the line and the column.Fallow runs no git hook of the repository. A git command of fallow, for example the
git worktree addoffallow audit --base, could start a hook from the hooks folder of the repository or a hook that the git config names. Each git command of fallow now pointscore.hooksPathat a folder that holds no hook, and turns off the hooks of each event withhook.<event>.enabled=false(git 2.54 and later). The install of the fallowpre-commithook still writes to the hooks folder of the repository.A tracked file with the name of a revision no longer stops
--changed-since. A file namedHEAD, or with the name of the base ref, made git stop with "ambiguous argument". Each git diff of fallow now ends its revisions with--.A
diff.externalprogram or a textconv filter no longer changes the changed lines or the flag ages. The changed diff of--changed-sinceandfallow mutationused the external diff program and the textconv filters of the user config. An external program that printed nothing made fallow see no changed lines. The diff now uses--no-ext-diff --no-textconv, and the blame and history search of the flag ages use--no-textconv.A config glob that parses but does not compile is now a config error. A glob with brace groups that nest too deep for the matcher, such as
a{a{a{...}}}with 130 levels, passed the config check and then stopped the run with a panic. Fallow now compiles the matcher of each config glob when it loads the config. Such a glob gives exit code 2 and an error that names the config field. Aworkspaces.settingskey with escaped braces, which the config check cannot see, selects no workspace when its matcher does not compile. The same glob in project files now matches no path instead of a panic: animport.meta.glob()call, a negated workspace pattern, apublicPackagesentry, a framework test or entry glob, a plugin file, a pnpm--filtervalue in a script, ausedClassMemberspattern, a rule pack scope and aworkspaceskey of the source config infallow migrate. A--groupor--workspacepattern with such a glob is an input error. AnignoreDependencieslist whose globs are valid one by one but too large to compile together is also a config error now.A boundary preset matches a tsconfig
rootDirwith glob characters as a literal folder. ArootDirsuch assrc[stopped the run with a panic, and arootDirsuch assrc[a]matched no file. The preset zones now escape the source root.The keyframes check of Sass and Less files no longer panics on a statement that starts with a multibyte character, such as a byte order mark.
fallow agent install --approveapproves the project MCP server only when.mcp.jsonholds the fallow entry. When.mcp.jsonalready had afallowentry that fallow did not write, the install refused to replace it but still listedfallowinenabledMcpjsonServers. That approved the existing entry and its command. Now the approval row isskippedwith the reason of the.mcp.jsonrow, and.claude/settings.local.jsonstays as it was.fallow coverage setupno longer takes a[Y/n]default when stdin ends. End of input at a prompt is nowno. When stdin is not a terminal, setup does not prompt: it exits with code 2 and a message that names--yesand--non-interactive. Scripts that pipe nothing tofallow coverage setupmust pass--yesto install thefallow-covsidecar.Fallow checks a path that a project file names against the project before it tests whether the file exists. The result is now the same whether a file outside the project exists or not:
package.jsonentry with an absolute path outside the project, or behind a link out of the project, is skipped before any probe. The warning names the entry only. A file that the extension or index probe reaches through a link out of the project counts as missing. This includes the source file that an output entry such asdist/x.jsmaps to.fallow coverage setupskips such an entry when it selects the server entry file.jsPluginspath out of the project is not probed.webpack://orvite://source of a V8 source map resolves only to a file inside the project root.glob-matched-no-package-jsondiagnostic and no recovered nested package. A workspace pattern directory behind a link out of the project does not count as missing, so it gives noworkspace-pattern-dir-missingdiagnostic.fallow rule-pack init,fallow init,fallow init --agentsandfallow migraterefuse a path that links out of the project before they check whether the file exists.fallow initandfallow migratecheck each of the four config names.fallow hooks installandfallow hooks uninstallrefuse a.husky,.lefthook,lefthook.ymlorlefthook.jsonpath that links out of the project before they probe it.The import of an old in-repo Impact store keeps the user decisions unset. When no user store exists, fallow imports the history and the counters of
.fallow/impact.json. The import no longer copiesenabled,onboarding_declined,explicit_decisionor the digest time, so a file in the checkout cannot turn Impact tracking on or hide the opt-in question. A.fallow/impact.jsonthat Git tracks is not imported.Coverage paths with
..match the same source file on each machine. fallow applied a..in a recorded coverage path only when the directory before it existed, so a file could get its coverage on one machine and a static estimate on another. fallow now applies each..to the recorded text first. This covers Istanbul paths, V8 script and source map paths, and the search for awebpack://orvite://source.Symlink checks give the same answer on each machine. fallow checks that a symlink in the project stays inside the project before it writes the cache through the link or reads a project file through it. The check looked only at where the link ends, so a link target that leaves the project and comes back through
..passed only when the directory outside the project existed. fallow now follows a link target one step at a time and refuses the link at the first step that leaves the project. The note about a.fallowsymlink that fallow does not use for the cache now names the link only, not its target.Write refusals name the given path, not the link target. A refused
--save-baseline,--sarif-fileor other report path, and the warning about a baseline in the cache directory, named the place outside the project that a symlink leads to. These messages now name the given path and the symlink in the project only.fallow coverage upload-inventorysends a compact JSON body. The CLI sent each JSON request body as indented JSON. On a large repository, the indentation pushed the inventory body above the 25 MiB request cap of the Fallow Cloud API. The upload then failed with HTTP 413. The CLI now sends compact JSON, which makes an inventory body about a quarter smaller. The same change applies to these requests:upload-static-findingsandupload-source-mapscoverage analyze --cloud(Closes #5453)
Thanks @chbert for the report.
Repeated or very large config input no longer makes the config load slow or the memory grow. Fallow now does each of these steps once and keeps it within a limit:
extendssource more than once merges it one time, at its last position, which gives the same result. A config file can list at most 64 distinctextendsentries.rulePacksentry that names a pack file again is a config error, and the pack file is read once. A rule that names an unknown zone gets one error for each distinct name and at most 10 such errors, and the list of configured zones in the message holds at most 512 bytes.autoDiscoverfolders such assrc/./dandsrc//dgive the same child zones assrc/d. A zone that is declared more than once adds its child zones to the rules once.unusedComponentProps.ignorePattern,health.tailwindIgnorePatternsand plugin exclude regexes compile with a 1 MiB program limit. A larger regex is a config error that names the limit. A counted repeat of a Unicode class such as\w{1,64}is large; an ASCII class such as[A-Za-z0-9_]{1,64}or\w+stays small.health.tailwindIgnorePatternsholds at most 128 patterns.manifestEntriespath that is longer than 512 bytes after interpolation stops the expansion with the entry expansion warning.fileExistsor tooling glob with**segments reads each folder once for each pattern segment, and a folder link loop no longer makes the walk run without end. The walk does not enter a link to a folder outside the read scope of the project.Small config files with repeated references no longer make a run take minutes or gigabytes of memory. Fallow now bounds four readers that expanded such references without a limit:
pnpm-workspace.yaml,pnpm-lock.yamland other YAML configs. A file whose aliases expand to more than 256 MiB of copies is reported as invalid YAML, and a warning names the file. A large config whose entries merge shared defaults is still read in full.resolve.aliasvalue of a bundler config. Fallow resolves each name once, and takes at most 4,096 aliases from the spreads of one value. Aliases that the value writes out in full are all kept.npm run lint -- src. The commands of one package now share one budget of 256 KiB of expanded script text, for both the dependency credit and the file references of the scripts. A call after that budget is not expanded, and one warning reports it.Real configs stay far below these limits, so the analysis results of real projects do not change.
Performance
fallow mutationwith Vitest decides the worker mode for each set of test files. The dry run no longer runs its test files 2 more times to check whether mutant runs can share one worker process. That check also stopped for a dry run over 45 seconds, so a large suite always started one process for each covering test file in each mutant run. Now the first mutant runs of a phase check the tests that the mutants select, one time and in one worker, and the mode holds for each set of test files that passed. A set whose tests need a fresh worker keeps that mode alone. On a public TypeScript monorepo, a run of 73 mutants took 470 s in place of 1,165 s, with the same verdicts. (Closes #5423)A bare
fallowrun with health keeps one copy of the parsed modules. The health analysis of a combined run read a copy of all parsed modules, and the analysis session kept the original until it was freed. Health now reads the modules of the session, which are the same modules thatfallow healthreads. On next.js the peak memory footprint went down by 4.3%, and on preact by 3.3%. The JSON output of next.js, babel, vue-core, preact and zod did not change.The parse cache and the graph cache are written without
fsync. A run after a file change saves both caches, and on macOS the flush of the drive cache was most of the save. After a one-file edit, the parse cache save takes 5 to 9 ms less on small and medium projects. The write still goes through a temp file and a rename, so a reader sees the old file or the new file. A cache file that a crash cut short is refused at load, and the next run builds it again.Import resolution makes far fewer file system calls on large projects.
A resolution probe for a path that does not exist now costs one
lstat, nota
realpathlookup of each path component. The index of symlinked projectfiles now resolves a directory once for all its files. On the next.js
repository,
fallow dead-codewith all threads spends about 23% less systemtime and about 10% less CPU time, with the same output.
Extraction copies a bounded amount of data for long chains, long callees and repeated names. Before, some source shapes made one file cost the product of two counts, or a power of two, in memory and time. Each shape now has a limit far above real code:
The output for real projects does not change. The parse cache version changes, so the first run after the upgrade parses each file again.
v3.50.0Compare Source
Added
fallow mutation tasks --format jsongives the scope of the run. The newscopeobject has thekindof the run (changed,allorpaths), thebase_refof achangedrun, andfiles: each file with a mutant result in the report, also a file without a task. A consumer can now tell a mutant that a test killed from a mutant that the run did not mutate, and does not need to read the saved report.(Closes #5289)
MCP tools with large results keep them in the conversation. Claude Code saves a tool result over 50,000 characters to a file, and the agent must read that file again. Eighteen tools returned more on large public projects:
analyze,audit,check_architecture,check_changed,check_health,check_runtime_coverage,code_execute,find_dupes,fix_preview,get_blast_radius,get_cleanup_candidates,get_hot_paths,get_importance,get_token_blast_radius,impact_all,project_info,security_candidatesandtrace_file. These tools now declare_meta["anthropic/maxResultSizeChars"]of 200,000 intools/list, so Claude Code keeps a result up to that size inline. A larger result still goes to a file. The server cap (FALLOW_MCP_MAX_OUTPUT_BYTES, default 1,000,000 bytes) and themax_output_bytesparameter do not change. Other clients ignore the field.(Closes #5239)
fix_applyasks the user to confirm before it writes. When the MCP client declares form elicitation,fix_applyfirst shows the dry-run plan in one form: the number of fixes, the number of files, and the fixes per type. The tool writes only after the user confirms. On a decline, a cancel or a timeout, no file changes, and the result hasapplied: falsewith aconfirmationvalue that gives the reason. On protocol2026-07-28the form arrives throughinput_required, and the client calls the tool again with the answer. A client without form elicitation keeps the old behavior. A headless session, such asclaude -p, cancels the form at once, so the call does not hang.(Closes #5238)
A
deep-modulesboundary preset."boundaries": { "preset": "deep-modules" }makes each folder ofsrc/modulesa zone, or each folder ofsrc/featureswhensrc/modulesdoes not exist. Other files may import a module only through its index file (index.{ts,tsx,mts,cts,js,jsx,mjs,cjs}), so an import of an internal file of the module is aboundary-violation. A file such asindex.internal.tsstays internal. The preset also adds anappzone for the rest of the source root, and atestszone fortest/**,tests/**ande2e/**. These two zones come after your own zones, so a zone that you add keeps its files. A test in one of these folders must use the index file, and a test next to the module code may import internal files. Loose files directly under the module root are in amoduleszone without public files. A folder with module folders in it wins over an empty one. When neither folder exists and no zone of yours is namedmodules, the run exits with code 2.fallow list --boundariesnow prints the public files of each zone.(Closes #5254)
Opt-in public files for the
bulletproofandfeature-slicedpresets. With"presetPublicFiles": trueinboundaries, other zones must import a feature (bulletproof) or a slice ofpages,widgets,featuresandentities(feature-sliced) through its index file. The@xfiles of an entity also stay public. Without the key, the findings of these presets do not change. An older fallow version ignores the key and reports the preset without public files. SetminimumVersionto make an older version stop with a message instead.The
narrow-interfaceaction in the JSON output offallow health --shallow-directorieslinks to the new guide "Keep a module deep".The MCP server returns long tool calls as tasks. The server now advertises the MCP tasks extension (
io.modelcontextprotocol/tasks). When a `toConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.