app-modeling: validate implicit runtime semantics#17
Draft
willdavsmith wants to merge 2 commits into
Draft
Conversation
Copilot-Session: 2f865d97-592b-452e-9084-544ae37d1b4a
Copilot-Session: 2f865d97-592b-452e-9084-544ae37d1b4a
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.
Summary
Require app-modeling to validate implicit runtime semantics before emitting Bicep: application parser coercion and unset behavior, artifact-level recipe output mappings, container-image platform defaults, and authentication/bootstrap readiness.
Reason for change
A SQLPad + Azure SQL evaluation compiled cleanly while producing an undeployable model. It treated a read-only SQL Server
portschema property as available even though the selected Azure recipe maps onlyhost, inherited an incompatible amd64+arm64 image-build default for a Dockerfile that executes target binaries, and omitted the access bootstrap needed for the primary API path. Compilation alone did not detect these defects.Fixes #
How to test
sqlpad/sqlpad@ab1f0c03269f0178b9449d34505ce3462271f340with the Azure SQL profile.Radius.Security/secretsrecipe registered by the Environment.File change summary
skills/app-modeling/SKILL.mdskills/app-modeling/references/runtime-contract.mdskills/app-modeling/references/bicep-structure-rules.md