Skip to content
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

🤖 User test baselines have changed for refs/heads/master #42842

Merged
merged 1 commit into from Apr 6, 2021

Conversation

typescript-bot
Copy link
Collaborator

This test run was triggerd by a request on #33716
Please review the diff and merge if no changes are unexpected.
You can view the build log here.

cc @microsoft/typescript

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Feb 17, 2021
@typescript-bot
Copy link
Collaborator Author

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@typescript-bot typescript-bot force-pushed the user-baseline-updates branch 26 times, most recently from b5b884d to f2dc61d Compare February 23, 2021 15:15
@typescript-bot typescript-bot force-pushed the user-baseline-updates branch 7 times, most recently from 86bcd22 to e1323e8 Compare April 1, 2021 04:53
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finished looking at the docker tests.

--[ FAILURE: @azure/dev-tool ]-------------------------------[ ? seconds ]--
Invoking: tsc
src/commands/about.ts(39,44): error TS1109: Expression expected.
src/commands/about.ts(39,51): error TS1005: ':' expected.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like errors from a version that doesn't support ??:

const dirs = (options.directory ?? [process.cwd()]).map((p) => path.resolve(p));

Which means our tsc insertion is probably broken.

@weswigham can you look at this?

@@ -3,22 +3,22 @@ Standard output:
yarn run vX.X.X
$ node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
[XX:XX:XX] [monaco.d.ts] monaco.d.ts is changed - total time took ?s
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(130,36): Expected 7 arguments, but got 6.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broken in #42890; the associated fixup PR microsoft/vscode#117092 doesn't cover this line of code.

@andrewbranch can you look at this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning: dist/packages/compiler-core/src/options.d.ts:151:43 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
Warning: dist/packages/compiler-core/src/options.d.ts:151:35 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
Warning: dist/packages/compiler-core/src/options.d.ts:151:36 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was fixed in Jan 4. I think the tsc version is wrong here too -- it must be 4.1 or older.

@@ -136,7 +136,6 @@ node_modules/adonis-framework/src/Response/index.js(56,7): error TS1056: Accesso
node_modules/adonis-framework/src/Response/index.js(68,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Response/index.js(76,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Response/index.js(95,16): error TS2304: Cannot find name 'Html'.
node_modules/adonis-framework/src/Response/index.js(144,12): error TS1003: Identifier expected.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@link parsing

@@ -178,9 +178,6 @@ node_modules/bluebird/js/release/using.js(78,20): error TS2339: Property 'doDisp
node_modules/bluebird/js/release/using.js(92,14): error TS2339: Property 'constructor$' does not exist on type 'FunctionDisposer'.
node_modules/bluebird/js/release/using.js(97,23): error TS2339: Property 'data' does not exist on type 'FunctionDisposer'.
node_modules/bluebird/js/release/using.js(223,15): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/bluebird/js/release/util.js(279,45): error TS2345: Argument of type 'PropertyDescriptor | { value: any; } | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's either different behaviour with union signatures or module.exports w/control flow

@@ -3578,11 +3593,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings/BlackboxManager.js(341,
node_modules/chrome-devtools-frontend/front_end/bindings/BlackboxManager.js(351,31): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'.
node_modules/chrome-devtools-frontend/front_end/bindings/BlackboxManager.js(362,31): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'.
node_modules/chrome-devtools-frontend/front_end/bindings/BlackboxManager.js(375,9): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(54,5): error TS2322: Type 'Multimap<string | K, V | Breakpoint>.Multimap<string | K, V | Breakpoint>' is not assignable to type 'Multimap<string, Breakpoint>'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

improvement, although I'm not sure it's an improvement in constructor-control-flow for properties, contextual typing for inference or a fix to instantiation in JS.

@@ -4919,8 +5038,6 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1764,7): e
'this' could be instantiated with an arbitrary type which could be unrelated to 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1764,43): error TS2345: Argument of type 'this' is not assignable to parameter of type 'NODE_TYPE'.
'NODE_TYPE' could be instantiated with an arbitrary type which could be unrelated to 'this'.
Type 'DataGridNode<NODE_TYPE>' is not assignable to type 'NODE_TYPE'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

improvement in elaboration probably

The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<Promise<ComputedStyle> | Promise<CSSMatchedStyles>, any>' is not assignable to type 'IteratorResult<ComputedStyle | PromiseLike<ComputedStyle>, any>'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type sorting



Standard error:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UH OH

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't repro locally or with a standalone compile

lib/birthday.js(5,20): error TS2538: Type 'Buffer' cannot be used as an index type.
lib/bugs.js(44,17): error TS2554: Expected 0 arguments, but got 2.
lib/cache.js(108,32): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
lib/access.js(27,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Access'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is new code in npm. tsc doesn't like it

lib/access.js(27,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Access'.
lib/adduser.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'AddUser'.
lib/audit.js(14,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Audit'.
lib/base-command.js(15,29): error TS2339: Property 'description' does not exist on type 'Function'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same. this is kind of a pattern with npm...

@typescript-bot typescript-bot force-pushed the user-baseline-updates branch 17 times, most recently from fd2ed65 to 66f5286 Compare April 6, 2021 04:51
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge these changes because I'm tired of looking at them and they're hurting my ability to diff incoming PRs.

@sandersn sandersn merged commit a56baa7 into microsoft:master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants