Skip to content

Move deploy-pane to vscode-bicep-ui - #15584

Merged
Shenglong Li (shenglol) merged 8 commits into
mainfrom
shenglol/move-deploy-pane
Nov 18, 2024
Merged

Shenglong Li (shenglol) merged 8 commits into
mainfrom
shenglol/move-deploy-pane

Conversation

@shenglol

@shenglol Shenglong Li (shenglol) commented Nov 16, 2024 •

Copy link
Copy Markdown
Contributor
  • Migrated the application code to vscode-bicep-ui and configured it to use Vite.
  • Upgraded vscode-bicep-ui to ESLint 9. I pinned the version to 9.14.0 due to this issue.
    • Some less important ESLint plugins, such as Storybook and Testing Library were temporarily removed, as they seem to have some compatibility issues with ESLint 9 when I tested it. These plugins can be reintroduced later.
  • Removed the npm install --install-links workaround.
Microsoft Reviewers: Open in CodeFlow

@github-actions

github-actions Bot commented Nov 16, 2024 •

Copy link
Copy Markdown
Contributor

Test this change out locally with the following install scripts (Action run 11899898203)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 11899898203
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 11899898203"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 11899898203
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 11899898203"

@github-actions

github-actions Bot commented Nov 16, 2024 •

Copy link
Copy Markdown
Contributor

Dotnet Test Results

β€‡β€‡β€ˆβ€‡78 files   -β€Šβ€‡β€‡β€ˆβ€‡39β€‚β€ƒβ€‡β€‡β€ˆβ€‡78 suites   -β€Š39   29m 56s ⏱️ - 14m 11s
11β€ˆ415 tests  -β€Šβ€‡β€‡β€ˆβ€‡25  11β€ˆ415 βœ…  -β€Šβ€‡β€‡β€ˆβ€‡24  0 πŸ’€ Β±0  0 ❌  -β€Š1 
26β€ˆ561 runsβ€Š  -β€Š13β€ˆ276  26β€ˆ561 βœ…  -β€Š13β€ˆ275  0 πŸ’€ Β±0  0 ❌  -β€Š1 

Results for commit 4d0f4a4. ± Comparison against base commit 41206e9.

This pull request removes 1847 and adds 630 tests. Note that renamed tests count towards both.

		nestedProp1: 1
		nestedProp2: 2
		prop1: true
		prop2: false
	1
	2
	\$'")
	prop1: true
	prop2: false
