-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShiftLeft pipeline support request by Fuming Zhang: Sync Tsp to GitHub
task is removing files unexpectedly
#5788
Comments
@FumingZhang big thx for the detailed report. I'll investigate during my business hours with priority. In the meantime, as before, as a workaround please submit PRs directly to the azure-rest-api-specs repo. |
Some of my findings so far: The way it should work is:
If you observe the links above, you will see that:
So the problem is in step 1., where the The ShiftLeft pipeline definition states that
|
Sync Swagger to GitHub
task is removing files unexpectedlySync Tsp to GitHub
task is removing files unexpectedly
BTW, I've got some new findings. I created ADO PR #7854193 with only one line changed in one commit, but there are two commits in the synced GitHub PR #11866, one by AutoSyncSwagger, exactly what was changed in the ADO PR, and the other suspicious one by AutoSyncTsp, which removes the fleet related files. Judging from the pipeline log, the tsp step does have a git commit operation (after |
@FumingZhang the bug should now be fixed, as I just merged this PR: https://devdiv.visualstudio.com/DevDiv/_git/openapi-pipeline/pullrequest/461290 Unfortunately, I believe the PR affected by this bug will have to have a change pushed to it, as currently I am unaware of a way of triggering the pipeline again with @FumingZhang or @haitch could you try pushing a change to the PR https://msazure.visualstudio.com/CloudNativeCompute/_git/aks-rp/pullrequest/7796791 This might not work due to the script logic being slightly changed and thus getting confused. In such case, I would kindly ask you to re-create the PR and see how the ShiftLeft pipeline behaves. I know it is a hassle, sorry! |
With @FumingZhang we confirmed the fix works. Build log here. As a side note, it was possible to just re-trigger the PR pipeline with correct Closing the issue. |
Task Sync Swagger to GitHub is removing some files unexpectedly.
The ADO PR #7796791 only changed AKS related content, but in the synced GitHub PR #11815 in addition to synchronizing necessary files, some files related to fleet are unexpectedly deleted.
From pipeline log, the fleet related files are recognized and included, but somehow deleted later.
I could help confirm the unexpectedly deleted files are there in both ADO source branch and ARMCoreRPDev.
We've defined manifest file like
More background
The text was updated successfully, but these errors were encountered: