Edgewall Software

Changes between Version 6 and Version 7 of Master Slave Protocol Http


Ignore:
Timestamp:
Jul 24, 2007, 3:56:30 PM (17 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Master Slave Protocol Http

    v6 v7  
    145145
    146146The server responds with a `201 Created` response.
     147
     148== Cancelling Builds ==
     149
     150Using the BEEP protocol, the build master would mark builds as aborted if the connection to the slave was closed unexpectedly. This is no longer possible when using HTTP.
     151
     152To handle the case of build slaves going away at some point between having created a build and completing the build, the build master should have a configurable timeout. All in-progress builds would be checked against this timeout; if there has been no activity on the build for an amount of time exceeding the timeout, the master should cancel the build, resetting it the `PENDING` state. If a slave later '''does''' decide to come back to life and post results, it would get 404 (Not Found) or 409 (Conflict) errors, and should cancel the build on its side, too.
     153
     154There should probably be a background thread posting heartbeat requests to the master while lengthy build steps are executed.