Hi. Is it considered best practice to use a dynamic date for includeWipPactsSince? The documentation only shows examples with static dates like "2020-10-31". But will it be a problem say a year from now? That it could fetch WIP pacts since that date. Rather, is it better to just configure it as something like new Date().minusDays(7) for WIP pacts within a week.
Roger Liu
10/30/2023, 7:15 AM
bump
m
Matt (pactflow.io / pact-js / pact-go)
10/30/2023, 9:44 AM
In the past, the advice was not to make it dynamic. But that advice may have changed, let me find out
Matt (pactflow.io / pact-js / pact-go)
10/31/2023, 12:07 AM
so talking to the team, if you have a good idea of how old you expect your branches to be dynamic is fine (e.g. if most branches are finished within 2 weeks then that’s the window you can work with)
r
Roger Liu
10/31/2023, 12:08 AM
Ok thanks. I'm guessing the reason for why you might not want it to be dynamic is that it can leave out real WIP pacts that someone hasn't finished yet?