Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Struct.new could take a block for defining methods, feedback:smart-pipeline-duration | Lin Jen-Shin | 2016-09-08 | 1 | -2/+1 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_15091858 | ||||
* | Split try_merge_period into overlap? and merge: | Lin Jen-Shin | 2016-09-08 | 1 | -7/+9 |
| | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_15083507 | ||||
* | Be more specific since it's not needed to be generic now, | Lin Jen-Shin | 2016-09-06 | 1 | -3/+5 |
| | | | | | feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14995016 | ||||
* | Sort by database, feedback: | Lin Jen-Shin | 2016-09-06 | 1 | -2/+4 |
| | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14991226 and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14994233 | ||||
* | Just use module because there's nothing to save, feedback: | Lin Jen-Shin | 2016-09-06 | 1 | -14/+10 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14992064 | ||||
* | Use sum, feedback: | Lin Jen-Shin | 2016-09-06 | 1 | -3/+1 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14991392 | ||||
* | Forget about pending duration for now, need more discussion | Lin Jen-Shin | 2016-09-05 | 1 | -39/+10 |
| | |||||
* | Just sum all the queuing time, indication for needing more runners | Lin Jen-Shin | 2016-09-02 | 1 | -6/+7 |
| | |||||
* | Actually we still need to use total - running to get: | Lin Jen-Shin | 2016-09-02 | 1 | -3/+4 |
| | | | | | | real pending time, because that's actually by definition, (the time that it's not running!) or we could end up with awfully complicated algorithm :( | ||||
* | Calculate real queueing time to exclude gaps from: | Lin Jen-Shin | 2016-09-02 | 1 | -14/+14 |
| | | | | | | | | | retries and probably also manual actions! Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14735478 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14737804 | ||||
* | Use guard clause, feedback: | Lin Jen-Shin | 2016-08-31 | 1 | -11/+9 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_14754681 | ||||
* | Introduction to PipelineDuration | Lin Jen-Shin | 2016-08-31 | 1 | -0/+98 |
| | |||||
* | Fix renaming | Lin Jen-Shin | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | Avoid shadowing method name. Just use existing method | Lin Jen-Shin | 2016-08-30 | 1 | -2/+2 |
| | |||||
* | Rename to periods since it's easier to understand | Lin Jen-Shin | 2016-08-30 | 1 | -22/+22 |
| | |||||
* | Use algorithm from Kamil: | Lin Jen-Shin | 2016-08-30 | 1 | -28/+9 |
| | | | | | Excluding sorting, this is O(n) which should be much faster and much simpler and easier to understand. | ||||
* | build might not start yet | Lin Jen-Shin | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | no builds no pending | Lin Jen-Shin | 2016-08-29 | 1 | -0/+2 |
| | |||||
* | Smartly calculate real running time and pending time | Lin Jen-Shin | 2016-08-29 | 1 | -0/+90 |