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

testing: fix proposed obsever API not rebuilding test tree #207206

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

connor4312
Copy link
Member

Use the new prefix tree implementation.

@connor4312 connor4312 enabled auto-merge (squash) March 8, 2024 22:05
@VSCodeTriageBot VSCodeTriageBot added this to the March 2024 milestone Mar 8, 2024
Use the new prefix tree implementation.
@connor4312 connor4312 force-pushed the connor4312/test-observer-results branch from dbd80d8 to 1f23437 Compare March 8, 2024 22:06
@@ -296,7 +295,7 @@ export class ExtHostTesting extends Disposable implements ExtHostTestingShape {
public $publishTestResults(results: ISerializedTestResults[]): void {
this.results = Object.freeze(
results
.map(r => deepFreeze(Convert.TestResults.to(r)))
.map(Convert.TestResults.to)
Copy link
Member Author

@connor4312 connor4312 Mar 8, 2024

Choose a reason for hiding this comment

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

We apparently cannot deep freeze objects with URIs, since it causes some getters that cache stuff internally to error out

@connor4312 connor4312 merged commit 877a181 into main Mar 8, 2024
6 checks passed
@connor4312 connor4312 deleted the connor4312/test-observer-results branch March 8, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants