continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marica Tan <>
Subject Review on Distributed Builds
Date Wed, 05 May 2010 01:10:32 GMT

We had a code review session on the distributed builds component and came up
with a list of changes and suggestions.

1. Remove the checking of the state of the SCM Result in the build project
phase since this is already checked in the prepare build phase
    - review and add a test if possible to make sure we didn't break

2. Use an event listener when the build agent configuration is changed,
instead of calling reload()
    - still need to review if it's possible

3. In PrepareBuildProjectTaskExecutor#executeTask(...), fix the checking of
SCM root to because it's hard to understand having a lot of ! in the

4. In DefaultDistributedBuildManager, add a comment or rename the method
getOverallDistributedBuildQueryByGroup(...) so it would be easier to
understand what it is doing or what's going on inside the method.

5. Review how data is passed from client to server.  There might be a better
way than using a build context. Also some of the keys are duplicated and
there are different sets of keys defined for the master and for the build

6. Review the checkout and build process code of the build agent and see if
it can be used for the same actions in the core to eliminate the duplicate
actions being performed

7. Fixed CONTINUUM-2517 - project should not be queued to a build agent
while it is currently building there

Any comments or suggestions?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message