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

fix: Update the skillHostEndpoint when settings.skill has value #8145

Merged
merged 3 commits into from Jun 24, 2021

Conversation

luhan2017
Copy link
Contributor

@luhan2017 luhan2017 commented Jun 21, 2021

Description

Previously, the logic to reset skillHostEndpoint in the publish process is:

  • when skillHostEndpoint has value, reset it to https://${hostname}.azurewebsites.net/api/skills
    This will cause an issue that when the bot has never been started from local, it will not be set in the publish process. which will cause a runtime error.

This fix is to Set skillHostEndpoint when settings.skill has value.

Closes #7856

Task Item

Screenshots

@luhan2017 luhan2017 changed the title Always update the skillHostEndpoint fix:Always update the skillHostEndpoint Jun 21, 2021
@cypress
Copy link

cypress bot commented Jun 21, 2021



Test summary

16 0 1 0Flakiness 0


Run details

Project Composer
Status Passed
Commit d304c72
Started Jun 22, 2021 1:42 AM
Ended Jun 22, 2021 1:50 AM
Duration 07:36 💡
OS Linux Ubuntu - 20.04
Browser Electron 89

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@coveralls
Copy link

coveralls commented Jun 21, 2021

Coverage Status

Coverage remained the same at 54.86% when pulling d304c72 on luhan/skillfix into e545ab8 on main.

@luhan2017 luhan2017 changed the title fix:Always update the skillHostEndpoint fix: Update the skillHostEndpoint when settings.skill has value Jun 21, 2021
extensions/azurePublish/src/node/deploy.ts Outdated Show resolved Hide resolved
@cwhitten cwhitten merged commit 1a9514b into main Jun 24, 2021
@cwhitten cwhitten deleted the luhan/skillfix branch June 24, 2021 04:21
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.

Composer doesn't add the skillendpoint to appsettings if you don't start the bot
4 participants