-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate main to next up to the type validator changes (#9751)
* Type Validation Tool Improvements (#9674) Make core type validation logic async to support parallelism on io, and make main loop parrallel Improve error handling in core type validation logic Enable loading from packages without source (from .d.ts) as we strip source from some packages, like aqueduct Improve type handling, specifically add TypeOnly utility the recursively turns all types into typescript types, otherwise we hit problems with privates on classes. Switch to single back compat test (Previous). The old format was overkill. In this new way every version will validation only it's previous, which will create a chain of validations between all versions. We have functional e2e test that validate back compat requirements which are runtime, not compile time. To see changes in action look at #9673 * Add stress test for testing new fluid binary wire format (#9391) * Disbale batching test (#9678) * Fixing runWithRetry with abort signal when container closes (#9195) * Reenable unbound method lint rule and preemptive fixes (#9689) * [GitRest] Refactoring APIs to support storage name header (#9672) * [GitRest] Refactoring APIs to support storage name header * Addressing comments * [r11s] Allowing getOrCreateRepo to handle headers (#9691) * Enable type validation for all client packages (#9673) This change uses a new improved version of the type validation tool to generate validation tests for all packages (#9674). Generally this change in all done via automation, but there are a couple other changes. Remove type validation from existing packages, and move to new model Fix fluid-build non-conformant packages All automatic type validation generation is removed. It is to slow to run on every build. It should only need to be run after release, and in the presence of new breaking changes that must be suppressed * Fix type validator issues * Additional type validator fixes Co-authored-by: Tony Murphy <[email protected]> Co-authored-by: Jatin Garg <[email protected]> Co-authored-by: chensixx <[email protected]> Co-authored-by: Matt Rakow <[email protected]> Co-authored-by: Henrique Da Silveira <[email protected]>
- Loading branch information
1 parent
64afd91
commit dbb95bf
Showing
276 changed files
with
23,848 additions
and
12,754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
experimental/PropertyDDS/packages/property-properties/.eslintignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/index.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/*! | ||
* Copyright (c) Microsoft Corporation and contributors. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
/* | ||
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
* Generated by fluid-type-validator in @fluidframework/build-tools. | ||
*/ | ||
/* eslint-disable max-lines */ | ||
import * as old from "@fluidframework/cell-previous"; | ||
import * as current from "../../index"; | ||
|
||
type TypeOnly<T> = { | ||
[P in keyof T]: TypeOnly<T[P]>; | ||
}; | ||
|
||
/* | ||
* Validate forward compat by using old type in place of current type | ||
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: | ||
* "InterfaceDeclaration_ISharedCell": {"forwardCompat": false} | ||
*/ | ||
declare function get_old_InterfaceDeclaration_ISharedCell(): | ||
TypeOnly<old.ISharedCell>; | ||
declare function use_current_InterfaceDeclaration_ISharedCell( | ||
use: TypeOnly<current.ISharedCell>); | ||
use_current_InterfaceDeclaration_ISharedCell( | ||
get_old_InterfaceDeclaration_ISharedCell()); | ||
|
||
/* | ||
* Validate back compat by using current type in place of old type | ||
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: | ||
* "InterfaceDeclaration_ISharedCell": {"backCompat": false} | ||
*/ | ||
declare function get_current_InterfaceDeclaration_ISharedCell(): | ||
TypeOnly<current.ISharedCell>; | ||
declare function use_old_InterfaceDeclaration_ISharedCell( | ||
use: TypeOnly<old.ISharedCell>); | ||
use_old_InterfaceDeclaration_ISharedCell( | ||
get_current_InterfaceDeclaration_ISharedCell()); | ||
|
||
/* | ||
* Validate forward compat by using old type in place of current type | ||
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: | ||
* "InterfaceDeclaration_ISharedCellEvents": {"forwardCompat": false} | ||
*/ | ||
declare function get_old_InterfaceDeclaration_ISharedCellEvents(): | ||
TypeOnly<old.ISharedCellEvents<any>>; | ||
declare function use_current_InterfaceDeclaration_ISharedCellEvents( | ||
use: TypeOnly<current.ISharedCellEvents<any>>); | ||
use_current_InterfaceDeclaration_ISharedCellEvents( | ||
get_old_InterfaceDeclaration_ISharedCellEvents()); | ||
|
||
/* | ||
* Validate back compat by using current type in place of old type | ||
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: | ||
* "InterfaceDeclaration_ISharedCellEvents": {"backCompat": false} | ||
*/ | ||
declare function get_current_InterfaceDeclaration_ISharedCellEvents(): | ||
TypeOnly<current.ISharedCellEvents<any>>; | ||
declare function use_old_InterfaceDeclaration_ISharedCellEvents( | ||
use: TypeOnly<old.ISharedCellEvents<any>>); | ||
use_old_InterfaceDeclaration_ISharedCellEvents( | ||
get_current_InterfaceDeclaration_ISharedCellEvents()); | ||
|
||
/* | ||
* Validate forward compat by using old type in place of current type | ||
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: | ||
* "ClassDeclaration_SharedCell": {"forwardCompat": false} | ||
*/ | ||
declare function get_old_ClassDeclaration_SharedCell(): | ||
TypeOnly<old.SharedCell>; | ||
declare function use_current_ClassDeclaration_SharedCell( | ||
use: TypeOnly<current.SharedCell>); | ||
use_current_ClassDeclaration_SharedCell( | ||
get_old_ClassDeclaration_SharedCell()); | ||
|
||
/* | ||
* Validate back compat by using current type in place of old type | ||
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: | ||
* "ClassDeclaration_SharedCell": {"backCompat": false} | ||
*/ | ||
declare function get_current_ClassDeclaration_SharedCell(): | ||
TypeOnly<current.SharedCell>; | ||
declare function use_old_ClassDeclaration_SharedCell( | ||
use: TypeOnly<old.SharedCell>); | ||
use_old_ClassDeclaration_SharedCell( | ||
get_current_ClassDeclaration_SharedCell()); |
Oops, something went wrong.