Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReactive mode (run/capture/analyze) needs better documentation #1189
Comments
|
Hi @antonqiu , I'm having similar issues in running the reactive/differential workflow. Did you solve yours? |
|
Basically, there's a file From my understanding:
|
|
Hi @antonqiu , This actually helped. In that way I have more consistent results. When using the Overall, I do agree with the original goal of this issue that better documentation is needed. |
Hi Team,
I was trying to understand the effect of
--reactiveflag ininfer run,infer captureandinfer analyze, but got conflicting information from theGet Startedguide and manual.From man:
However, in Recommended flow for CI,
infer capture --reactive -- make -j 4Apparently, one can also specify
--reactivewithinfer capture, althoughman infer-capturedoesn't have an entry for it.What is its effect? Does it simply retain the
infer-outfolder and additively collect compiling artifacts?infer analyze --reactive --changed-files-index index.txt"Reactive mode: the analysis starts from the files captured since the infer command started."
I do understand it in the context of
infer run, but ininfer analyze, there are no "files captured since the infer command started".What's a more accurate explanation of the effect of
--reactiveininfer-analyze?infer analyze --changed-files-index index.txt"Specify the file containing the list of source files from which reactive analysis should start."
But it seems like
--changed-files-indexcan be specified without--reactive.Thanks!