Skip to content

Conversation

anthony-c-martin
Copy link
Member

@anthony-c-martin anthony-c-martin commented Oct 1, 2025

Microsoft Reviewers: Open in CodeFlow

Copy link
Contributor

github-actions bot commented Oct 1, 2025

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

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

Copy link
Contributor

github-actions bot commented Oct 1, 2025

Dotnet Test Results

    90 files   -     45      90 suites   - 45   41m 18s ⏱️ - 25m 12s
12 394 tests  -     13  12 394 ✅  -     13  0 💤 ±0  0 ❌ ±0 
28 533 runs   - 14 260  28 533 ✅  - 14 260  0 💤 ±0  0 ❌ ±0 

Results for commit 4b97800. ± Comparison against base commit 2b1a61d.

This pull request removes 1920 and adds 652 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
�Խ\u000e�0\u0010\u0007��>E�\u0003�k)-������\u0000\u0015Έ\u0011$�	���-�q���ab�c�^����{�nѤX�,\u0004\u0011�\u0019\u0019\u001bXJ���\u000e��p�\u0006\u0004t��\u0010ڎ>I�{ݘʎ2�^?H��4Y�1�A$�HJ�)�@Erek�P�G�4�9Ί\u0014[v�oEמ\u000f�/}Lg������o�\u0007_\u0012\u001e��\ؿ�'�\u0002)l�g����A�C�m�I��\u000e�#Vކ�̵��ҳ9��8�y\u0001d��\u000e\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
��A\u000b�0\u0014\u0007��\u0014�\u000f0���f�!�\u0011\u0016\u0004]c���\u0016j �囇�tQ\u000b��=����\u0011w��U������L�\u0004
�\u001a����\u0016p�@�PD�/(B�\u0019��\u000e��֥ie��~\u0010SX�Y�� ����s�\u0008&\u0000�73{��=\u0008�M��0+��!��Z��y_���i�x��xO�)��q\u0004>\u0015\u0012��\u0005\u001e���`�?I&�<�\u000f'�\u000f�M�<���ؙc3��ݓeY�5�'�#��\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
��K
�0\u0010\u0006�=EN����E�.�BЂ\u000f�J�bA���Bp�⦶���\u0019�L&�,۹~[�C�\u0004f�ی��A��\u001c=\u001f�B��\u0005\u0008\u0018�\u0004!��}�\u0011]h]\u0013GY�\u001f�-u��*\u000b4*�6�"gRY�Aobm?YCzu������7�Ρ�CC5հ�C�Q����\u0015}�?\u0000'�@\u001b������y��d������=A�$I��'�1N\u0014\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��K
�0\u0010\u0006�=EO����$��]z��\u0005\u001f4��łxw����Mm\u0005�-3\u000c3!����\u000e��\u001e��S\u000e�sJ�\u0006A!��y�\u0012	�\u0017 ����d�워�}g۰�\u0012�~\u0010ә�NuU���iÌ���kP�P�O�0���X��⚛�g߸�PO5�}�d���}kƧ�\u00030�\u0012
��\u0017`\u0018�<���L�y�7H�$I��\u0004�w\u0005|\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\u0014\u0007�]�\u0014�\u0007�;s:\u0017x�M�M\u000f��DF���\u0010�{JD7J7~\u0004�w�s��1�c��4\u001b4	�\u0015�8�.#c�@���\u000eHE@�q��\u000bBh3�&=nUm�v�9f� \u0011RS�\u0019F�|-B-�b �\u000c�X��x�\u0006�\u0016�>Ei�`���5�ڳ����i
���t3��{���\u0003\u0005�/ �����Y2����Sg�cS`\c��쀥��Gs���n�eY�t�(|Y�\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���\u000b�0\u0014\u0007��+���ܛ�����CFX\u0010t��B\u0006Z���?�<D\u0017��Z�>���{c|\u001fqw�Y�:Iˊx\u0014|���QCr�y�\u0002�\u0010�\u0017��\u0012�!���'�p�j]�Q������u��i\u0008J\u0004�\u000fX�\u0008P�+)f���w\u0007\u0001���\u001cfE�6�R]��<�+��3�\u001e��\u001b�ǧ�S�\u0011\u0008*\u0015�-�\u0000Q)\u0004��O��?��É��b\u0013-���6v��l�o�dY�e��	㜍�\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.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("output loopOutput array = [for i in range(0, 2): {
  prop: map(containerWorkers, (w) => w.properties.ipAddress.ip)
}]")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("resource propertyLoop 'Microsoft.ContainerInstance/containerGroups@2022-09-01' = {
  name: 'gh9440-loop'
  location: 'westus'
  properties: {
    containers: [for i in range(0, 2): {
      name: 'gh9440-w1c-${i}'
      properties: {
        command: [
          'echo "${join(map(containerWorkers, (w) => w.properties.ipAddress.ip), ',')}"'
        ]
      }
    }]
  }
}")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("var loopVar = [for i in range(0, 2): {
  prop: map(containerWorkers, (w) => w.properties.ipAddress.ip)
}]")
Bicep.Core.IntegrationTests.Emit.ParamsFileWriterTests ‑ Params_file_with_no_errors_should_compile_correctly ("
using 'main.bicep'

// involves all syntax
param myParam = {
  arr: [
    {
      a : 'b'
    }
    {
      c : true
    }
  ]
  name: 'complex object!'
  priority: 3
  val: null
  obj: {
      a: 'b'
      c: [
          'd'
           1
      ]
  }
}","
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "myParam": {
      "value": {
        "arr" : [
          {
            "a" : "b"
          },
          {
            "c" : true
          }
        ],
        "name" : "complex object!",
        "priority" : 3,
        "val" : null,
        "obj" : {
          "a" : "b",
          "c" : [
            "d",
            1
          ]
        }
      }
    }
  }
}","
param myParam object
")
…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant