Open sio4 opened 2 years ago
Hi @paganotoni,
JFYI
After we discussed the usage of the oldapp
repository, I tried organizing a new structure for collecting old versions of generated apps and the result is temporarily located at https://github.com/sio4/coke.
After that, I found that one of our integration tests fails while preparing the old app tree by "installing the old version of buffalo, run buffalo new
(and node related things inside the step)" in some conditions. I think we can change this sequence with something like "run git clone .../coke
then run git checkout tag-for-target-version
".
However, I think we can postpone this discussion, decision, and change to the time after your current work for the new generation.
Hi Sio, Thanks for pointing this out.
I'm hoping to grow our testing and improve it with the new approach for the CLI. I might be putting too much pressure into that release but I think we will be able to test closer to the way our users do.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
@sio4 now that we have discussed and decided to abandon the other CLI approach and centered on this one I think we should find ways to do better integration testing of the CLI. Lets find a way to make these more stable.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
The integration test failed with timeout sometimes (or maybe always now?). Any chance to reduce the testing time?
Example:
The sequence of testing is:
testhelpers.InstallOldBuffaloCMD(t, "v0.16.27")
exec.Command("buffalo", tc.newargs...)
testhelpers.RunBuffaloCMD(t, []string{"fix", "-y"})
testhelpers.RunBuffaloCMD(t, []string{"build"})
Issues:
buffalo fix
I would like to replace steps 1 and 2 with downloading a pre-configured app tree. Will try to fix it. (but not sure if this is a good timing or I need to wait until the new generation)
https://github.com/gobuffalo/cli/runs/7427376418?check_suite_focus=true#step:4:1886
but the timeout with panic itself may not be directly related to the sequence.
https://github.com/gobuffalo/cli/runs/7427376418?check_suite_focus=true#step:4:2888