Giter Site home page Giter Site logo

Comments (5)

talex5 avatar talex5 commented on July 18, 2024

Currently, it always lets a job run to completion once started (but it won't start any new jobs if noone wants the result).

You could do some kind of mark-and-sweep in Engine.recalc_loop to cancel jobs as soon as they are not needed by some active PR or branch.

However, people sometimes expect to be able to see the results of builds, even if a newer build came along later. e.g. if I push a new commit to a PR, I might still want to know the result for the previous commit.

from datakit.

kit-ty-kate avatar kit-ty-kate commented on July 18, 2024

If I'm not mistaken those logs do not appear anywhere. Can't we make this the default ?
I'm really unsure of how to patch that since I basically know nothing about the datakit codebase. Also I would really like to avoid depending on a locally patched dependency.
If it's definitely not possible, could you give me some pointers ?

from datakit.

kit-ty-kate avatar kit-ty-kate commented on July 18, 2024

One thing that could also be done in the meantime as a temporary fix (but still maybe useful anyway) would be to have some sort of "cancel-all button" on the main page. Is that conceivable ?

from datakit.

talex5 avatar talex5 commented on July 18, 2024

If I'm not mistaken those logs do not appear anywhere.

Even when no PR, tag or branch head still wants a result, it can still be accessed from many places, including:

  • The GitHub PR page (click on the test result for a non-head commit).
  • Visiting a previous state of a target (the "Previous state" controls at the top of each page).
  • Using the the various "History" links in the UI.
  • Looking directly in the results database.

from datakit.

samoht avatar samoht commented on July 18, 2024

TravisCI has an option to do that, that I find quite useful (as it frees up resources more quickly). In some cases you don't care about building every commit, you are just by the latest one on each tags/branches.

from datakit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.