…
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001fοΏ½\u0008\u0000\u0000\u0000\u0000\u0000\u0000
οΏ½Τ½
οΏ½0\u0010\u0000οΏ½οΏ½>EοΏ½\u0003οΏ½οΏ½4MοΏ½οΏ½ApοΏ½"U\u0010\%Ψ‚\u0015ZοΏ½οΏ½PοΏ½οΏ½M\u0007qiqοΏ½`οΏ½1wοΏ½οΏ½οΏ½\u001dqοΏ½οΏ½^':NοΏ½οΏ½0\u0005οΏ½%οΏ½oοΏ½\u0010οΏ½οΏ½οΏ½7οΏ½K\u0004οΏ½"*}A\u0011οΏ½uο•΄xοΏ½οΏ½.L)cοΏ½οΏ½οΏ½οΏ½\u001cοΏ½*Ν’\u0000οΏ½\u0007Κ—sοΏ½\u0013_IοΏ½8οΏ½οΏ½ΨΉ+\u0006
οΏ½uu	οΏ½<Njr-oyοΏ½οΏ½uοΏ½O}LοΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½oοΏ½o~\u000823\u0000οΏ½\u0004\u0006οΏ½\u0010\u0015~οΏ½οΏ½GοΏ½οΏ½?οΏ½οΏ½οΏ½\u0013FοΏ½οΏ½6\οΏ½6οΏ½]οΏ½,οΏ½οΏ½οΏ½SοΏ½dYοΏ½e
οΏ½\u0005οΏ½}οΏ½\u0003\u0000\u000c\u0000\u0000,"'7' is an invalid end of a number. Expected a delimiter. Path: $.INVALID_JSON | LineNumber: 0 | BytePositionInLine: 20.")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001fοΏ½\u0008\u0000\u0000\u0000\u0000\u0000\u0000
οΏ½Τ½\u000eοΏ½0\u0010\u0007οΏ½οΏ½>EοΏ½\u0003οΏ½^)-οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½\u0000\u0015Έ\u0011$οΏ½	οΏ½οΏ½οΏ½-οΏ½qοΏ½οΏ½οΏ½abοΏ½cοΏ½^οΏ½οΏ½οΏ½οΏ½{οΏ½nΡ€XοΏ½LD�֌��[JοΏ½οΏ½οΏ½\u000eHM@οΏ½qοΏ½uοΏ½8!οΏ½\u001d}οΏ½\u001eοΏ½οΏ½1οΏ½\u001deοΏ½οΏ½~οΏ½\u0008οΏ½iοΏ½\u001ccοΏ½>DοΏ½\u000e}οΏ½\u0014οΏ½οΏ½οΏ½οΏ½οΏ½Φ’οΏ½\u001aDοΏ½4οΏ½9Ί\u0014[vοΏ½oEמ\u000fοΏ½/}LgοΏ½οΏ½οΏ½οΏ½οΏ½οΏ½oοΏ½οΏ½$οΏ½\u000f\u0000οΏ½A\u0000\u0008οΏ½U \u0003οΏ½οΏ½Y2οΏ½οΏ½οΏ½οΏ½PοΏ½P`[bοΏ½`οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½'sοΏ½οΏ½οΏ½lοΏ½οΏ½8οΏ½t^8οΏ½οΏ½οΏ½\u0000\u000c\u0000\u0000,"Value cannot be null. (Parameter 'source')")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001fοΏ½\u0008\u0000\u0000\u0000\u0000\u0000\u0000
οΏ½οΏ½K\u000eοΏ½0\u0010\u0006οΏ½=\u0005'(3}
,Ψ»οΏ½
οΏ½οΏ½οΏ½\u0008οΏ½PοΏ½$Ζ»[\u0016&. n\u0010LοΏ½οΏ½dοΏ½οΏ½4?OwοΏ½ί–οΏ½P6οΏ½οΏ½\u001cMοΏ½οΏ½οΏ½ 0JοΏ½οΏ½\u000fP#Cz\u0001\u0006οΏ½οΏ½d,οΏ½gοΏ½dDοΏ½[Ϋ„QοΏ½οΏ½οΏ½\u0007οΏ½,οΏ½οΏ½οΏ½*\u000b$οΏ½οΏ½οΏ½L\u0002\u0007οΏ½(\u0014mBm?YοΏ½οΏ½jοΏ½cΡΉοΏ½οΏ½oοΏ½οΏ½}톆jοΏ½aοΏ½FοΏ½οΏ½οΏ½οΏ½[+οΏ½οΏ½οΏ½\u0000οΏ½P\u0011\u001aBοΏ½`BοΏ½Q\u000eοΏ½_$οΏ½οΏ½οΏ½οΏ½οΏ½cοΏ½	οΏ½(οΏ½οΏ½5<\u0001\u0002οΏ½οΏ½W\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001fοΏ½\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003οΏ½Τ½
οΏ½0\u0010\u0000οΏ½οΏ½>EοΏ½\u0003οΏ½οΏ½mοΏ½οΏ½οΏ½EpοΏ½\u0001b{bοΏ½οΏ½οΏ½V\u0008οΏ½οΏ½n:οΏ½KοΏ½KοΏ½\u0004οΏ½M!wp\u0017οΏ½\u000b	οΏ½οΏ½nοΏ½dP7οΏ½Η‚οΏ½\u0004οΏ½οΏ½:οΏ½οΏ½οΏ½οΏ½\u001d&5bοΏ½οΏ½"οΏ½οΏ½r�؎�IοΏ½{Ӛڡ2GοΏ½\u001fοΏ½οΏ½Ψ΄y\u0001	Σ‚οΏ½JkΈ[p.οΏ½οΏ½οΏ½οΏ½C1\u0016οΏ½Κ΄οΏ½$/3οΏ½οΏ½οΏ½οΏ½οΏ½.οΏ½\u0018J_οΏ½οΏ½ή€οΏ½οΏ½MWοΏ½οΏ½οΏ½S!οΏ½οΏ½\u0003XοΏ½YοΏ½t\u0010οΏ½οΏ½\u0012nοΏ½gοΏ½οΏ½?οΏ½οΏ½\u0007\u000e\u000e%οΏ½
οΏ½\u0016οΏ½\u001d\u0014GοΏ½οΏ½
>οΏ½k\u0003Ο₯{οΏ½<οΏ½οΏ½οΏ½\u0002οΏ½οΏ½+\u001a\u0000\u000c\u0000\u0000,"Value cannot be null. (Parameter 'source')")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001fοΏ½\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003οΏ½οΏ½K
οΏ½0\u0010\u0006οΏ½=EOοΏ½οΏ½οΏ½οΏ½i\u0016έ»οΏ½
A\u000b>h*}`A���Bp�⦢���\u0019����<��a[�Cٴ\\u0018	)gs\u0003/Sj�<@�\u000c�\u0005\u0018�V�X2̾Ɉ��l�WYb�\u000f\u0012yb�SU\u0016H\u0012�&\u0012�Iiir���d
οΏ½οΏ½οΏ½EοΏ½.οΏ½οΏ½9~nk\u0017\u001aοΏ½οΏ½οΏ½οΏ½/\u001aοΏ½zοΏ½οΏ½oοΏ½οΏ½οΏ½οΏ½\u0000οΏ½P\u0011fοΏ½οΏ½οΏ½οΏ½οΏ½οΏ½>οΏ½οΏ½dοΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½A\u0014EQοΏ½οΏ½'|Bm"\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001fοΏ½\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003οΏ½οΏ½\u000fHοΏ½οΏ½HMLI-*οΏ½3οΏ½46οΏ½οΏ½cοΏ½60\u0000\u00023\u0013\u0013οΏ½οΏ½ `hbοΏ½`h\u000e\u0003\u0006\u000c\u0006榦@οΏ½
\u0015Tw	\u0016PZ\οΏ½X\u0004t
=οΏ½\u001aοΏ½οΏ½οΏ½B!οΏ½$37οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½\u0010οΏ½\u000c,
-οΏ½MοΏ½οΏ½rΙΈοΏ½\u000c-\u0015
\u0012K2l3οΏ½RR+οΏ½οΏ½οΏ½οΏ½οΏ½@οΏ½sq)\u001fhoοΏ½\u0002\u001c\u0000\u0011οΏ½οΏ½οΏ½οΏ½PοΏ½702a\u0000οΏ½\u0001οΏ½fζ† οΏ½οΏ½``fjj\u0004οΏ½οΏ½tΙ“#<οΏ½W+yοΏ½οΏ½9οΏ½xοΏ½οΏ½{\u0005οΏ½οΏ½)Y)\u0000KοΏ½οΏ½vοΏ½(\u0018\u0005οΏ½`\u0014οΏ½\u0002οΏ½\u0003\u0000RʞD\u0000\u000c\u0000\u0000,"'7' is an invalid end of a number. Expected a delimiter. Path: $.INVALID_JSON | LineNumber: 0 | BytePositionInLine: 20.")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Repository_not_found_in_registry (ArtifactRegistryAddress { RegistryAddress = mcr.microsoft.com, RepositoryPath = unknown/path/az, ExtensionVersion = 0.0.0-placeholder },Azure.RequestFailedException: The artifact does not exist in the registry.
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 138
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 138,[(BCP192, Error, Unable to restore the artifact with reference "br:mcr.microsoft.com/unknown/path/az:0.0.0-placeholder": The artifact does not exist in the registry.)])
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Repository_not_found_in_registry (ArtifactRegistryAddress { RegistryAddress = mcr.microsoft.com, RepositoryPath = unknown/path/az, ExtensionVersion = 0.0.0-placeholder },Azure.RequestFailedException: The artifact does not exist in the registry.
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 138
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 138,[(BCP192, Error, Unable to restore the artifact with reference "br:mcr.microsoft.com/unknown/path/az:0.0.0-placeholder": The artifact does not exist in the registry.)])
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Repository_not_found_in_registry (ArtifactRegistryAddress { RegistryAddress = unknown.registry.azurecr.io, RepositoryPath = bicep/extensions/az, ExtensionVersion = 0.0.0-placeholder },System.AggregateException: Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443))
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 138
   at Bicep.Core.Registry.AzureContainerRegistryManager.<>c__DisplayClass4_0.<<PullArtifactAsync>g__DownloadManifestInternalAsync|0>d.MoveNext() in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 44
