[dart] Fix tests failing in CI after automatic dependency update#9961
[dart] Fix tests failing in CI after automatic dependency update#9961wing328 merged 1 commit intoOpenAPITools:masterfrom
Conversation
* prevent future problems of this kind by adding the pubspec.lock file to VCS for all 3 test projects
Thanks for the PR. That's one way to tackle the CI failure. To share a bit more, we do not commit the package lock files for some other client/server samples so that the CI can spot the issues when a newer dependency is installed. We may fix the issue by updating the templates/generators or committing the package lock file if no one can find the time to fix the issue in the near term. |
These 3 lock files are only for projects with handwritten tests, not for any generated code. As you have said, for generated samples we want CI to fail and require a correct fix. |
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master,5.3.x,6.0.x