Wesley Wigham
1479bb6bc8
Check if triggering PR is in triggered set only if triggered pr exists (otherwise is master sync)
2019-06-26 15:38:45 -07:00
Nathan Shively-Sanders
261952247a
Merge pull request #31945 from microsoft/skip-costly-tests
...
Skip costly tests
2019-06-25 15:47:49 -07:00
Alexander
7389200ce2
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-06-23 18:49:35 +03:00
Wesley Wigham
5498f583f9
Update cherry-pick pr script to use mergebase ( #32031 )
2019-06-21 14:34:26 -07:00
Alexander T
0e14b4e030
microsoft-typescript/only-arrow-functions
2019-06-20 12:46:02 +03:00
Alexander T
67e20fc87a
microsoft-typescript/no-keywords
2019-06-20 12:38:00 +03:00
Alexander T
38652d4cd7
no-var
2019-06-20 10:51:29 +03:00
Nathan Shively-Sanders
a56b65bc91
Add skip-percent alias for skipPercent
2019-06-19 14:12:17 -07:00
Alexander T
62119ec9cc
@typescript-eslint/no-unnecessary-type-assertion
2019-06-19 18:45:02 +03:00
Nathan Shively-Sanders
fce7f9f87b
Move .test-cost.json
...
Also include parameter name in test output so that people will know what
to do to change the percent chance of failure.
2019-06-19 08:40:06 -07:00
Alexander T
5ce8c831b4
prefer-const
2019-06-19 17:58:49 +03:00
Alexander T
504b932f7b
@typescript-eslint/camelcase
2019-06-19 17:30:28 +03:00
Nathan Shively-Sanders
6f28283e44
Run all tests on CI
2019-06-17 09:20:58 -07:00
Nathan Shively-Sanders
3ef953a819
Allow passing skipPercent
...
Currently, the default is 5%.
0 gives you 0% time savings
2.5 gives you 29%
5 gives you 38%
10 gives you 50%
20 gives you 65%
2019-06-14 15:59:39 -07:00
Nathan Shively-Sanders
a852f2feea
Skip costly tests
...
1. Add a script to generate a sorted list of most costly tests. A tests'
cost is roughly `runtime% / number of edits`. A slow test that's only
been updated once is much less valuable than a slow test that has
been updated 20 times: the latter test is catching more changes in the
type system.
2. Check in the results of running this script. I want to make the
skipping behaviour deterministic and the same for everybody, even though
you may get slightly better performance by examining only *your* test
changes.
3. Add code to skip tests until it reaches a 5% chance of missing an
edit. Right now this provides a 38% speedup.
Still not done:
4. Make this value configurable.
5. Make the CI configuration specify a 0% chance of missing an edit.
2019-06-14 13:35:41 -07:00
Alexander T
6b05b26452
@typescript-eslint/prefer-namespace-keyword
2019-06-14 14:52:36 +03:00
Alexander T
627211b06b
quotes
2019-06-14 12:18:27 +03:00
Alexander T
650600c5e4
linebreak-style
2019-06-14 11:58:42 +03:00
Alexander T
012c76e897
microsoft-typescript/object-literal-surrounding-space
2019-06-14 11:45:45 +03:00
Alexander T
c3517c073e
@typescript-eslint/type-annotation-spacing
2019-06-14 11:29:00 +03:00
Alexander T
afb5c9bfcf
@typescript-eslint/prefer-interface
2019-06-14 11:25:18 +03:00
Alexander T
3fb48d3f24
@typescript-eslint/no-inferrable-types
2019-06-14 11:21:43 +03:00
Alexander T
a96a08a329
microsoft-typescript/boolean-trivia
2019-06-14 11:17:49 +03:00
Alexander T
12e195c24e
no-throw-literal
2019-06-14 10:54:11 +03:00
Alexander T
bea1bcb466
brace-style
2019-06-14 10:51:09 +03:00
Alexander T
550a99e839
dot-notation
2019-06-14 10:44:19 +03:00
Alexander T
8896c676be
object-shorthand
2019-06-14 10:38:45 +03:00
Alexander T
d7f5def5a3
space-in-parens
2019-06-14 10:33:03 +03:00
Alexander T
f6ccfb39cc
@typescript-eslint/semi
2019-06-14 09:46:02 +03:00
Alexander T
55b8a38d50
add eslint
2019-06-13 13:39:49 +03:00
Wesley Wigham
e6fde9e809
Taking typos out one line at a time
2019-06-05 16:24:02 -07:00
Wesley Wigham
96a250502c
Deleting a branch that does not exist does not work (we should never download the ref anyway)
2019-06-05 16:12:21 -07:00
Wesley Wigham
dcf2fa930d
merge -> rebase in experiment sync script text
2019-06-05 15:28:52 -07:00
Wesley Wigham
bddcf10eb8
Fix deprecation warnings in experiment sync script
2019-06-05 15:25:33 -07:00
Wesley Wigham
16030663ff
Dont clean - pipeline should already be clean and a clean will clean node_modules
2019-06-05 15:18:00 -07:00
Wesley Wigham
ec4ca6b619
Slightly reorder experimental sync commands
2019-06-05 14:58:22 -07:00
Wesley Wigham
9da05243ff
Rewire experimental update script to handle PR triggers
2019-06-03 16:06:35 -07:00
Wesley Wigham
49c44f650a
Add script for pack response postback ( #31748 )
2019-06-03 15:24:35 -07:00
Wesley Wigham
a23ae4c742
Dedent message so its not code-blocked
2019-05-31 14:54:36 -07:00
Wesley Wigham
22348d8a0c
Reverse log order
2019-05-31 14:46:33 -07:00
Wesley Wigham
2cd3500197
origin/master because ref is fetched not pulled
2019-05-31 14:45:06 -07:00
Wesley Wigham
619648e8c2
Trim whitespace, fetch origin master
2019-05-31 14:36:39 -07:00
Wesley Wigham
8813ceb3ce
Cant use stdio inherit and stash a result away
2019-05-31 14:24:49 -07:00
Wesley Wigham
9a2957717e
Strictify the cherry-pick pr script
2019-05-31 14:12:45 -07:00
Wesley Wigham
cb2df757d7
Add initial edition of cherry-pick script ( #31705 )
2019-05-31 13:42:15 -07:00
Wesley Wigham
1fe9a0ad4e
Small fix to user PR script ( #31679 )
2019-05-30 15:20:41 -07:00
Wesley Wigham
bb1ac81bb1
Experimental management scripts ( #31067 )
...
* Add configure-experimental
* Add script for synchronizing branches with master and creating an experimental branch with the result of merging those
2019-04-23 13:52:23 -07:00
Wesley Wigham
53c92d608f
Add configure-experimental ( #31064 )
2019-04-22 13:20:34 -07:00
Wesley Wigham
0574c1fae1
Hide the table of perf results from the bot inside an expando element ( #31007 )
2019-04-18 09:09:22 -07:00
Wesley Wigham
60346b56a8
Do not request reviewers for fork-triggered PRs, just mention them
2019-04-05 18:29:30 -07:00
Wesley Wigham
73616c9725
More conditional linkage in user PR responses when manually triggered
2019-04-05 17:52:24 -07:00
Wesley Wigham
0ddd847e03
Small addition to user PR script to support fork/branch PRs
2019-04-05 16:28:25 -07:00
Wesley Wigham
e20b87f66d
Add script for posting perf results back to GH ( #30526 )
...
* Add script for posting perf results back to GH
* Slightly more logging, use html url, not api url, lol
* Log even more, nonzero exit code on error
2019-03-22 17:39:20 -07:00
Wesley Wigham
3127962cd1
Fix authors script ( #30440 )
2019-03-18 12:26:27 -07:00
Wesley Wigham
a887c6ba40
Remove unused (and sometimes broken) targets and scripts ( #30054 )
...
* Remove unused (and sometimes broken) targets and scripts
* Remove browser-specific harness code
2019-03-08 10:34:35 -08:00
Wesley Wigham
c2f1998387
Fix baseline accept when there are multiple .delete files ( #30091 )
2019-02-25 16:18:03 -08:00
Wesley Wigham
fb0dcd4987
Have runtests always throw on failure, make rm stream signal end of read queue ( #30035 )
2019-02-21 18:17:53 -08:00
Wesley Wigham
b67f2d6bdf
Remove jake (hopefully for real this time) ( #29085 )
...
* Remove jake (hopefully for real this time)
* Fix gulpfile non-lkg build, add sanity-check build to posttest on CI, accept older baseline style to go with lkgd build
* More docs/scripts jake -> gulp
2019-02-20 15:32:15 -08:00
Ryan Cavanaugh
02b1f71612
Merge branch 'master' into typos
2019-02-01 13:43:44 -08:00
Wesley Wigham
ea74ed477c
Update user pr script for latest version of octokit ( #29639 )
2019-01-29 14:01:10 -08:00
Ron Buckton
47c2708a9c
Simplify gulp to just use 'tsc -b' to build, update to gulp@4
2019-01-27 21:56:56 -08:00
Wesley Wigham
fdeb8f01df
Fix typo in runner selection in gulp
2019-01-24 12:58:46 -08:00
Ron Buckton
6b32f4edcb
Fix gulp builds not building some targets
2019-01-16 17:32:58 -08:00
Nathan Shively-Sanders
ad85e4fd22
Fix gulp baseline-accept ( #29301 )
...
* Fix gulp baseline-accept
I think it was ported incorrectly from jake and then never used.
* Re-add read:false to baselineDelete
2019-01-08 11:20:54 -08:00
Wesley Wigham
dcf825e3cd
Add types entry to tslint build to prevent inclusion of unwanted types installed via user tests
2019-01-04 12:59:11 -08:00
Wesley Wigham
fd7fd133e2
Fix the up-to-date-ness checks of sucessive gulp
invocations ( #29088 )
2018-12-18 16:41:02 -08:00
Daniel Rosenwasser
d1cafe7751
Always generate lowercase locale names so 'LKG's produce identical results on case-sensitive file systems.
2018-12-10 14:19:53 -08:00
fullheightcoding
8e8a2397ca
Fixed some typos.
2018-10-25 17:55:28 +11:00
Ron Buckton
4982803a38
Merge branch 'master' into sourceMapGenerator
2018-10-08 18:01:37 -07:00
Ron Buckton
d224ee02d7
Free up space in the TransformFlags enum
2018-09-27 17:55:07 -07:00
Ron Buckton
b006287cb1
Refactor and clean up sourcemap decoder
2018-09-04 17:50:06 -07:00
Ron Buckton
111300ccd5
Fix overlapping test runs in 'gulp watch'
2018-08-29 12:57:05 -07:00
Ron Buckton
1de8cd3f62
Emit lib reference directives in declaration output
2018-08-20 16:54:51 -07:00
Andy
746e39e9e9
Set "rootDir" for cancellationToken project ( #26498 )
2018-08-16 15:12:38 -07:00
Wesley Wigham
c6fd0c8d29
Ping ryan instead of mohammed for user PRs now
2018-08-08 13:36:03 -07:00
Wesley Wigham
2e017b8ce1
Hardcode xunit reporter output file into failed tests reporter
2018-08-06 14:09:41 -07:00
Ron Buckton
0713e754e7
Build script updates
2018-07-10 12:13:27 -07:00
John Doe
2522a264e7
actuallty -> actually
2018-06-28 18:50:39 -07:00
Ron Buckton
f4a2ee456d
Merge pull request #25250 from Microsoft/gulpTypeScriptReporter
...
Report errors in corrrect process for gulp-typescript-oop
2018-06-26 16:04:28 -07:00
Ron Buckton
cff0f831a6
Report errors in corrrect process for gulp-typescript-oop
2018-06-26 15:43:04 -07:00
Ron Buckton
e705c15c14
Add exists check before unlink
2018-06-26 12:28:28 -07:00
Ron Buckton
bc3268b654
Merge pull request #25211 from Microsoft/gulpBrowserify
...
Clean up browserify task, remove unused 'debugMode.js' script
2018-06-25 16:56:47 -07:00
Ron Buckton
78bf10ad80
Merge pull request #25004 from Microsoft/trackFailedTests
...
Adds failed test tracking
2018-06-25 16:55:43 -07:00
Ron Buckton
72a00b148c
Merge pull request #25146 from Microsoft/gulpWatch
...
Adds support for gulp.watch
2018-06-25 16:55:13 -07:00
Ron Buckton
5ed96ec072
Clean up browserify task, remove unused 'debugMode.js' script
2018-06-25 16:21:28 -07:00
Ron Buckton
a9b4763249
Ensure upToDate also handles referenced project outputs
2018-06-25 14:14:19 -07:00
Ron Buckton
d3ef20caf0
Fix bad merge
2018-06-25 11:36:37 -07:00
Ron Buckton
52fa900b5c
Merge branch 'master' into trackFailedTests
2018-06-25 11:26:08 -07:00
Ron Buckton
f557d7cd1b
Adds support for gulp.watch
2018-06-22 00:09:21 -07:00
Ron Buckton
b7918bf92d
Fix runtests-parallel, tsserverlibrary, up-to-date checks
2018-06-21 21:27:46 -07:00
Ron Buckton
272e5554c8
Merge branch 'master' into gulpProjectRefs
2018-06-21 10:55:35 -07:00
Martin Probst
4b7208a79f
Fix the build on case-sensitive file systems.
...
Dashed locale names like `pt-BR` were misspelled as `pt-br` in several
locations.
This is a follow up fix to #23146 .
2018-06-21 13:52:53 +02:00
Ron Buckton
c8c0428162
Cleanup, remove some unneeded dependencies, make it easier to add gulp.watch support later
2018-06-20 18:24:12 -07:00
Ron Buckton
ad4338dd76
Remove excess exports from exec.js
2018-06-18 23:00:30 -07:00
Ron Buckton
21c23d4e4e
Merge branch 'master' into gulpProjectRefs
2018-06-18 22:51:37 -07:00
Ron Buckton
891b15f60a
Update gulpfile to support project references
2018-06-18 22:45:13 -07:00
Ron Buckton
0944c29a47
Adds failed test tracking
2018-06-18 13:25:29 -07:00
Wesley Wigham
657d0119cc
Dont use unreliable inodes for checking file identity ( #25008 )
...
* Dont use unreliable inode as unique identifier
* Just concat with `\n
* Introduce path-overriding code to allow local executables ot be found
2018-06-15 15:53:03 -07:00
Ron Buckton
23c7571e27
Merge branch 'master' into parallelAsyncTests
2018-06-15 13:26:27 -07:00
Ryan Cavanaugh
1bbe6610a4
Merge branch 'master' into esau-squash
2018-06-13 15:35:18 -07:00