microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
280 stars 115 forks source link

Publish to AppSource - Automated validation: failure #1073

Closed fvet closed 3 months ago

fvet commented 4 months ago

When running the 'Publish to AppSource' action, the 'Deliver to AppSource' step is marked as completed (green flag)

image

However, when looking in the logs, the Automated validation step has failed.

Automated validation............................ Failure
New AppSource submission failed

resourceType       : Submission
state              : InProgress
substate           : Failed
targets            : {@{type=Scope; value=Preview}}
resources          : {@{type=Availability; value=b3d6c367-5201-a94e-7e6a-711554
                     696a90}, @{type=Listing; value=bc97844a-1ae2-a78d-5e5e-9ec
                     c0814248e}, @{type=Package; value=f7d69b74-b128-450f-88c1-
                     a6544c4e5f4b}, @{type=Property; value=1cf24716-8c36-bb9b-3
                     d0f-04229e41e354}…}
publishedTimeInUtc : 01/01/1601 00:00:00
pendingUpdateInfo  : @{updateType=Create; status=Completed}
releaseNumber      : 26
friendlyName       : Submission 26
areResourcesReady  : True
id                 : 1152921505697719189

2 questions:

freddydk commented 4 months ago

I think you are right that it should fail, just want to check one thing:

What did you specify in this question when running the workflow: image

on the 2. question - yes, we could certainly include a step, which would get the result codes from validation and add this to the workflow result - maybe in a summary field - I will add this to our backlog, but I am unsure when we will get to this.

fvet commented 4 months ago

What did you specify in this question when running the workflow:

image

I selected the option to go live.

Event name: workflow_dispatch
Inputs:
- appVersion = 'current'
- GoLive = 'true'
- projects = 'Project_Manufacturing'