git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Reducing redundant build at Travis?

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 14, 2017, 14:54 UTC
Message-ID
<xmqqbmonrrvr.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170714122401.uahk2fzvcjj3nwve@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Right, I think the right solution is some amount of peeling. Recognizing
> that the commit sha1 is the same, or better yet, not bothering to retest
> trees which have already been tested.

Yup, I also have a hack to avoid testing a version that is only different in insignificant way (e.g. the only difference being GIT-VERSION-GEN or Documentation/RelNotes/*) from an installed one in the script I use after each integration attempt I do, which I use a few times a day (that's "Meta/Dothem" if anybody is interested).

Show 7 quoted lines
> If we had some kind of persistent storage, we could do a quick:
> ...
> The "git test" script[1] uses this strategy with git-notes as the
> storage, and I've found it quite useful. I don't think we can rely on
> git-notes, but I think Travis gives us some storage options. Even just a
> best-effort cache directory would probably be sufficient (this is an
> optimization, after all).

We do seem to use some persistence to order prove tests already, but I do not think it helps the common case, where my end-of-day push pushes out 'maint' and 'v2.13.3' at the same time, because the push is made with "git push --follow-tags $there maint master next pu" and the new tag happens to be at 'maint'. It would be nice if Travis runs were sequential, but I often observe that it creates jobs for these multiple branches and tags pushed at the same time, and start running a few of them.

Previous: Jeff KingNext: Jeff King
Message 5 of 12 in “Reducing redundant build at Travis?”
  1. Junio C HamanoJul 12, 2017
  2. Lars SchneiderJul 13, 2017
  3. Junio C HamanoJul 13, 2017
  4. Jeff KingJul 14, 2017
  5. Junio C HamanoJul 14, 2017
  6. Jeff KingJul 14, 2017
  7. Lars SchneiderJul 20, 2017
  8. Junio C HamanoJul 20, 2017
  9. Lars SchneiderJul 21, 2017
  10. Junio C HamanoJul 21, 2017
  11. Lars SchneiderJul 26, 2017
  12. Junio C HamanoJul 26, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.