nickbradley / autotest

CPSC 310 GitHub integration service.
1 stars 2 forks source link

Link submission time with results #17

Open nickbradley opened 7 years ago

nickbradley commented 7 years ago

Currently, the push requests are stored in the requests DB and the results, once determined, are stored in the results DB. The request record has the submission timestamp while the result record has the "tests completed" timestamp. CouchDB does not allow cross database views so there is no way to link the two timestamps.

This is an issue around the deliverable deadline since the processing queue can become very long: a commit submitted at midnight might not be tested until 6 am. This is a problem when extracting the results for the latest commit before the deadline since the result record for a commit made before the deadline may not be generated until after the deadline.