Replies: 2 comments 5 replies
-
Yeah I find it frustrating too; I think it has something to do with the visual tests needing to run fresh every time. But it would be interesting to actually see if that is necessary. If it isn't possible, perhaps we can automate the merging of master and have the builds run as fast as possible so we don't notice it so much. |
Beta Was this translation helpful? Give feedback.
-
Originally it was put in place to ensure that when visual regression was ran, it was using the latest version of master to prevent screenshots getting out of sync. If we can achieve this without having the GitHub check, that'd work fine. I'm just not sure how reliable the visual regression tests would be without this check. |
Beta Was this translation helpful? Give feedback.
-
I think we should consider disabling the check for branches to be up to date with master as it is more painful than helpful. Consider this scenario:
• We have 3 PRs which are up to date
• One gets merged
• Now we have 2 PRs which are out of date despite having no conflicts
• Both get updated in some way (rebase or by clicking the button - doesn’t matter)
• Both authors wait for the ci build
• One eventually gets merged
• Now we have 1 PR which is outdated
This feels like an endless cycle of updates and waiting for CI to report green. For example at the moment we have 18 PRs and the queue will become bigger the more components we add.
I suggest instead сonsider adding new (probably optional?) or modifying existing CI jobs to run tests against code merged into master (if we don't do this already). This way on the old PRs we can just run optional jobs/re-run tests before merging.
Beta Was this translation helpful? Give feedback.
All reactions