Hello mardahacker,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having issue Azure Container Apps Revision Changes Not Propagating to Default Application URL.
Firstly, try to understand that Azure Container Apps do not automatically switch traffic to a new revision unless explicitly configured to do so. The best thing you can do is to manually or automatically update traffic settings to point to the latest revision after each deployment.
# Update Traffic to Point to the Latest Revision:
# Use the following command to inspect the current traffic distribution among revisions:
az containerapp ingress traffic show --name <app-name> --resource-group <resource-group>
# Set Traffic to the Latest Revision by identify the latest revision's name (visible in the above command) and update the traffic to route 100% to this revision:
az containerapp ingress traffic set --name <app-name> --resource-group <resource-group> --revision-weight <latest-revision-name>=100
# Set Revision Mode to Single (Optional) If you want to simplify management and ensure only one revision is active at any time:
az containerapp update --name <app-name> --resource-group <resource-group> --revision-mode Single
After updating the traffic, test the default URL again. It should now reflect the latest application changes.
NOTE: If you are using automation tools or CI/CD pipelines, you might NEED to incorporate traffic management commands directly into deployment scripts.
If the above steps don't resolve the issue, review the detailed documentation on Azure Container Apps revisions. - https://learn.microsoft.com/en-us/azure/container-apps/revisions and ingress configuration. - https://learn.microsoft.com/en-us/azure/container-apps/ingress-how-to
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.