Граф коммитов

661 Коммитов

Автор SHA1 Сообщение Дата
Tyler Butler 38f38cc45f Automation: Main Next Integrate 2023-01-25 11:28:38 -08:00
Tyler Butler 30284350ba
build(client): Upgrade build-tools dependency to 0.8.0 (#13790)
Upgrading to the build-tools release in preparation for a client
release.
2023-01-25 10:49:24 -08:00
Matt Rakow a369388d41
build: Remove @fluid-experimental/get-container package (#13781)
It's been deprecated since 0.39 in #5838, and with #13773 it no longer has any usages in the FluidFramework repo.  This change removes it.
2023-01-25 01:11:08 +00:00
Sonali Deshpande 332e002d24 Main to next 2023-01-24 09:32:45 -06:00
Roland Ruiters-Christou 1a23486893
Fix/property dds/summarization bug (#13208)
This PR introduce a bug fix for PropertyDDS summarizer, where users
could end-up with inconsistent state in a very spefic scenario described
in more details in the
[test](https://github.com/microsoft/FluidFramework/compare/main...nedalhy:FluidFramework:fix/property_dds/summarization_bug?expand=1#diff-4e672dc85e3021cf5cf96522a3bcf6653dfaaf10639ef2bf0c3de0a12fc8870eR91)
.

This is a fixed version of the PR
https://github.com/microsoft/FluidFramework/pull/13084. I added a fix to
ensure backwards compatibility to summaries that have been generate
before by clients without the fix.

Co-authored-by: Nedal Horany <nedalhy@gmail.com>
2023-01-23 08:52:34 -08:00
Roland Ruiters-Christou 91e6a32550
Added missing export to property binder. (#13256)
This adds a missing export for the RemovalContext to propertyBinder.
2023-01-23 08:52:08 -08:00
Sonali Deshpande 7a24c035b0 Main to next 2023-01-22 21:39:12 -06:00
Tyler Butler 41397a2eb0
deps(client): Use latest build-tools prerelease (0.8.0-121856) (#13656)
Updated 4 dependencies across 103 packages. Also applied new
policy-check fixes.

Commands

```shell
flub bump deps build-tools -g client -t minor --prerelease
npm run policy-check:fix
```

Updated the following:

  client (release group)

Dependencies on build-tools updated:

  @fluid-tools/build-cli: ^0.8.0-121856
  @fluidframework/build-tools: ^0.8.0-121856
  @fluidframework/bundle-size-tools: ^0.8.0-121856
2023-01-20 14:56:19 -08:00
Sonali Deshpande 75f34d04e6 Main to next 2023-01-20 16:25:29 -06:00
Sonali Deshpande f23448876b Main to next 2023-01-20 13:53:33 -06:00
Tyler Butler b90f3fd21d
release(client): Update deps (latest) on released prerelease packages in the client release group (#13696)
Server 0.1038.2000 has been released, so bumping to the released version
on next.
2023-01-19 15:32:21 -08:00
Curtis Man 19b152223c
[build] Delete empty test directory and fix building empty project in worker mode (#13679) 2023-01-18 19:20:29 -08:00
Tyler Butler b8e965067b
deps(client): Add missing dependencies (#13667)
Adds missing dependencies that were found while investigating switching
to pnpm.
2023-01-18 15:49:42 -08:00
Tyler Butler 120435a464
release(client): Bump 2.0.0-internal.2.3.0 => 2.0.0-internal.2.4.0 (minor) (#13632)
Bumped client from 2.0.0-internal.2.3.0 to 2.0.0-internal.2.4.0.

Commands used:

```shell
flub bump client -t minor
```
2023-01-17 16:29:40 -08:00
taylorsw04 6794518556
fix: Handle creation range interleaving (#13640)
This PR fixes an issue in the compressor in which the normalizer was
unaware of the creation of unallocated final IDs (via cluster
creation/expansion) and thus incorrectly allocated duplicate eager final
IDs. This scenario occurs when range finalizing is slow (e.g. high
latency network) and results in duplicate IDs being handed to the user
of SharedTree.

This PR will be followed by another that makes the same changes in the
non-experimental compressor.
2023-01-17 13:05:27 -08:00
Sonali Deshpande bc078bb776 Main to next 2023-01-17 13:13:05 -06:00
Tyler Butler f50403616e
deps(client): Add missing dependencies (#13612)
This PR was pulled out of #13554.

Adds missing dependencies for a bunch of packages. These missing
dependencies were found while switching to pnpm, which is much stricter
in its dependency behavior.
2023-01-13 17:03:44 -08:00
Tyler Butler bd8adac8bf
fix: Remove unused @types/node dependencies (#13598)
Remove unused @types/node dependencies.

[AB#3098](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/3098)
2023-01-13 13:04:40 -08:00
Joshua Smithrud d183f0aa2f
feat: Add `readOnly` prop to react-input types and update docs (#13605)
Intended to be used in some client debugger views.
2023-01-12 16:14:19 -08:00
Rishhi Balakrishnan a85ad77445
Fix event deps on main (#13579)
Affects the following packages:

@fluid-experimental/partial-checkout
@fluid-experimental/property-inspector
@fluid-experimental/data-objects
@fluidframework/container-definitions
@fluidframework/matrix
@fluid-experimental/quorum
@fluid-experimental/task-manager
@fluidframework/iframe-driver
@fluidframework/local-driver
@fluidframework/undo-redo
@fluidframework/container-loader
@fluidframework/container-runtime
@fluidframework/test-runtime-utils - already has
import/no-nodejs-modules rule
@fluid-internal/functional-tests

Co-authored-by: Tyler Butler <tyler@tylerbutler.com>
2023-01-11 16:32:35 -08:00
Joshua Smithrud c1b62a6c4f
Merge branch 'next' into main-next-685f7f37175f93ed17c7fae0f1f370a09a027aa4 2023-01-05 10:08:20 -08:00
Joshua Smithrud f28a346038
build: Add missing dev dependencies (#13477)
Package uses `build-common` for its api-extractor config, and extends
`eslint-config-fluid` in its eslint config. Since these deps were not
used in code, their being missing was not detected by our tooling.
2023-01-03 13:35:42 -08:00
msftbot[bot] 2e564fef9a
Automation: Main Next Integrate (#13464)
## Main-next integrate PR

  The aim of this pull request is to sync main and next branch. The expectation from the assignee is as follows:

  > - Acknowledge the pull request by adding a comment -- "Actively working on it".
  > - Resolve any merge conflicts between this branch and next (and push the resolution to this branch). Merge next into this branch if needed. **Do NOT rebase or squash this branch: its history must be preserved**.
  > - Ensure CI is passing for this PR, fixing any issues. Please don't look into resolving **Real service e2e test** and **Stress test** failures as they are **non-required** CI failures.
  > - Once the PR is ready for merge, please add a comment @mentioning the reviewers to get this PR merged in. Thank you!!

  For more information about how to resolve merge conflicts and CI failures, visit [this wiki page]
  (https://github.com/microsoft/FluidFramework/wiki/Main-next-Automation).
2022-12-28 22:23:32 +00:00
Scarlett Lee a5867d0033
Rename postion to position (#13462) 2022-12-28 13:43:52 -08:00
Joshua Smithrud adad9511f2 Merge branch 'next' into main-next-da90a4486ea5d38d61a89042d178834c08267999 2022-12-15 20:40:21 +00:00
msftbot[bot] 0e8be6bcdc
Automation: Main Next Integrate (#13391)
## Main-next integrate PR

  The aim of this pull request is to sync main and next branch. The expectation from the assignee is as follows:

  > - Acknowledge the pull request by adding a comment -- "Actively working on it".
  > - Resolve any merge conflicts between this branch and next (and push the resolution to this branch). Merge next into this branch if needed. **Do NOT rebase or squash this branch: its history must be preserved**.
  > - Ensure CI is passing for this PR, fixing any issues. Please don't look into resolving **Real service e2e test** and **Stress test** failures as they are **non-required** CI failures.
  > - Once the PR is ready for merge, please add a comment @mentioning the reviewers to get this PR merged in. Thank you!!

  For more information about how to resolve merge conflicts and CI failures, visit [this wiki page]
  (https://github.com/microsoft/FluidFramework/wiki/Main-next-Automation).
2022-12-15 17:15:12 +00:00
Joshua Smithrud da90a4486e
refactor: Bump deps on `@fluidframework/eslint-config-fluid` to `2.0.0` in client packages and fix linter violations (#13336)
Note: `@fluidframework/eslint-config-fluid`'s default export was updated
from `minimal` to `recommended`.
 i.e...
- A config `extends` change from "@fluidframework/eslint-config-fluid"
to "@fluidframework/eslint-config-fluid/minimal" indicates no config
variant change (it continues to extend "minimal" as it did before).
- No config `extends` change indicates that the package's config was
promoted from "minimal" to "recommended".

Strategy taken:
- If packages satisfy `recommended` config (new default), let them
passively upgrade base config.
- If violations against `recommended` in a package are fairly minimal,
clean them up and let them passively upgrade base config.
- Otherwise, explicitly use `minimal` config (previous default).

This PR also...
- removes now-unneeded rule overrides in package-local configs.
- cleans up a number of unneeded eslint-disable directives across the
codebase.
- Primarily removes `max-len` disables, as that rule is now globally
removed in favor of prettier.

### Packages upgraded from `minimal` to `recommended`

- packages/common/driver-definitions
- packages/dds/counter
- packages/dds/test-dds-utils
- packages/drivers/odsp-urlResolver
- packages/framework/tinylicious-driver
- packages/framework/oldest-client-observer
- packages/framework/test-client-utils
- packages/framework/view-adapters
- packages/framework/view-interfaces
- packages/runtime/container-runtime-definitions
- packages/test/test-driver-definitions
- packages/test/test-gc-sweep-tests
- examples/data-objects/canvas
- examples/data-objects/monaco
- examples/data-objects/multiview/constellation-model
- examples/data-objects/multiview/coordinate-model
- examples/data-objects/multiview/plot-coordinate-view
- examples/data-objects/multiview/slider-coordinate-view
- examples/data-objects/multiview/triangle-view
- experimental/examples/bubblebench/baseline
- experimental/examples/bubblebench/common
- experimental/framework/get-container
- experimental/framework/last-edited
- experimental/PropertyDDS/examples/schema
2022-12-14 16:09:20 -08:00
Scott Norton 90eb3777a0 Merge remote-tracking branch 'origin/next' into main-next-9a4b7d88df8eecc218812c40370994c6e34ae2bb 2022-12-14 21:12:40 +00:00
msftbot[bot] 159b7e0b6b
Automation: Main Next Integrate (#13375)
## Main-next integrate PR

  The aim of this pull request is to sync main and next branch. The expectation from the assignee is as follows:

  > - Acknowledge the pull request by adding a comment -- "Actively working on it".
  > - Resolve any merge conflicts between this branch and next (and push the resolution to this branch). Merge next into this branch if needed. **Do NOT rebase or squash this branch: its history must be preserved**.
  > - Ensure CI is passing for this PR, fixing any issues. Please don't look into resolving **Real service e2e test** and **Stress test** failures as they are **non-required** CI failures.
  > - Once the PR is ready for merge, please add a comment @mentioning the reviewers to get this PR merged in. Thank you!!

  For more information about how to resolve merge conflicts and CI failures, visit [this wiki page]
  (https://github.com/microsoft/FluidFramework/wiki/Main-next-Automation).
2022-12-14 19:20:15 +00:00
Scott Norton 13e955e170 Merge remote-tracking branch 'origin/next' into main-next-d848c292086fadfd27279c3d2f8a8a9f68be5a3f 2022-12-14 15:11:25 +00:00
Abram Sanderson 99688b3d8c
Send telemetry on failed-to-apply changes in experimental SharedTree (#13362) 2022-12-13 17:25:32 -08:00
Alex Villarreal 5ae500f075 Merge branch 'next' into main-next-f6434f3f0a5231d062446fd0ead757e68ec1008e 2022-12-11 00:00:33 -06:00
Daniel Madrid 3e193c722b
[bump] client: 2.0.0-internal.2.2.0 => 2.0.0-internal.2.3.0 (minor) (#13334)
Bumped client from 2.0.0-internal.2.2.0 to 2.0.0-internal.2.3.0.
2022-12-09 10:52:13 -08:00
Daniel Madrid 484d8f5d30
Update deps (latest) on released prerelease packages in the client re… (#13324)
...lease group
2022-12-08 19:36:53 -08:00
justus-camp 05000808d1
Compressor telemetry (#13263)
Fixes telemetry for the IdCompressor and also adds telemetry for summary size
2022-12-08 11:35:11 -08:00
Scott Norton d79201c208 Merge remote-tracking branch 'origin/next' into main-next-85bbcceb9809ae0c8e6678dfe5be7830ba8331a0 2022-12-08 14:22:26 +00:00
jikim-msft d848c29208
update nconf and async in client the release group (#13289)
#### Description 
https://dev.azure.com/fluidframework/internal/_workitems/edit/1168/

Initial PR failed due to fail in `async`'s breaking change. 
SubPR to Fix the Issue:
https://github.com/microsoft/FluidFramework/pull/13220

This PR updates `async` and `nconf` in FF repo
2022-12-07 14:05:59 -08:00
msftbot[bot] 03cb6c1c78
Automation: Main Next Integrate (#13278)
## Main-next integrate PR

  The aim of this pull request is to sync main and next branch. The expectation from the assignee is as follows:

  > - Acknowledge the pull request by adding a comment -- "Actively working on it".
  > - Resolve any merge conflicts between this branch and next (and push the resolution to this branch). Merge next into this branch if needed. **Do NOT rebase or squash this branch: its history must be preserved**.
  > - Ensure CI is passing for this PR, fixing any issues. Please don't look into resolving **Real service e2e test** and **Stress test** failures as they are **non-required** CI failures.
  > - Once the PR is ready for merge, please add a comment @mentioning the reviewers to get this PR merged in. Thank you!!

  For more information about how to resolve merge conflicts and CI failures, visit [this wiki page]
  (https://github.com/microsoft/FluidFramework/wiki/Main-next-Automation).
2022-12-07 18:57:10 +00:00
Roland Ruiters-Christou 59f863a1b6
Fixed propertyDDS array setValues performance. (#13255)
This improves the performance of the setValues operation, because we no longer update every entry in the array separately, but directly update the whole range.
2022-12-07 09:09:14 -08:00
jikim-msft 01f85899e2
Skip failing tests in @expermental/property-query (#13220)
#### Description
https://dev.azure.com/fluidframework/internal/_workitems/edit/1168/

#### Related PRs
- https://github.com/microsoft/FluidFramework/pull/13221
- https://github.com/microsoft/FluidFramework/pull/13151
- https://github.com/microsoft/FluidFramework/pull/13149

#### Objective 

As there exists a vulnerability in `async:3.2.0`, this PR attempts to
update experimental 's `async` from `3.2.x` to `3.2.2` (as recommended
in the ADO).

However, updating the version causes errors in
`experimental/PropertyDDS/packages/property-query`.
 
The errors are raised from `branch_write_queue.spec.js` and messages are
as following:
- `should resolve the promise with success for all`
- `should check the branch state for the head only once`
- `should create each commit`
- `should have created the commits in the right order`
- `should resolve the first commit, reject the second one`

The test passes at `async:3.3.0` and starts failing from `3.2.1`. This
is quite odd considering that patch fixes minor problems and should not
have any breaking changes ([async/CHANGELOG.md at master · caolan/async
(github.com)](https://github.com/caolan/async/blob/master/CHANGELOG.md)) 

As the failure is not currently used in production, this PR will discard
the tests in `branch_write_queue.spec.js` and let the update in `async`
version to pass. Afterwards, we would contact the Autodesk for their
feedback.
2022-12-06 11:15:40 -08:00
jikim-msft 49580de918
Add prettier in experimental (#13224)
### Description

Add prettier infrastructure repo-wide (enforcement disabled)
https://dev.azure.com/fluidframework/internal/_workitems/edit/2118/

Deliberately not added `prettier` in 
- PropertyDDS/property-query
- services/property-query-service 

#### Objective 
- Enable `format` script which will do the following:
- Root of Release Group: `"format": "lerna run format --no-sort --stream
-- -- -- --color"`
    - Root of Package: `"format": "npm run prettier:fix"`
- Add `prettier.config.cjs` in the root 
- Extend `prettier` in `eslintrc.js` 

#### Related PRs

- Update Tree's `prettier` from `2.3.1` to `2.6.2.`

- ✔️`azure`
https://github.com/microsoft/FluidFramework/pull/12932

- ✔️`server`
https://github.com/microsoft/FluidFramework/pull/12940

- `tools`
https://github.com/microsoft/FluidFramework/pull/12970

- `packages/common`
https://github.com/microsoft/FluidFramework/pull/12987

- `packages/dds`
https://github.com/microsoft/FluidFramework/pull/12998

- `packages/drivers`
https://github.com/microsoft/FluidFramework/pull/13004

- `packages/framework`
https://github.com/microsoft/FluidFramework/pull/13007

- `packages/loader`
https://github.com/microsoft/FluidFramework/pull/13008

- `packages/runtime`
https://github.com/microsoft/FluidFramework/pull/13010

- `packages/test`
https://github.com/microsoft/FluidFramework/pull/13011

- `packages/tools`
https://github.com/microsoft/FluidFramework/pull/13012

- `packages/utils`
https://github.com/microsoft/FluidFramework/pull/13013

- `experimental`
https://github.com/microsoft/FluidFramework/pull/13024

- `examples` 
https://github.com/microsoft/FluidFramework/pull/13016
2022-12-05 17:14:33 -08:00
Scott Norton cc09854e12 Merge remote-tracking branch 'origin/next' into main-next-b1dbfc00c7f8f3a09555024a1c138994d42580a0 2022-12-02 14:16:57 +00:00
Alexander Pardes 9dbfb40266 Merge branch 'next' of https://github.com/microsoft/FluidFramework into main-next-9cd2a26afdb0b81e397717e6305601a92ad6f29e 2022-11-30 13:00:02 -08:00
Kajari Ghosh 5c18663042
Better GC for sequence, map and matrix memory performance tests (#13077)
Applying the more accurate memory tests from
https://github.com/microsoft/FluidFramework/pull/11797 and 
https://github.com/microsoft/FluidFramework/pull/13111 with 
garbage collection in the right spots to SharedMatrix, SharedMap,
SharedDirectory and SharedSequence.
2022-11-30 09:20:05 -08:00
Jenn 2f75d036b2
Abort legacy SharedTree revert early if a change can't be applied (#13097)
Adds an additional check to abort `revert` early. No corresponding
regression test is added because this issue was found through
manipulation of the code that isn't present in main. This improvement
will handle issues not already caught by the existing specific
malformed/invalid checks.

Co-authored-by: Noah Encke <78610362+noencke@users.noreply.github.com>
2022-11-28 14:37:39 -08:00
Tyler Butler 31aac6ecbd Automation: Main Next Integrate 2022-11-22 15:53:02 -08:00
Tyler Butler 792200102f
Prepare and generate typetests on main (#13029)
I manually updated the npm scripts to call flub with the correct
arguments etc. Relevant changes:

- Uses the `--pin` argument to pin the version in package.json to the
maximum matching released version. This should help with the lockfile
issues we have discovered.
- All generated files now include `.generated` in their name and old
files were deleted. This was detected as a rename by git.

See #12849 or `typetestDetails.md` for documentation on semantics of
these changes.

Then I did the following steps to configure the baselines and generate
tests.

1. `npm run typetests:prepare -- -b main --reset` - this reset all type
test overrides and set the baseline versions according to the main
branch config. For the client release group this is `~previousMinor`,
which corresponds to version 2.0.0-internal.2.1.0.
2. `npm i` - installed new versions of packages.
3. `npm run typetests:gen -- -b main` - this regenerated the typetests.
4. Ran a build and added back broken test overrides as needed.
5. Disabled tests in some packages like PropertyDDS. 

I also did roughly the same steps for the independent packages.
2022-11-22 10:16:07 -08:00
msftbot[bot] 53b6f19e68
Automation: Main Next Integrate (#13036)
## Main-next integrate PR

  The aim of this pull request is to sync main and next branch. The expectation from the assignee is as follows:

  > - Acknowledge the pull request by adding a comment -- "Actively working on it".
  > - Resolve any merge conflicts between this branch and next (and push the resolution to this branch). Merge next into this branch if needed. **Do NOT rebase or squash this branch: its history must be preserved**.
  > - Ensure CI is passing for this PR, fixing any issues. Please don't look into resolving **Real service e2e test** and **Stress test** failures as they are **non-required** CI failures.
  > - Once the PR is ready for merge, please add a comment @mentioning the reviewers to get this PR merged in. Thank you!!

  For more information about how to resolve merge conflicts and CI failures, visit [this wiki page]
  (https://github.com/microsoft/FluidFramework/wiki/Main-next-Automation).
2022-11-21 17:25:30 +00:00
jikim-msft 83f1cb0a52
add prettier to packages/common (#12987)
### Description

Add prettier infrastructure repo-wide (enforcement disabled)
https://dev.azure.com/fluidframework/internal/_workitems/edit/2118/


#### Objective 
- Enable `format` script which will do the following:
- Root of Release Group: `"format": "lerna run format --no-sort --stream
-- -- -- --color"`
    - Root of Package: `"format": "npm run prettier:fix"`
- Add `prettier.config.cjs` in the root 
- Extend `prettier` in `eslintrc.js` 

#### Related PRs

- Update Tree's `prettier` from `2.3.1` to `2.6.2.`

- `azure`
https://github.com/microsoft/FluidFramework/pull/12932

- `server`
https://github.com/microsoft/FluidFramework/pull/12940

- `tools`
https://github.com/microsoft/FluidFramework/pull/12970

- `packages/common`
https://github.com/microsoft/FluidFramework/pull/12987

- `packages/dds`
https://github.com/microsoft/FluidFramework/pull/12998

- `packages/drivers`
https://github.com/microsoft/FluidFramework/pull/13004

- `packages/framework`
https://github.com/microsoft/FluidFramework/pull/13007

- `packages/loader`
https://github.com/microsoft/FluidFramework/pull/13008

- `packages/runtime`
https://github.com/microsoft/FluidFramework/pull/13010

- `packages/test`
https://github.com/microsoft/FluidFramework/pull/13011

- `packages/tools`
https://github.com/microsoft/FluidFramework/pull/13012

- `packages/utils`
https://github.com/microsoft/FluidFramework/pull/13013

Co-authored-by: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com>
2022-11-18 16:10:17 -08:00
Tyler Butler f0b74af96b Merge main into next 2022-11-18 11:42:38 -08:00