Pending appveyor build requests are not canceled when a PR is updated

20 views
Skip to first unread message

Yegappan Lakshmanan

unread,
Mar 14, 2020, 4:39:47 PM3/14/20
to vim_dev
Hi,

When a PR is updated multiple times quickly, multiple build requests
are submitted to Travis-CI and Appveyor. In Travis-CI only the last
build request is processed and all the older pending build requests are
canceled. But in Appveyor all the build requests are processed
in sequence. Is it possible to cancel all the pending build requests
for a PR when a build request is submitted in Appveyor?

Thanks,
Yegappan

Dominique Pellé

unread,
Mar 14, 2020, 4:45:55 PM3/14/20
to vim_dev
Also, I experienced tests that were hanging in Appveyor and
Appveyor would time out after 1 hour. It's too much. It wastes
time. Appveyor tests normally take about 18 min. So a time out
of 30 min would give enough margin.

Regards
Dominique

Christian Brabandt

unread,
Mar 16, 2020, 4:08:13 AM3/16/20
to vim_dev
I have enabled Rolling builds for PRs, that should make sure, only the
latest commit is tested. I also lowered the build-timeout to 30
minutes. And finally I enabled parallel builds, however it is not clear
to me, if this is only active for msbuild projects, so it might not have
an effect.

Best,
Christian
--
Der Physikprofessor: "Was wissen sie über Ammoniak?"
Der Student: "Ich weiß nur, daß es zu Tränen reizt!"
Der Professor: "Ihre Antwort auch!"

Ken Takata

unread,
Mar 16, 2020, 4:20:15 AM3/16/20
to vim_dev
Hi Christian,


2020/3/16 Mon 17:08:13 UTC+9 Christian Brabandt wrote:

On Sa, 14 Mär 2020, Dominique Pellé wrote:

> Yegappan Lakshmanan <yega...@gmail.com> wrote:
>
> > Hi,
> >
> > When a PR is updated multiple times quickly, multiple build requests
> > are submitted to Travis-CI and Appveyor. In Travis-CI only the last
> > build request is processed and all the older pending build requests are
> > canceled. But in Appveyor all the build requests are processed
> > in sequence. Is it possible to cancel all the pending build requests
> > for a PR when a build request is submitted in Appveyor?
> >
> > Thanks,
> > Yegappan
>
> Also, I experienced tests that were hanging in Appveyor and
> Appveyor would time out after 1 hour.  It's too much. It wastes
> time. Appveyor tests normally take about 18 min. So a time out
> of 30 min would give enough margin.

I have enabled Rolling builds for PRs, that should make sure, only the
latest commit is tested. I also lowered the build-timeout  to 30
minutes. And finally I enabled parallel builds, however it is not clear
to me, if this is only active for msbuild projects, so it might not have
an effect.

Parallel builds may not work for the Free plan.

> but jobs will run in series as the Free plan allows 1 concurrent job per account.

One possible option is utilizing GitHub Actions. It supports parallel builds.

Regards,
Ken Takata

Christian Brabandt

unread,
Mar 16, 2020, 4:37:04 AM3/16/20
to vim_dev

On Mo, 16 Mär 2020, Ken Takata wrote:

> Parallel builds may not work for the Free plan.
>
> https://www.appveyor.com/docs/parallel-testing/#requirements
> > but jobs will run in series as the Free plan allows 1 concurrent job per
> account.
>
> One possible option is utilizing GitHub Actions. It supports parallel builds.

Ah okay, I missed that. It probably doesn't matter much, since we only
have 2 distinct configurations for appveyor.


Best,
Christian
--
Daß man einem Wasser nicht auf den Grund blicken kann, beweist noch
nicht, daß es tief ist.
-- Egon Friedell
Reply all
Reply to author
Forward
0 new messages