# Changesets sometimes are not firing Builds

**URL:** https://www.finalbuilder.com/forums/t/changesets-sometimes-are-not-firing-builds/6674
**Category:** Bugs
**Tags:** fixed
**Created:** [December 12, 2019, 8:04pm UTC](https://www.finalbuilder.com/forums/t/changesets-sometimes-are-not-firing-builds/6674 "2019-12-12T20:04:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dipold](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/dipold/32/1834_2.png) [@dipold](https://www.finalbuilder.com/forums/u/dipold)
#### Post date: [December 12, 2019, 8:04pm UTC](https://www.finalbuilder.com/forums/t/changesets-sometimes-are-not-firing-builds/6674/1 "2019-12-12T20:04:05Z")

</div>

We have observed many Changesets are not firing Builds by Repository Triggers, but we can’t make the problem reproducible.

For example:

A commit is sent to a Pull Request, and no build is triggered. Then the same user, hours later, makes a new “fake” commit by changing only one blank line in the same file, so the build is triggered.

This leads me to conclude that there is no misconfiguration, but there is something else preventing the trigger from triggering the build. We have tried to enable logging on `Continua.Server.Service.exe.config` but we have not found any information that would lead to the problem mentioned.

How could I find out why many Changesets aren’t firing Builds by Triggers?

Follows print of a recent example. No associated builds for this changeset:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/e/e523d5fc9b057726b541265772f75c5bdddf3668.png)

In the Changes tab, the changeset only appears on page 9 although it was one of the most recent:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/1/111f6bc54a2ccf11693f13368cc590474575943f.png)

Trigger that should have fired, Files configuration:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3bf87ac5401257b00414e8f435a8cb9045aaf928.png)

Making a fake commit, same files, the Build was fired by Repository Trigger:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/a/aee960b25fbb384cbf0d7a06bfc00cae5bbfac48.png)

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [December 12, 2019, 11:19pm UTC](https://www.finalbuilder.com/forums/t/changesets-sometimes-are-not-firing-builds/6674/2 "2019-12-12T23:19:09Z")

</div>

Hi Rafael,

Are there any relevant errors on the Event Log page in the Administration section?

Otherwise, we would need to see a debug log (and the rest of your trigger settings) to understand what is happening here.

If debug logging was enabled when the changeset was committed and detected, then send a copy of the debug log to support @ [finalbuilder.com](http://finalbuilder.com) (or to me on this forum via a direct private message). If not, then enable debug logging and wait until the issue occurs again before sending the log.

There are many log messages in the relevant area of code, so this should allow us to diagnose the issue.

---

<div class="post-metadata">

### Author: ![dipold](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/dipold/32/1834_2.png) [@dipold](https://www.finalbuilder.com/forums/u/dipold)
#### Post date: [December 13, 2019, 10:58am UTC](https://www.finalbuilder.com/forums/t/changesets-sometimes-are-not-firing-builds/6674/3 "2019-12-13T10:58:38Z")

</div>

We have sometimes seen this warning in event logs, but the timestamp does not match the problem that occurred:

[event-b2dbb0ef.txt](https://www.finalbuilder.com/forums/uploads/short-url/6fcPEwHrVK1Y6wTKJzIGri4kjkB.txt) (2.9 KB)

Meanwhile, I will re-enable the debug log and monitor the next time the problem occurred.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [December 19, 2019, 5:59am UTC](https://www.finalbuilder.com/forums/t/changesets-sometimes-are-not-firing-builds/6674/4 "2019-12-19T05:59:26Z")

</div>

As per our conversation via direct message, this issue appears to be due to a timeout when saving list of changeset files to database. We have now batched, the adding of changeset files to the database to avoid this error, and improved error handling with retries. See [v1.9.1.538](https://www.finalbuilder.com/downloads/continuaci/continua-ci-version-history-v191).
