-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to run all tests for some PRs #13263
Comments
This is probably implementable right away, but reasonably we should make a proper decision task if we're going to introduce this kind of complexity. |
Ah. And that requires switching away from .taskcluster.yml and using code to create tasks, I guess? |
Note that if we want to alert people to regressing tests (#7475) this may end up noisy for tools changes as long as there are flaky tests (and noisy to a far bigger degree than for normal PRs, given it'll expose flake in any test). That said, I think this is probably worthwhile doing, given it's mostly the same work as needed to migrate the rest of our testing infrastructure to TC. |
This would have come very much in handy to avoid #14495, if it were easy to do a full run we would do it. @jgraham does this still depend on moving to a decision task? How much work would that be? We should also give some consideration to how the feature would work on Azure Pipelines, if we want to also get full runs of Edge or Safari for PRs down the line. |
Renaming to not be Taskcluster-specific, we want this for Azure Pipelines too. |
On Azure Pipelines it would be fairly easy to do this based on something in the commit message. @jgraham does Taskcluster have any declarative support for descison tasks yet, or is the situation unchanged? |
...from my duplicate bug - the only other suggestion is to potentially use a label instead of a tag in the PR or commit message. |
The problem is not how to trigger it, the problem is how to ensure we get it chunked in a way that will actually finish and not waste resources. |
If the trigger is easy, can't we trigger exactly the same tasks as we do for each push to master? Any other chunking would likely lead to some small number of differences in results due to side effects. |
There are some awkward questions here, right? Like:
If we're doing a full run there's a chance we're going to be touching loads of tests and all of those jobs will timeout. |
My proposal is to trigger exactly the same setup as we do for full runs on master or epochs/* branches, and one would have to compare it against an existing run on wpt.fyi. In other words, one has to take care to base the PR on a commit for which there are results. Stability jobs wouldn't be affected by this. |
If anyone needs to do this manually now, 7378559 is how I triggered full Taskcluster runs to compare to others on master. |
Proposal: let's have a branch name convention that triggers full runs, for example anything starting with |
That seems potentially annoying? Like, it'll end up with work happening on a branch "foo" and then needing to occasionally push to "fullrun/foo", unless you want every single commit to have a full run done. |
I don't know if taskcluster.yml actually allows string prefix matches. But I think we could have a single branch that you force push to to get a full run pretty easily. As long as we're using the HEAD SHA from the event rather than the branch name, that should be pretty reliable I think. I think this is a reasonable situation because:
|
I've sent #18870 with one branch per configuration and documentation so that searching for "triggers/" will lead to something useful. |
Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes #13263.
…ering full runs, a=testonly Automatic update from web-platform-tests Add triggers/* branches to support triggering full runs (#18870) Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes web-platform-tests/wpt#13263. -- wpt-commits: d86745dade74feb7897b47eb9eca3c8b3c3d924d wpt-pr: 18870
…ering full runs, a=testonly Automatic update from web-platform-tests Add triggers/* branches to support triggering full runs (#18870) Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes web-platform-tests/wpt#13263. -- wpt-commits: d86745dade74feb7897b47eb9eca3c8b3c3d924d wpt-pr: 18870
…ering full runs, a=testonly Automatic update from web-platform-tests Add triggers/* branches to support triggering full runs (#18870) Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes web-platform-tests/wpt#13263. -- wpt-commits: d86745dade74feb7897b47eb9eca3c8b3c3d924d wpt-pr: 18870 UltraBlame original commit: 04f26d751eeee27b6b7119be6712a786d2e90740
…ering full runs, a=testonly Automatic update from web-platform-tests Add triggers/* branches to support triggering full runs (#18870) Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes web-platform-tests/wpt#13263. -- wpt-commits: d86745dade74feb7897b47eb9eca3c8b3c3d924d wpt-pr: 18870 UltraBlame original commit: 04f26d751eeee27b6b7119be6712a786d2e90740
…ering full runs, a=testonly Automatic update from web-platform-tests Add triggers/* branches to support triggering full runs (#18870) Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes web-platform-tests/wpt#13263. -- wpt-commits: d86745dade74feb7897b47eb9eca3c8b3c3d924d wpt-pr: 18870 UltraBlame original commit: 04f26d751eeee27b6b7119be6712a786d2e90740
In #11769 a handful of tests were broken accidentally. This was reported in #13204 and also some of the same tests were found to fail in an attempt to roll into Chromium.
Relatedly, many changes in resources/ by @lukebjerring, @jugglinmike and me have been put through Chromium's CQ first to see if they would break existing tests.
To help prevent accidental regressions and make it easier to look for anticipated regressions, the ability to run all tests in Taskcluster for some PRs would be very good.
Strawman: including the magic string "Taskcluster-Full-Run" somewhere would cause Taskcluster to treat all tests as affected.
Lots of similar solutions might be possible.
@jgraham
The text was updated successfully, but these errors were encountered: