microsoft / coe-starter-kit

Other
722 stars 212 forks source link

[ALM Accelerator - BUG]: Commit Solution - export-solution-to-git is missing few dependent files to be export #8584

Open Singapuram opened 5 days ago

Singapuram commented 5 days ago

Does this bug already exist in our backlog?

Describe the issue

I have a solution file containing 72 custom connectors. When I commit the solution using "ALM Accelerator for Power Platform" it carries out the process of committing the changes, publishing the changes, and extracting the solution, exporting it into the working repository branch. However, it encounters failures with a few dependent files for 2 custom connectors named "Delete Alert" and "Update Alerts." Interestingly. But working Repo Brach is missing dependency files for these 2 connectors However, I can observe the see these dependency files when I export and extract the .zip file with the connectors folder. I am uncertain about the cause of the issue specific to these specific 2 connectors.

Because of this Because of this I am getting error while I perform the "Deploy Solution" from "ALM Accelerator for Power Platform"

bb0a2778-f65f-49c0-b81f-f4b7899f193c -2147220989 No file with that name found 2024-07-02T18:57:17.2095011Z false bb0a2778-f65f-49c0-b81f-f4b7899f193c -2147220970 System.ArgumentException: No file with that name found 2024-07-02T18:57:17.2095011Z false

Expected Behavior

The contents of the "Connector" directory need to be exported to the current Repository Branch.

What solution are you experiencing the issue with?

Core

What solution version are you using?

1.0.20240305.1

What app or flow are you having the issue with?

ALM Accelerator for Power Platform

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

No response

Anything else?

No response

MaheshSripada commented 4 days ago

Hi @Singapuram,

We will look into this issue. Meanwhile can you please provide some screenshots & logs to investigate.

Singapuram commented 4 days ago

I appreciate you reviewing this matter., Please refer to the screenshots below for a detailed explanation of the issue I am experiencing with 2 connectors, while the rest are functioning properly.

The custom connector lacks essential dependent files, resulting in an error during the solution import via the build pipeline.

image

The custom connector is functioning properly with the necessary dependent files. image

The pipline "export_solution_to_git" which is triggering when we click on "Commit Solution" where actual solution is exported to git repo branch (working repo)

image

I can see those missing dependent files from the exported solution but not from the git repo branch after commit solution through the pipeline "export_solution_to_git"

image

Singapuram commented 1 day ago

The pipeline named "export_solution_to_git" fails to create the files openapidefinition.json, connectionparameters.json, policytemplateinstances.json, and iconblob.png for new connectors. However, these files are present in the extracted zip file of the solution that was manually exported from the environment.

@MaheshSripada @Jenefer-Monroe @mtodd , @tpope , @RajeevPentyala Could you please assist on this.

image

it's creating only .xml file but not dependent files which I mentioned above.

image