Marco Castelluccio
c105c1ba0f
Store Firefox versions in which bugs were fixed in the landings risk report
2020-10-30 01:36:33 +01:00
Marco Castelluccio
ad6b9592fb
Create a new Taskcluster hook that runs the landings risk report generation script daily at midnight UTC
2020-10-22 02:13:31 +02:00
Marco Castelluccio
9ede8db0e0
Add a method to retrieve a Phabricator revision ID from a commit
2020-10-05 12:02:35 +02:00
Marco Castelluccio
945e524a3c
Ensure we select the least possible number of configurations
2020-09-28 01:07:13 +02:00
Marco Castelluccio
c3c002002e
Update all index URLs, removing the 'relman' string
...
Follow-up to 0ec86af61b
2020-09-01 14:45:02 +02:00
Marco Castelluccio
80d2e6262b
Fix some new linting errors appearing with the new versions of the linters
2020-08-27 16:19:02 +02:00
Marco Castelluccio
0b78e000e1
Consider as if shippable tasks were opt tasks all along ( #1737 )
...
Fixes #1736
2020-07-28 16:26:53 +02:00
Marco Castelluccio
73c64abd81
Switch back to using push date to calculate experiences
...
Partial revert of 5c61636ffc
Fixes #1735
2020-07-28 15:37:12 +02:00
Marco Castelluccio
a355125673
Stop storing commits' dates
...
We are only using push dates.
2020-07-17 16:07:16 +02:00
Marco Castelluccio
5c61636ffc
Stop relying on push date to calculate experiences
2020-07-17 15:29:17 +02:00
Marco Castelluccio
d7170c5c3e
Make download_commits not analyze all commits when the list of commits to analyze is empty ( #1691 )
...
Fixes #1690
Fixes a regression from b5a194a17e
2020-07-14 14:59:56 +02:00
Lucky Sivagurunathan
e9aa7d9909
Add tests for the repository.get_commits function ( #1674 )
...
Fixes #383
2020-07-10 21:54:44 +02:00
Marco Castelluccio
9678556751
Add a test marked as failing
2020-06-25 18:50:05 +02:00
Marco Castelluccio
46bef9743c
Ignore failure when closing the DB during tests
2020-06-25 18:50:05 +02:00
Marco Castelluccio
bfa22c74f6
Store available configs by group in the mock failing together DB created for tests
...
Fixes a regression from 4e9f29c4da
2020-06-18 18:49:09 +02:00
Marco Castelluccio
b7549acbc3
Update expectations in tests for the generate_data function from the test_scheduling module
...
Fixes a regression from 064ef2df37
2020-06-16 15:32:46 +02:00
Marco Castelluccio
cf89c02aec
Update tests for test_scheduling.generate_data
...
Also add type annotations in the test_scheduling tests.
Fixes a regression from 064ef2df37
2020-06-16 14:32:45 +02:00
Marco Castelluccio
972b64b9bb
Use autouse pytest feature instead of defining usefixtures in pytest.ini file
2020-06-15 18:59:53 +02:00
Marco Castelluccio
60f790b48b
Generate equivalence sets for configs across groups only once
2020-06-15 17:16:10 +02:00
Marco Castelluccio
01f245b841
Allow opening touched together DB in read-only mode
2020-06-15 15:44:23 +02:00
Marco Castelluccio
42665a75e8
Allow opening failing together probabilities DB in read-only mode
2020-06-15 15:44:23 +02:00
Marco Castelluccio
d1fa725009
Allow opening past failures DB in read-only mode
2020-06-15 15:44:23 +02:00
Marco Castelluccio
0e68e98a54
Return configs on which to run groups as part of the HTTP service's test scheduling response
...
Part of #1117
2020-06-09 19:03:00 +02:00
Marco Castelluccio
d1dae08fec
Support selecting configurations on which groups should run
...
Also switch from using CP-SAT to MIP, as it's faster.
Part of #1117
2020-06-09 02:39:11 +02:00
Marco Castelluccio
9f413f2a86
Consider the task of selecting the best set of tasks to run as an optimization problem
...
First big step for #1460
2020-06-05 23:31:15 +02:00
Marco Castelluccio
c533747d35
Don't check if failing together elements exist, just load them
2020-06-02 00:45:44 +02:00
Marco Castelluccio
928af98a5e
Fix Linux task substrings in the function to reduce tasks
2020-06-02 00:45:44 +02:00
Marco Castelluccio
c7e3f97606
Refactor storage of values in the failing together DB
2020-06-02 00:45:44 +02:00
Marco Castelluccio
f131785b9b
Directly pass all revs to hg.log instead of a rev range
2020-06-02 00:45:44 +02:00
Marco Castelluccio
7af29c5c86
Handle recent Android pgo labeling changes
...
The Android pgo task labels were changed in https://bugzilla.mozilla.org/show_bug.cgi?id=1623355 .
Fixes #1596
2020-05-25 20:26:37 +02:00
Marco Castelluccio
fd7eb7a116
Fix tests using failing together DB related functions from the test_scheduling module
...
Fixes a regression from 32a679a045
2020-05-23 12:07:22 +02:00
Marco Castelluccio
695ba3b9aa
Calculate path distances in a faster way
...
Using the common prefix between manifest path and commit files' paths
instead of many complex path operations.
2020-05-15 17:52:35 +02:00
Marco Castelluccio
d6ee3d755c
Stop using f-strings when there are no placeholders
2020-05-08 16:14:10 +02:00
Marco Castelluccio
cd92e910eb
Don't update repository after cloning it
...
Fixes #1542
2020-05-05 16:46:46 +02:00
Marco Castelluccio
9e7b8489f5
Use better prioritization of tasks in the reduction step
...
Fixes #1529
2020-05-03 15:14:28 +02:00
Marco Castelluccio
f659c7c9d7
Store all commits, even ignored ones, in the commits DB
...
We ignore them at runtime, so users which need them can still use them.
Note: the ignored commits are still not analyzed, only their metadata
is stored in the DB.
2020-04-29 13:40:15 +02:00
Marco Castelluccio
a65b3519fa
Remove ever_backedout property from commits, store backedoutby instead
2020-04-28 21:54:52 +02:00
Marco Castelluccio
c7a8470a66
Test set_commits_to_ignore without ignoring commits with no linked bug
2020-04-28 21:30:42 +02:00
Marco Castelluccio
edf5bacebd
Store hashes of commits which are backed out by backouts
...
This greatly simplifies the code to find commits to ignore for the regressor finder.
2020-04-28 21:29:56 +02:00
Ayush Shridhar
91cd2114e7
Add a model to identify the root cause of a bug ( #1283 )
2020-04-26 12:11:53 +02:00
Marco Castelluccio
c5726cc5e5
Don't update working copy of the repository
...
Unless necessary (in the commit classifier script, where we are currently
"manually" applying patches from Phabricator).
Fixes #1469
2020-04-22 13:29:02 +02:00
Marco Castelluccio
9c645e35b6
Read the .hg-annotate-ignore-revs file using hg.cat
...
This was the only file we were reading directly from the repository
working directory, and we need to avoid reading directly from it in
order to be able to do clone without updating (#1469 ).
2020-04-22 13:27:30 +02:00
Marco Castelluccio
dcef895196
Use a single API call to rust-code-analysis to get both functions and metrics ( #1468 )
...
Fixes #1453
2020-04-09 16:24:33 +02:00
Marco Castelluccio
4438ede7c3
No need to create a branch in the repository tests
2020-04-08 02:28:48 +02:00
Marco Castelluccio
32733770ee
Add some basic tests for test_scheduling.generate_data
2020-04-07 18:11:45 +02:00
Marco Castelluccio
63a6e83de2
Move extract_file function from the db module to the utils module
...
Fixes a regression from 97f4545d22
2020-03-23 19:17:05 +01:00
Marco Castelluccio
2c47c6ab6e
Fix expectations in db tests
...
Regression from df9c2be8bb
2020-03-21 15:33:15 +01:00
Marco Castelluccio
686b5cf520
Add a test for repository.clone
2020-03-21 13:35:24 +01:00
Marco Castelluccio
b5a194a17e
Make the commits mining function accept either a start revision or a set of revisions to analyze
...
This way for test scheduling we can directly pass the revs and avoid
an additional Mercurial exection.
Ref #1422
2020-03-21 12:57:12 +01:00
Marco Castelluccio
6410b9c12c
Skip empty paths when setting files modified by a commit
...
It can happen in empty commits.
2020-03-19 21:34:49 +01:00