--- End of stack trace from previous location ---
   at Bicep.Core.Registry.AzureContainerRegistryManager.PullArtifactAsync(RootConfiguration configuration, IOciArtifactReference artifactReference) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 51
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 138
   at Bicep.Core.Registry.AzureContainerRegistryManager.<>c__DisplayClass4_0.<<PullArtifactAsync>g__DownloadManifestInternalAsync|0>d.MoveNext() in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 44
--- End of stack trace from previous location ---
   at Bicep.Core.Registry.AzureContainerRegistryManager.PullArtifactAsync(RootConfiguration configuration, IOciArtifactReference artifactReference) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 63
   at Bicep.Core.Registry.OciArtifactRegistry.TryRestoreArtifactAsync(RootConfiguration configuration, OciArtifactReference reference) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/OciArtifactRegistry.cs:line 499,[(BCP192, Error, Unable to restore the artifact with reference "br:unknown.registry.azurecr.io/bicep/extensions/az:0.0.0-placeholder": Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)))])
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Repository_not_found_in_registry (ArtifactRegistryAddress { RegistryAddress = unknown.registry.azurecr.io, RepositoryPath = bicep/extensions/az, ExtensionVersion = 0.0.0-placeholder },System.AggregateException: Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443))
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 138
   at Bicep.Core.Registry.AzureContainerRegistryManager.<>c__DisplayClass4_0.<<PullArtifactAsync>g__DownloadManifestInternalAsync|0>d.MoveNext() in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 44
