Waste of computing resources in pull requests that only change the ddoc
Seb via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 4 01:36:03 PST 2016
On Friday, 4 March 2016 at 09:03:43 UTC, BBasile wrote:
> I don't know If it's a known problem but auto tester resources
> are lost by PR that only change or add DDOC comments. For
> example whole dmd+runtime+phobos can be rebuild 3 times per day
> on 8 machines while it's not necessary.
>
> I understand that's a side-effect of the doc being directly in
> the code, but...
>
> Wouldn't be possible to run a background tool, based on
> libdparse, that
> - detects changed lines in the diff.
> - run the libdparse-based tool to see if changed lines are only
> in the ddoc.
>
> Depending on the results, either only CyberShadow's doc builder
> would run or also the big auto-tester.
I totally agree that this is a problem, but sometimes there are
weird side effects, e.g.
https://github.com/D-Programming-Language/phobos/pull/4049
(it does change a bit more than just ddoc though)
More information about the Digitalmars-d
mailing list