zuul/zuul/lib
James E. Blair f99cee543e Use getBuildTimes for build time estimator
The existing build time estimator uses the normal getBuilds query
method.  We recently added an optimized query for a new build times
API endpoint.  As one would expect, the build time estimator has
limited query needs and should be able to use the new optimized
query as well.

The one thing missing is a search for a specific result (ie, SUCCESS),
so that is added.  The unused sort operator is removed.

From what I can tell, switching to sorting by end_time should not
produce a reduction in performance compared to sorting by id.

Change-Id: I1096d466accad5574b6cfa226e68b070f769128f
2024-01-04 06:30:52 -08:00
..
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
ansible-config.conf Add job failure output detection regexes 2023-08-21 16:41:21 -07:00
ansible.py Remove built-in ARA support 2022-04-13 16:44:34 -07:00
auth.py Handle jwt decoding error, fix exception default messages 2022-05-12 18:48:19 +02:00
capabilities.py OIDCAuthenticator: add capabilities, scope option 2020-03-27 16:47:21 +00:00
collections.py Implementation of Zookeeper backed event queues 2021-03-18 09:24:07 +01:00
commandsocket.py Add zuul-scheduler tenant-reconfigure 2022-02-08 14:14:17 -08:00
config.py Add gitlab disable_connection_pool option 2021-10-14 16:29:50 -07:00
connections.py Only check bwrap execution under the executor 2023-05-17 13:45:23 -07:00
dependson.py Be more liberal with Depends-On: parsing 2021-08-30 15:59:51 +10:00
encryption.py Use unsafe_skip_rsa_key_validation with cryptography 2023-01-11 10:37:24 -08:00
filecomments.py Make github file annotation levels configurable via zuul return 2020-03-06 08:27:48 +01:00
fingergw.py Fix DeprecationWarning: ssl.PROTOCOL_TLS is deprecated 2023-02-07 16:37:20 -08:00
http.py Add TCP keepalive to gitlab 2021-10-05 15:08:56 -07:00
jsonutil.py Remove toDict from FrozenJob 2021-10-27 16:57:22 -07:00
keystorage.py Use sort_keys with json almost everywhere we write to ZK 2021-11-12 15:50:02 -08:00
log_streamer.py Replace deprecated Thread.isAlive() with Thread.is_alive() 2020-06-01 12:49:07 +02:00
logutil.py Identify cherrypy requests in logs 2022-02-02 16:16:27 -08:00
monitoring.py Add readiness/liveness probes to prometheus server 2021-12-09 07:37:29 -08:00
queue.py Improve test output by using named queues 2021-03-24 07:39:15 +01:00
re2util.py Register RE2 syntax errors as warnings 2023-08-28 15:04:49 -07:00
repl.py Fix deprecated use of currentThread() in REPL 2023-02-14 11:14:15 +01:00
result_data.py Support emitting warnings via zuul_return 2020-08-31 11:54:46 +02:00
statsd.py dict_object.keys() is not required for *in* operator 2018-12-03 12:04:55 +05:30
streamer_utils.py Add auth token to websocket 2023-10-24 07:29:55 -07:00
strings.py Cleanup empty secrets dirs when deleting secrets 2021-10-19 09:38:21 -07:00
tarjan.py Add optional support for circular dependencies 2021-03-01 19:42:56 +01:00
times.py Use getBuildTimes for build time estimator 2024-01-04 06:30:52 -08:00
tracing.py Store parent span context with span info 2022-10-06 09:14:59 -07:00
varnames.py Block connection related variables 2021-06-24 06:24:23 -07:00
yamlutil.py Reduce config error context 2023-10-26 08:50:20 -07:00