--- End of stack trace from previous location ---
   at Bicep.Core.Registry.AzureContainerRegistryManager.PullArtifactAsync(RootConfiguration configuration, IOciArtifactReference artifactReference) in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 51
   at Bicep.Core.Registry.AzureContainerRegistryManager.DownloadManifestAndLayersAsync(IOciArtifactReference artifactReference, ContainerRegistryContentClient client) in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 138
   at Bicep.Core.Registry.AzureContainerRegistryManager.<>c__DisplayClass4_0.<<PullArtifactAsync>g__DownloadManifestInternalAsync|0>d.MoveNext() in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 44
--- End of stack trace from previous location ---
   at Bicep.Core.Registry.AzureContainerRegistryManager.PullArtifactAsync(RootConfiguration configuration, IOciArtifactReference artifactReference) in D:\a\bicep\bicep\src\Bicep.Core\Registry\AzureContainerRegistryManager.cs:line 63
   at Bicep.Core.Registry.OciArtifactRegistry.TryRestoreArtifactAsync(RootConfiguration configuration, OciArtifactReference reference) in D:\a\bicep\bicep\src\Bicep.Core\Registry\OciArtifactRegistry.cs:line 499,[(BCP192, Error, Unable to restore the artifact with reference "br:unknown.registry.azurecr.io/bicep/extensions/az:0.0.0-placeholder": Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)) (No such host is known. (unknown.registry.azurecr.io:443)))])
…

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for doing this!

@shenglol
Shenglong Li (shenglol) merged commit a1299bb into main Nov 18, 2024
@shenglol
Shenglong Li (shenglol) deleted the shenglol/move-deploy-pane branch November 18, 2024 19:45
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.

2 participants