-
Notifications
You must be signed in to change notification settings - Fork 532
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
Automation: main-next integrate #18770
Merged
Merged
Conversation
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
## Description Make chunked forest stop depending on default-schema: it should work with any schema.
## Description This PR moves the `Multiplicity` enum out from `modular-schema` to the parent directory `feature-libraries`, to make chunkTree stop depending on `Multiplicity`, to help mitigate circular dependency issues.
## Description When an insertable tree is ambiguous, provide a better error message.
…tor-model and to capture some missing test cases (#18685) The key change here is updating `simple-suite-test.json`. This is a sample test report which the end-to-end tests use as input. The updates include: - Updating to a more recent version of the api-extractor schema and regenerating the contents against it - You will see (among other things) some changes to how signature contents are tokenized and displayed. - Updating the sample suite to update the release tags on a couple of items under `TestNamespace` - Makes 1 `@alpha`, 1 `@beta`, to ensure nested items are trimmed correctly via the changes made in #18663
## Description This PR updates the encoding of trees used in sharedTree changesets
…or the other (#18559) This change updates GC configuration and logic to transition unreferenced objects to TombstoneReady (and next GC will mark as Tombstone) then after a configurable delay, transitions to SweepReady (and next GC will delete). Context: Based on feedback from our 1P early adopters of GC, it's desirable to see an object be Tombstoned first, then later swept. For a document being actively used that hits a GC-impacting bug, this will cause the bug to manifest as a Tombstone error first, giving some reaction time (operationally) before the data is permanently lost.
## Description This PR adds a feature to log the entire service config during start of the service. During the logging, we want to redact any sensitive information from the logged config while not altering the config object itself. To redact secrets, we use `fast-redact`. We add a new optional parameter `secretsList`. The `ConfigDumper` object has a default list. If no list is provided, the default list will be used for redaction in case the values are found in the config. In case the user provides a list, it will be appended to the default list. The logging is done only if `config.configDumpEnabled` is set to true. ## Reviewer Guidance 1. Whether to use the `fast-redact` (https://www.npmjs.com/package/fast-redact) library or write our own recursive function to redact secrets before logging. 2. Creating a deep copy of the config object before logging to prevent the original config from getting corrupted. ### Unit test coverage 1) Ensure that the values in `secretNamesToRedactInConfigDump` are correctly redacted. 2) Ensure that the redacted object is not the same as the original config object if a value is redacted. 3) Ensure that the redacted object is not the same as the original config object if no value is redacted. 4) Should not throw an error if `secretNamesToRedactInConfigDump` values are not present in `nconf` 5) Should not throw an error if `secretNamesToRedactInConfigDump` contains duplicate values 6) Should redact keys inside nested objects in `secretNamesToRedactInConfigDump` ### FRS changes I plan to add the `config` object under the frs-shared configmap. This way it will be easy to maintain access every service. Additionally, I will update the shell extension files to have a list of default secrets to redact. This can be changed as per our needs. The review process is outlined on [this wiki page](https://github.com/microsoft/FluidFramework/wiki/PR-Guidelines#guidelines).
Enables d.ts trimmed rollup generation by default across the repo. Makes no changes to how the rollups are consumed, just adds generation to the build.
## Description Adds a no-op RevisionTag codec with the intent of supplying the runtime's IdCompressor in a subsequent PR to translate between Id spaces. ## Reviewer Guidance The review process is outlined on [this wiki page](https://github.com/microsoft/FluidFramework/wiki/PR-Guidelines#guidelines).
…riate rebase metadata (#18694)
## Description Adds a document describing tree2's strategy for managing persisted format, compatibility, and testing concerns. This document is largely a pared-down and updated version of #14954 to reflect the current state of things. --------- Co-authored-by: Abram Sanderson <[email protected]>
## Description Follow-up to #18600 to update the `relevantRemovedTrees` implementation. --------- Co-authored-by: Abram Sanderson <[email protected]> Co-authored-by: yann-achard-MS <[email protected]>
We are confident in the reliability of the GC code and have worked with key 1P early adopters of GC to enable Tombstone Enforcement. It's time to enable it by default.
…elease scope when rendering summary tables (#18687) #18663 Added the ability to filter what kinds of items should have documentation generated for them based on their release scope. It correctly implemented filtering where details rendering occurs (including when separate documents would be generated for those items), but did not correctly update rendering of top-level summary tables to filter out such items. This resulted in summary table entries with broken links to non-existent details entries. This PR addresses this issue. See updated test snapshots for examples of the issues now resolved. Also: - adds filter helpers to the public API via the `ApiItemUtilities` entrypoint. - Needed to ensure custom layout implementations can correctly filter child items - adds a transformation-level regression/unit test for the scenario.
## Description Migrating the OptionalField FieldKind to use root builds. ## Reviewer Guidance The review process is outlined on [this wiki page](https://github.com/microsoft/FluidFramework/wiki/PR-Guidelines#guidelines). --------- Co-authored-by: Yann Achard <[email protected]>
…drated `initialTree` input (#18707) Disabled test illustrates a currently unsupported input case that we will want to address in the future.
The auth in shared-tree-demo was returning the storage token as undefined. `password` grant type is not generally recommended for browser-side applications This PR replaces the auth using msal. ![image](https://github.com/microsoft/FluidFramework/assets/48232592/0a265b37-d72f-4571-b51d-fdd992a94403)
…#18713) ## Description The `setEndpoint` function for recording that the `finalEndpoint` field of a move mark should be changed expected that the entirety of the target range had the same move effects. This assumption is not valid, and this PR adds support for the case where it does not hold.
Fixes a bug in `jsonCursor` that made `{ foo: [] }` appear as `{ }`
## Description Cleanup, fix and document stuff I ran into when exploring recursive maps and lists. This does not include improved recursion: this is just other stuff I hit while looking into that.
This PR patches the repo version of tsc-multi with the contents of this PR: tylerbutler/tsc-multi#1 This change will enable tsc-multi to rewrite the local imports in declaration (.d.ts) files just like it does for js files. This is opt-in behavior in the tsc-multi config. tsc-multi will not rename the declaration files so that will need to be done separately (see the changes in #18645 for examples of how we're going to do the renames).
…ation for trimming alpha docs (#18705) Updates `@fluid-tools/api-markdown-documenter` from `0.11.1` to `0.11.3`. Also adds commented-out config change so we can quickly change the docs trimming policy once the repo's release tags are sorted out. AB#6469
Fixing automation build errors due to out of date pnpm-lock files Co-authored-by: Tony Murphy <[email protected]>
…sweep runs (#18632) ## Description This PR adds a new container runtime op type: GC. This is specific to garbage collection and will be sent when GC runs. It has a sub-type to categorize it within the garbage collector. There is currently only one sub-type `Sweep` that contains the list of nodes that are ready to be deleted. The format is made flexible to support more GC op types in the future. This PR updates the sweep phase flow to the following during summarization: 1. When sweep phase runs, it identifies nodes that are sweep ready, i.e., ready to be deleted. 2. The sweep ready data store and blob ids are sent in a GC op (sub-type Sweep). 3. When the op is received, the sweep ready nodes will be deleted. 3.1. Before this PR, the sweep ready nodes are deleted in the sweep phase itself. 3.2. Note that all clients that receive this op will delete the sweep ready nodes. 4. The deleted node list will be updated. 5. The next summary / GC tree will not include the deleted nodes. 5.1. Before this PR, the deleted nodes would be removed frome the GC tree in the same summary where sweep runs and removed from the summary tree in the next summary. With this new flow, all clients will be up-to-date with the state of deleted nodes and can ensure that deleted objects are not used and do not cause document corruption - Currently, its possible that a client has the deleted data store loaded (due to a bug) and keeps sending ops for it until it loads with a summary that has the object deleted.
🔗 Found some broken links! 💔 Run a link check locally to find them. See linkcheck output
|
sonalideshpandemsft
approved these changes
Dec 12, 2023
⯅ @fluid-example/bundle-size-tests: +5.31 KB
Baseline commit: 425e143 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
main-next integrate PR
DO NOT MERGE THIS PR USING THE GITHUB UI.
The aim of this pull request is to sync main and next branch. If this PR is assigned to you, you need to do the following:
git commit --amend -m "Automation: main-next integrate"
git push --force-with-lease
Once CI passes and the PR is ready to merge, add the "msftbot: merge-next" label to the PR and one of the people with merge permissions will merge it in.