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

Scripts for working with dependabot PRs #15233

Merged
merged 6 commits into from
Jan 7, 2025
Merged

Conversation

StephenWeatherford
Copy link
Contributor

@StephenWeatherford StephenWeatherford commented Oct 4, 2024

Microsoft Reviewers: Open in CodeFlow

Copy link
Contributor

github-actions bot commented Oct 4, 2024

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

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

Copy link
Contributor

github-actions bot commented Oct 4, 2024

Dotnet Test Results

    76 files   -     41      76 suites   - 41   32m 26s ⏱️ - 17m 9s
11 579 tests +    46  11 579 ✅ +    46  0 💤 ±0  0 ❌ ±0 
26 890 runs   - 13 223  26 890 ✅  - 13 223  0 💤 ±0  0 ❌ ±0 

Results for commit a1a1a11. ± Comparison against base commit b326faa.

This pull request removes 1873 and adds 718 tests. Note that renamed tests count towards both.

		nestedProp1: 1
		nestedProp2: 2
		prop1: true
		prop2: false
	1
	2
	\$'")
	prop1: true
	prop2: false
…
Bicep.Cli.IntegrationTests.CliScenarioTests ‑ Test_Issue13785
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
�Խ
�0\u0010\u0000��>E�\u0003��kb�\u000e��\u0015���*�\u0006��*m��/�u\u0010�\u0016��\u0008�\u001bs\u0007�\���^�k�\u0013S�XH1�0�\u001b\u0001R���\u0006\u0015
Q�F\u0010Q��l�\u0016���\u0005�2�]?��\u001d]��	��)\u000e��\u0001�E��\u000cb�\u0018
���.a�'����7�YW��ϴ:|�o�\u0016}���\u0004�\u001d�\u0015��q���%��\u001fe&�|��n\u0014\u001f��hu�\u001cv��p`\u0003O]�eY�5�\u0017[Y� \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\u0007pf���\u0001*��\u0003\u0013v\u0017\u0013\u0017\u001f��\u00191��֤���-�q���ab�c�^��K�{i�(\u000bl\u0015�'k�-�\u0004��\u001d��c�\u0016x\u0001��v\u00133�$=�J�֎2�^?(L��e�\u0019�H�\u0010�"�)���dek�P�������u��^ԭ�ګ�����\u000c���tW�-�A�=�\u0007D\u0010
\u0008�Ϳ�c���%����\u0007�\u000f5�\u0006s��\u000e�#�����U�s��\u001c�q��\u0000�x��\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
�0\u0010\u0006�=EO�f�I&]t��+\u0004-����\u0005��\u000b�E���
�[f\u00182���t��m�\u000eE�p4hS��&\u0002�8z>\u0000
\u000c�E0AZ\u0013cI?�$#��uu\u0018e��~���kOe�\u0003)#Ii��f�	�6����Aru�1���W7��M准r�a�F����[+���!$\u0003$EҐT\u0018�\u000f�C�\u0017�����X{�(��h
O|�,
\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�I�g��.��\u000f\u0010�\u0013+���BA|w�A\Z\�#�o�\u001d܅㎄{�n�dP[�e,B��F\u001d%D�{�	��~��j�8B�\u001d��\u001ewۘڵ2G�\u001f\u0014��i�\u0002\u0012���4\u0017B\u0013\u0016+)h�r�t(�b\���e\u0006-��[٥\u0017C�K��\u001b��t5��?�\u0002�\u001b�u�4u��*�\6�e'�|�\u001f88��V�6���8B\u001dl��\-<����<ϛ�\u000b\u001e���\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�=EN�f�IF\u0017ݻ�
A\u000b>h*}`A���Bp��6��v�0̄��l��m�\u000eE�\u0008m6�	67\u0019X���\u0001\u0018`@/�I2�2���7\u0019�5���*K��Aj�]{*�\u001cH[E\u001a�\u0004hPF�*���5�W�\u001e��_|u���T~h(�\u001ab?4\u0019���ߚ�)�R*\u0006H��%�\u0014�\u001fN!��d������� I�$��	�)�\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���\u000b�0\u0014\u0007��+���܏疁��CFX\u0010t��B\u0006Z���?�$���E-h����1���[]/\u0013\u001d'EI��KPߨ!\u0001Z�\u001b\u000c\u0014b�"�<)\u0010�u���.�(c��A|�u�fI���\	\u0000E�'��01wǮ;�㫮NA��IM��%oʳ��o?������z|�?��\u000e\u0010�KE�.���Q2����;a�����a��D�\u000c�
��,˲��=\u0000k
Z!\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 495,[(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.

@StephenWeatherford StephenWeatherford merged commit 0eee078 into main Jan 7, 2025
42 of 47 checks passed
@StephenWeatherford StephenWeatherford deleted the sw/gh-scripts branch January 7, 2025 19:07
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