Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

builder: Rewrite in Go to be more reliable and more testable #3578

Closed
carmstrong opened this issue Apr 25, 2015 · 4 comments
Closed

builder: Rewrite in Go to be more reliable and more testable #3578

carmstrong opened this issue Apr 25, 2015 · 4 comments
Labels

Comments

@carmstrong
Copy link
Contributor

The builder component is notoriously fragile, and has many associated issues, including:

Part of this is due to the fragility of the scripts themselves, but it's also because we cannot write unit tests for the builder component. We need to prioritize rewriting the component in Go so it's something that can be more easily maintained moving forward.

@carmstrong carmstrong added this to the v1.7 milestone Apr 25, 2015
@bacongobbler
Copy link
Member

+1

@bacongobbler
Copy link
Member

#3684 helps a bit with this. To be clear, I think that the core part of builder (the script that is run when a commit is received) would definitely benefit from a re-factor. However, gitreceive or re-implementing a git server in Go is fruitless. openssh/gitreceive seems to handle that quite well.

@carmstrong
Copy link
Contributor Author

However, gitreceive or re-implementing a git server in Go is fruitless.

I think that's perfectly reasonable. In my mind, the goals of a builder refactor are twofold:

  • Make the codebase less fragile and easier to maintain (many bug fix attempts have resulted in regressions)
  • Add test coverage to gain confidence in changes

Having the builder in Go is secondary to both of these primary motivations.

Both of those can be achieved without a new git server. 👍

@carmstrong
Copy link
Contributor Author

closing in favor of #3758

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants