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

Integrate Asset-Sync Features #23405

Merged
merged 34 commits into from
Nov 15, 2022
Merged

Integrate Asset-Sync Features #23405

merged 34 commits into from
Nov 15, 2022

Conversation

scbedd
Copy link
Member

@scbedd scbedd commented Oct 4, 2022

@HarshaNalluru @timovv Sorry for the delay here! I intended on having this ready for you by last Thursday but failures wait for no one :(

I have some of the node tests passing, but I'm seeing failures that make no sense to me. (all of the test-utils pass still)

It's claiming it can't find the file after restoring the recordings. I'm digging into those failures. Wondering if there is anything special about those test cases.

EDIT 11/1: Green for browser tests now (including on textanalytics). Just need to adjust for feedback.

Resolves Azure/azure-sdk-tools#4256

@HarshaNalluru
Copy link
Member

Thanks, @scbedd, will take a look.

@scbedd
Copy link
Member Author

scbedd commented Oct 5, 2022

PR Resolving the test-proxy issue breaking these tests.

@kurtzeborn kurtzeborn assigned kurtzeborn and scbedd and unassigned kurtzeborn Oct 10, 2022
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@scbedd scbedd marked this pull request as ready for review November 3, 2022 20:57
Copy link
Member

@timovv timovv left a comment

Choose a reason for hiding this comment

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

Thanks for the hard work on this Scott! I had a couple of queries. Some of them are just style-related, but I'd like to get your thoughts on just using the working directory to calculate the path.

sdk/test-utils/recorder/src/utils/utils.ts Outdated Show resolved Hide resolved
sdk/test-utils/recorder/src/utils/utils.ts Outdated Show resolved Hide resolved
sdk/test-utils/recorder/src/utils/utils.ts Outdated Show resolved Hide resolved
scbedd and others added 4 commits November 7, 2022 10:07
Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
…er.ts

Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
@scbedd
Copy link
Member Author

scbedd commented Nov 14, 2022

❤️ your commits on this Harsha. Thanks for the rewrite 👍

Copy link
Member

@timovv timovv left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks Harsha for the follow up.

I did have one broader follow-up question (but happy to merge as-is) -- now that we're enforcing that the assets.json must be at the package level, is there anything actually stopping us from calculating the assets path as ${relativeRecordingsPath()}/../assets.json? That would simplify a lot and would mean we wouldn't need to add the extra environment variable.

@scbedd
Copy link
Member Author

scbedd commented Nov 15, 2022

Looks good! Thanks Harsha for the follow up.

I did have one broader follow-up question (but happy to merge as-is) -- now that we're enforcing that the assets.json must be at the package level, is there anything actually stopping us from calculating the assets path as ${relativeRecordingsPath()}/../assets.json? That would simplify a lot and would mean we wouldn't need to add the extra environment variable.

Will the .. remain unresolved? I'm pretty certain the test-proxy would handle it.

I don't mind any adjustments. At the end of the day @timovv if that's how you'd like it, throw a commit on here that changes the behavior. If everything checks out then 👍

@scbedd scbedd assigned timovv and HarshaNalluru and unassigned scbedd Nov 15, 2022
timovv
timovv previously requested changes Nov 15, 2022
Copy link
Member

@timovv timovv left a comment

Choose a reason for hiding this comment

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

Blocking so we don't forget to remove the Text Analytics changes before merging.

@timovv timovv dismissed their stale review November 15, 2022 21:43

Unblocking

@HarshaNalluru HarshaNalluru enabled auto-merge (squash) November 15, 2022 21:49
@HarshaNalluru HarshaNalluru merged commit 312a78f into main Nov 15, 2022
@HarshaNalluru HarshaNalluru deleted the feature/integrate-assetsync branch November 15, 2022 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate asset-sync w/ azure-sdk-for-js
5 participants