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

build: vs 17.13 P1 sprint release #12564

Merged
merged 64 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d5f47fa
build: update SDK dependency version
yiqing-zhao Sep 5, 2024
ae19694
Merge branch 'dev' into yiqingzhao/sdk
yiqing-zhao Sep 13, 2024
2e5dc37
build: add peer dependency
yiqing-zhao Sep 13, 2024
e357e0d
ci: remove publish workflow since ttk need code sign (#12440)
wenytang-ms Sep 24, 2024
fbc1e5c
remove Welcome Message in copilot templates (#12442)
QinghuiMeng-M Sep 24, 2024
1804b92
fix: sample app tags are not read (#12439)
HuihuiWu-Microsoft Sep 24, 2024
766b570
feat: update sdk major version and remove deprecated codes
Sep 24, 2024
488cc0b
fix: trim manifest short name (#12443)
jayzhang Sep 25, 2024
f88679d
fix(vsc): notification message change (#12447)
tecton Sep 25, 2024
9102412
fix: fix ut tests
Sep 25, 2024
18b7f1e
Merge branch 'dev' into yiqingzhao/sdk
Sep 25, 2024
8ef7dda
feat: update sdk-react version and remove deprecated codes
Sep 25, 2024
ea153ff
test: fix unit test in sdk-react
Sep 26, 2024
de0fdaa
perf(ai-generator): update action generate logic (#12457)
SLdragon Sep 26, 2024
1b70004
test: remove unused e2e tests
Sep 26, 2024
f284f06
feat: update certificate hash algorithm to sha256
Sep 26, 2024
1c36fb9
perf(ai-generator): update csharp ai generator template (#12460)
SLdragon Sep 26, 2024
d8792ed
feat: add zero prompts to python CEC (#12459)
frankqianms Sep 26, 2024
4caff8a
build: update dependencies
Sep 27, 2024
0b45340
build: update packages
Sep 27, 2024
751158f
build: update puppeteer
Sep 27, 2024
42731ff
Merge branch 'dev' into yiqingzhao/sdk
Sep 27, 2024
9a901bd
Merge pull request #12477 from OfficeDev/main
eriolchan Sep 29, 2024
2beeded
Merge pull request #12480 from OfficeDev/main
MSFT-yiz Sep 29, 2024
be7db5f
perf(ai-generator): generate api action for csharp (#12481)
SLdragon Sep 30, 2024
5c5d050
test: add ut
Sep 30, 2024
46b7833
build: update dependency
Oct 8, 2024
e20c764
test: update ut
Oct 8, 2024
6e53491
test: update ut
Oct 8, 2024
a5c610f
test: update ut
Oct 8, 2024
98764a1
perf(ai-generator): update scaffolding for csharp ai generator (#12492)
SLdragon Oct 8, 2024
126046f
Merge branch 'dev' into yiqingzhao/sdk
Oct 8, 2024
e9244f2
fix: remove spec auth support for VS plugin (#12490)
KennethBWSong Oct 9, 2024
0b2b671
fix: reset env after import outlook addin (#12494)
jayzhang Oct 9, 2024
6a6cd4f
fix: remove space in login error source (#12495)
HuihuiWu-Microsoft Oct 9, 2024
b7467c7
perf(generator): update c# ai generator template and scaffolding (#12…
SLdragon Oct 9, 2024
75c51ae
test: fix create index wrong params (#12505)
ayachensiyuan Oct 10, 2024
89938a6
fix: refine prerequisite checker error message (#12504)
jayzhang Oct 11, 2024
a3f85d3
test: update local debug task result (#12508)
hellyzh Oct 11, 2024
e107e78
feat: add feature flag for Custom Engine Agent(CEA) templates (#12510)
frankqianms Oct 11, 2024
8897537
fix: a few issues in the API ME and API plugin templates (#12511)
huimiu Oct 12, 2024
7995175
Merge branch 'dev' into yiqingzhao/sdk
Oct 14, 2024
ef1e054
fix(oauth): update all auth info in spec in oauth/update action (#12514)
KennethBWSong Oct 14, 2024
e7bb724
refactor: tdp error messages (#12509)
anchenyi Oct 15, 2024
37faeee
fix: csharp templates package version (#12513)
Alive-Fish Oct 15, 2024
e39d783
refactor: update TCE message (#12519)
yuqizhou77 Oct 15, 2024
ab66695
refactor: update group name (#12520)
yuqizhou77 Oct 15, 2024
98b95fc
fix: api spec issue (#12523)
huimiu Oct 16, 2024
ade4e13
test: add retry to validation outlook preview (#12521)
hellyzh Oct 16, 2024
f0d320c
test: wait for debug to stop (#12525)
hellyzh Oct 16, 2024
7a98a1a
fix: return correct manifest path for MSTeams Samples (#12527)
yiqing-zhao Oct 16, 2024
fe7eea6
Merge pull request #12453 from OfficeDev/yiqingzhao/sdk
MSFT-yiz Oct 17, 2024
66e1a3b
fix: split PrerequisitesValidationError into Error types of finer gra…
jayzhang Oct 17, 2024
c1ca4fa
refactor: update teams ai version in dotnet (#12535)
xzf0587 Oct 17, 2024
5a759bf
Merge branch 'dev' into long/main
LongOddCode Oct 18, 2024
b3fa29b
build: merge main back to dev
LongOddCode Oct 18, 2024
cd55ff4
Merge pull request #12542 from OfficeDev/long/main
MSFT-yiz Oct 18, 2024
1c4ae6d
Merge branch 'dev' into long/main
LongOddCode Oct 18, 2024
2dcfb0e
test: fix remote custom api failed (#12531)
Annefch Oct 18, 2024
484b57c
build: merge main back to dev
LongOddCode Oct 18, 2024
9432e5e
Merge pull request #12545 from OfficeDev/long/main
MSFT-yiz Oct 18, 2024
c6c6d70
test: run more test cases in parallel (#12558)
hellyzh Oct 21, 2024
b8a9ab9
refactor: notification dialog (#12557)
yuqizhou77 Oct 21, 2024
1a6ce1d
refactor: add template (#12552)
xzf0587 Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:
TEAMSFX_TELEMETRY_TEST: true
strategy:
fail-fast: false
max-parallel: 50
max-parallel: 80
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
74 changes: 0 additions & 74 deletions .github/workflows/vscode-marketplace.yml

This file was deleted.

9 changes: 9 additions & 0 deletions packages/api/src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export interface FxError extends Error {

categories?: string[];

telemetryProperties?: Record<string, string>;

/**
* recommended operation for user to fix the error
* e.g. "debug-in-test-tool"
Expand All @@ -37,6 +39,7 @@ export interface ErrorOptionBase {
userData?: any;
displayMessage?: string;
categories?: string[];
telemetryProperties?: Record<string, string>;
/**
* whether to skip process (such as mask secret tokens) in telemetry collection
*/
Expand Down Expand Up @@ -81,6 +84,8 @@ export class UserError extends Error implements FxError {

categories?: string[];

telemetryProperties?: Record<string, string>;

/**
* whether to skip process (such as mask secret tokens) in telemetry collection
*/
Expand Down Expand Up @@ -138,6 +143,7 @@ export class UserError extends Error implements FxError {
this.timestamp = new Date();
this.categories = option.categories;
this.skipProcessInTelemetry = option.skipProcessInTelemetry;
this.telemetryProperties = option.telemetryProperties;
}
}

Expand Down Expand Up @@ -173,6 +179,8 @@ export class SystemError extends Error implements FxError {

categories?: string[];

telemetryProperties?: Record<string, string>;

/**
* whether to skip process (such as mask secret tokens) in telemetry collection
*/
Expand Down Expand Up @@ -230,5 +238,6 @@ export class SystemError extends Error implements FxError {
this.timestamp = new Date();
this.categories = option.categories;
this.skipProcessInTelemetry = option.skipProcessInTelemetry;
this.telemetryProperties = option.telemetryProperties;
}
}
8 changes: 6 additions & 2 deletions packages/cli/src/commonlib/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export class CliTelemetryReporter implements TelemetryReporter {
this.reporter.sendTelemetryErrorEvent(eventName, properties, measurements, errorProps);

void logger.debug(
`sendTelemetryErrorEvent ===> ${eventName}, properties: ${JSON.stringify(properties)}`
`sendTelemetryErrorEvent ===> ${eventName}, properties: ${JSON.stringify(
properties
)}, measurements: ${JSON.stringify(measurements)}`
);
}

Expand All @@ -89,7 +91,9 @@ export class CliTelemetryReporter implements TelemetryReporter {
this.reporter.sendTelemetryEvent(eventName, properties, measurements);

void logger.debug(
`sendTelemetryEvent ===> ${eventName}, properties: ${JSON.stringify(properties)}`
`sendTelemetryEvent ===> ${eventName}, properties: ${JSON.stringify(
properties
)}, measurements: ${JSON.stringify(measurements)}`
);
}

Expand Down
32 changes: 18 additions & 14 deletions packages/fx-core/resource/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"plugins.frontend.checkStoragePermissionsTip": "Check if you have permissions to your Azure Storage Account.",
"plugins.frontend.checkSystemTimeTip": "Incorrect system time may lead to expired credentials. Make sure your system time is correct.",
"suggestions.retryTheCurrentStep": "Retry the current step.",
"plugins.appstudio.buildSucceedNotice": "Teams package is successfully built at [local address](%s).",
"plugins.appstudio.buildSucceedNotice.fallback": "Teams package is successfully built at %s.",
"plugins.appstudio.buildSucceedNotice": "Teams package successfully built at [local address](%s).",
"plugins.appstudio.buildSucceedNotice.fallback": "Teams package successfully built at %s.",
"plugins.appstudio.createPackage.progressBar.message": "Building Teams app package...",
"plugins.appstudio.validationFailedNotice": "Manifest Validation is unsuccessful!",
"plugins.appstudio.validateManifest.progressBar.message": "Validating manifest...",
Expand All @@ -149,7 +149,7 @@
"plugins.appstudio.previewOnly": "Preview only",
"plugins.appstudio.previewAndUpdate": "Preview and update",
"plugins.appstudio.overwriteAndUpdate": "Overwrite and update",
"plugins.appstudio.emptyAppPackage": "Unable to find any files in the app %s package.",
"plugins.appstudio.emptyAppPackage": "unable to find any files in the app %s package.",
"plugins.appstudio.unprocessedFile": "Teams Toolkit did not process %s.",
"plugins.appstudio.viewDeveloperPortal": "View in Developer Portal",
"plugins.bot.questionHostTypeTrigger.title": "Select triggers",
Expand Down Expand Up @@ -181,7 +181,9 @@
"error.appstudio.teamsAppUpdateFailed": "Unable to update Teams app with ID %s in Teams Developer Portal due to %s",
"error.appstudio.apiFailed": "Unable to make API call to Developer Portal. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
"_error.appstudio.apiFailed.comment": " This is to describe API call, no need to translate '(command:fx-extension.showOutputChannel)'. ",
"error.appstudio.apiFailed.telemetry": "Unable to make API call to Developer Portal: %s, %s, API name: %s, X-Correlation-ID: %s. This may be due to a temporary service error. Try again after a few minutes.",
"error.appstudio.apiFailed.telemetry": "Unable to make API call to Developer Portal: %s, %s, API name: %s, X-Correlation-ID: %s.",
"error.appstudio.apiFailed.reason.common": "This may be due to a temporary service error. Try again after a few minutes.",
"error.appstudio.apiFailed.name.common": "API failed",
"_error.appstudio.apiFailed.telemetry.comment": "This is to describe API call, no need to translate 'X-Correlation-ID'.",
"error.appstudio.authServiceApiFailed": "Unable to make API call to Developer Portal: %s, %s, Request path: %s",
"error.appstudio.publishFailed": "Unable to publish Teams app with ID %s.",
Expand Down Expand Up @@ -315,7 +317,7 @@
"core.createProjectQuestion.projectType.customCopilot.placeholder": "Select an option",
"core.createProjectQuestion.projectType.copilotHelp.label": "Don't know how to start? Use GitHub Copilot Chat",
"core.createProjectQuestion.projectType.copilotHelp.detail": "Chat with GitHub Copilot and get step-by-step instructions to develop your Teams app",
"core.createProjectQuestion.projectType.copilotGroup.title": "Use Copilot",
"core.createProjectQuestion.projectType.copilotGroup.title": "Use GitHub Copilot",
"core.createProjectQuestion.projectType.createGroup.title": "Create",
"core.createProjectQuestion.projectType.declarativeCopilot.label": "Declarative Agent",
"core.createProjectQuestion.projectType.declarativeCopilot.detail": "Create your own agent by declaring instructions, actions, & knowledge to suit your needs.",
Expand Down Expand Up @@ -639,8 +641,6 @@
"plugins.bot.CheckLogAndFix": "Please check log-in Output panel and try to fix this issue.",
"plugins.bot.AppStudioBotRegistration": "Developer Portal bot registration",
"plugins.function.getTemplateFromLocal": "Unable to get latest template from GitHub, trying to use the local template.",
"error.depChecker.DefaultErrorMessage": "Install required dependencies manually.",
"depChecker.learnMoreButtonText": "Get more info",
"depChecker.needInstallNpm": "You must have NPM installed to debug your local functions.",
"depChecker.failToValidateFuncCoreTool": "Unable to validate Azure Functions Core Tools after installation.",
"depChecker.symlinkDirAlreadyExist": "Symlink (%s) destination already exists, remove it and try again.",
Expand All @@ -655,13 +655,9 @@
"depChecker.useGlobalDotnet": "Using dotnet from PATH:",
"depChecker.dotnetInstallStderr": "dotnet-install command failed without error exit code but with non-empty standard error.",
"depChecker.dotnetInstallErrorCode": "dotnet-install command failed.",
"depChecker.NodeNotFound": "Cannot find Node.js. The supported node versions are specified in the package.json. Go to %s to install a supported Node.js. Restart all your Visual Studio Code instances after the installation is finished.",
"depChecker.V3NodeNotSupported": "Node.js (%s) is not the officially supported version (%s). Your project may continue to work but we recommend to install the supported version. The supported node versions are specified in the package.json. Go to %s to install a supported Node.js.",
"depChecker.NodeNotLts": "Node.js (%s) is not a LTS version (%s). Go to %s to install a LTS Node.js.",
"depChecker.dotnetNotFound": "Unable to find @NameVersion. To know why .NET SDK is needed, refer @HelpLink",
"depChecker.depsNotFound": "Unable to find @SupportedPackages.\n\nTeams Toolkit requires these dependencies.\n\nClick \"Install\" to install @InstallPackages.",
"depChecker.linuxDepsNotFound": "Unable to find @SupportedPackages. Install @SupportedPackages manually and restart Visual Studio Code.",
"depChecker.linuxDepsNotFoundHelpLinkMessage": "Unable to find @SupportedPackages.\n\nTeams Toolkit requires these dependencies.",
"depChecker.failToDownloadFromUrl": "Unable to download file from '@Url', HTTP status '@Status'.",
"depChecker.failToValidateVxTestAppInstallOptions": "Invalid argument for video extensibility test app prerequisites checker. Please review tasks.json file to ensure all arguments are correctly formatted and valid.",
"depChecker.failToValidateVxTestApp": "Unable to validate video extensibility test app after installation.",
Expand Down Expand Up @@ -819,7 +815,7 @@
"error.yaml.InvalidYmlActionNameError": "Action '%s' not found, yaml file: %s",
"error.yaml.LifeCycleUndefinedError": "Lifecycle '%s' is undefined, yaml file: %s",
"error.yaml.InvalidActionInputError": "The '%s' action cannot be completed as the following parameter(s): %s, are either missing or have an invalid value in the provided yaml file: %s. Ensure that the required parameters are provided and have valid values and try again.",
"error.common.InstallSoftwareError": "Unable to install %s. You can install it manually and restart Visual Studio Code if you are using the Toolkit in Visual Studio Code.",
"error.common.InstallSoftwareError": "Unable to install %s. You can install manually and restart Visual Studio Code if you are using the Toolkit in Visual Studio Code.",
"error.common.VersionError": "Unable to find a version satisfying the version range %s.",
"error.common.MissingEnvironmentVariablesError": "Missing environment variables '%s' for file: %s. Please edit the .env file '%s' or '%s', or adjust system environment variables. For new Teams Toolkit projects, make sure you've run provision or debug to set these variables correctly.",
"error.common.InvalidProjectError": "This command only works for project created by Teams Toolkit. 'teamsapp.yml' or 'teamsapp.local.yml' not found",
Expand Down Expand Up @@ -919,5 +915,13 @@
"driver.oauth.log.skipUpdateOauth": "Skip updating OAuth registration as the same property exists.",
"driver.oauth.confirm.update": "The following parameters will be updated:\n%s\nDo you want to continue?",
"driver.oauth.log.successUpdateOauth": "OAuth registration updated successfully!",
"driver.oauth.info.update": "OAuth registration updated successfully! The following parameters have been updated:\n%s"
}
"driver.oauth.info.update": "OAuth registration updated successfully! The following parameters have been updated:\n%s",
"error.dep.PortsConflictError": "Port occupation check failed. Candidate ports to check: %s. The following ports are occupied: %s. Please close them and try again.",
"error.dep.SideloadingDisabledError": "Your Microsoft 365 account admin hasn't enabled custom app upload permission.\n· Contact your Teams admin to fix this. Visit: https://docs.microsoft.com/en-us/microsoftteams/platform/m365-apps/prerequisites\n· For help, visit the Microsoft Teams documentation. To create a free testing tenant, click \"Custom App Upload Disabled\" label under your account.",
"error.dep.CopilotDisabledError": "Microsoft 365 account administrator hasn't enabled Copilot access for this account. Contact your Teams administrator to resolve this issue by enrolling in Microsoft 365 Copilot Early Access program. Visit: https://aka.ms/PluginsEarlyAccess",
"error.dep.NodejsNotFoundError": "Unable to find Node.js. Go to https://nodejs.org to install LTS Node.js.",
"error.dep.NodejsNotLtsError": "Node.js (%s) is not a LTS version (%s). Go to https://nodejs.org to install LTS Node.js.",
"error.dep.NodejsNotRecommendedError": "Node.js (%s) is not the officially supported version (%s). Your project may continue to work but we recommend to install the supported version. The supported node versions are specified in the package.json. Go to https://nodejs.org to install a supported Node.js.",
"error.dep.VxTestAppInvalidInstallOptionsError": "Invalid argument for video extensibility test app prerequisites checker. Please review tasks.json file to ensure all arguments are correctly formatted and valid.",
"error.dep.VxTestAppValidationError": "Unable to validate video extensibility test app after installation."
}
Loading
Loading