feat: add capture-on-miss-flag#1229
Conversation
|
Claude finished @tommysitu's task in 2m 34s —— View job Code Review
The implementation is clean and follows existing patterns well. A few issues to address: Bug: Silent ignore when
|
|
Hi @schthms, the change is sensible, just some minor issues spotted by claude which you might want to address as well. |
|
Thanks @tommysitu. I addressed the review comments:
|
tommysitu
left a comment
There was a problem hiding this comment.
Adding new flag to hoverfly cli, no-ops for existing feature. LGTM
Adds a -capture-on-miss CLI flag that, when combined with -spy, configures spy mode to save request/response pairs to the simulation store on cache misses. Previously this behavior was only configurable via the admin API after startup.
Also adds unit tests covering the CaptureOnMiss path in spy mode and the SetModeWithArguments wiring for the new argument.