microsoft / vscode-azureapicenter

MIT License
17 stars 13 forks source link

feat: check rule file name, use gpt-4o, add resource info in telemetry #223

Closed formulahendry closed 3 months ago

formulahendry commented 3 months ago

For rule file name, only ["ruleset.yml", "ruleset.yaml", "ruleset.json"] are valid.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 75.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 40.86%. Comparing base (c57a1bf) to head (83f19d4).

Files Patch % Lines
src/extension.ts 0.00% 3 Missing :warning:
src/tree/SubscriptionTreeItem.ts 50.00% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223/graphs/tree.svg?width=650&height=150&src=pr&token=TIJgHIZNDD&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft)](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) ```diff @@ Coverage Diff @@ ## dev #223 +/- ## ========================================== + Coverage 40.77% 40.86% +0.08% ========================================== Files 81 81 Lines 4848 4860 +12 Branches 107 111 +4 ========================================== + Hits 1977 1986 +9 - Misses 2870 2873 +3 Partials 1 1 ``` | [Files](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [src/common/telemetryEvent.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&filepath=src%2Fcommon%2FtelemetryEvent.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbW1vbi90ZWxlbWV0cnlFdmVudC50cw==) | `100.00% <100.00%> (ø)` | | | [src/constants.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&filepath=src%2Fconstants.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbnN0YW50cy50cw==) | `100.00% <100.00%> (ø)` | | | [src/tree/rules/RulesTreeItem.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&filepath=src%2Ftree%2Frules%2FRulesTreeItem.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL3RyZWUvcnVsZXMvUnVsZXNUcmVlSXRlbS50cw==) | `92.78% <100.00%> (+0.56%)` | :arrow_up: | | [src/uiStrings.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&filepath=src%2FuiStrings.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL3VpU3RyaW5ncy50cw==) | `100.00% <100.00%> (ø)` | | | [src/tree/SubscriptionTreeItem.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&filepath=src%2Ftree%2FSubscriptionTreeItem.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL3RyZWUvU3Vic2NyaXB0aW9uVHJlZUl0ZW0udHM=) | `46.15% <50.00%> (ø)` | | | [src/extension.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/223?src=pr&el=tree&filepath=src%2Fextension.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2V4dGVuc2lvbi50cw==) | `0.00% <0.00%> (ø)` | |