feat(arm): report per-project source_format and the Bicep gate in telemetry - #210
Draft
glenngillen wants to merge 2 commits into
Draft
feat(arm): report per-project source_format and the Bicep gate in telemetry#210glenngillen wants to merge 2 commits into
glenngillen wants to merge 2 commits into
Conversation
…emetry Adds a sourceFormats run property (bicep | json | bicep-generated-json, one entry per project) sourced from the arm plugin's raw options, and registers bicepEnabled so runs with the gate on are distinguishable — the projects it unlocks are typed arm like any other. Accepts the same spellings the plugin does, so telemetry cannot contradict what was priced.
This was referenced Aug 26, 2026
codespell's en-GB_to_en-US builtin gates the build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
sourceFormatsproperty to the run event, one entry per project (bicep|json|bicep-generated-json), plus abicepEnabledmetadata field, so Bicep adoption is measurable separately from hand-written ARM JSON.Bicep support, across repos: parser#234 · runner#1377 · cli#210 · lsp#70 · dashboard#5423 · vscode#347 · jetbrains#30 · nvim#3 · zed#4 · docs#1005
Merge order that matters
BICEPto/_internal/repo/iac-types; without the Prisma enum value and its migration the API rejects the call with a 400invalid_iac_types.plugins.jsonbump does anything. Until then the runner downloads arm 0.0.7, which has no Bicep capability, soINFRACOST_ENABLE_BICEPis inert and the e2e Bicep goldens can't be captured.enableBicepinit option; an older server ignores it, so merging them first is harmless but has no effect.Nothing here should be released until the arm plugin 0.0.8 cut is deliberate — the feature is off unless
INFRACOST_ENABLE_BICEPis set, but the plugin version bump is the point of no return.