-
Notifications
You must be signed in to change notification settings - Fork 176
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 Swagger to GitHub
task is producing an empty diff
#5725
Comments
Sync Swagger to GitHub
is not creating diff (reported by Fuming Zhang)Sync Swagger to GitHub
is not creating diff (reported by Fuming Zhang)
Sync Swagger to GitHub
is not creating diff (reported by Fuming Zhang)Sync Swagger to GitHub
is not creating diff
Sync Swagger to GitHub
is not creating diffSync Swagger to GitHub
is not creating diff PR
Sync Swagger to GitHub
is not creating diff PRSync Swagger to GitHub
is not creating diff PR
Hey @konrad-jamrozik, may I ask how is the progress of this bug fix? We want to do swagger release as soon as possible. |
@FumingZhang apologizes for the delay! I am going to work on this over the next 12 hours, expect an update from me in that time window. |
I have advised @FumingZhang to create a PR directly to the However, the rule assumes timely support if issues like this one arise, which is currently not possible, as I am new to the codebase and I am still working through it, making progress, albeit slow. Fuming confirmed he is working on submitting a PR to the main repo. |
Manually created PR #23189. |
I submitted a PR against ShiftLeft source adding diagnostic info to help diagnose the root-cause: |
@FumingZhang I believe I found the root cause. In our call we had few days ago you gave as an example that the following directory should have been included in the diff PR:
I ran another build from that branch with additional diagnostic output which you find here. In this build you can see:
Please note the: this is a different path than the example you gave, of:
it differs by suffix: Hence it seems to me that if you would change the value of the CadlDirForArm variable, which currently is Now all future builds using ShiftLeft should have this diagnostic information, thus making it easier to figure out what went wrong. Let me know if this solves the issue, thanks! |
Sync Swagger to GitHub
is not creating diff PRSync Tsp to GitHub
and Sync Swagger toGitHub
tasks are not creating diff PR
Sync Tsp to GitHub
and Sync Swagger toGitHub
tasks are not creating diff PRSync Tsp to GitHub
and Sync Swagger toGitHub
tasks are not creating diff PRs
Sync Tsp to GitHub
and Sync Swagger toGitHub
tasks are not creating diff PRsSync Tsp to GitHub
and Sync Swagger to GitHub
tasks are not creating diff PR
@konrad-jamrozik, there are 2 sub-services under the Microsoft.ContainerService namespace, the first one is aks (with path The API changes of these two services will be released independently, so we defined the manifest file like
This time, I am trying to release aks related changes via branch So once we've enabled cadl, it's effective for the whole namespace? Can the traditional way and cadl way coexist? |
@FumingZhang apologies, my mistake. I somehow assumed the issue is that both
Yes, they can co-exist. There are two separate tasks for that in the ShiftLeft pipeline. I believe |
Sync Tsp to GitHub
and Sync Swagger to GitHub
tasks are not creating diff PRSync Swagger to GitHub
task is producing empty diff
Sync Swagger to GitHub
task is producing empty diffSync Swagger to GitHub
task is producing an empty diff
@FumingZhang I submitted a PR with experimental bugfix, waiting for approval: |
Thanks for the update |
@FumingZhang I fixed the immediate bug with this PR, but I uncovered the next bug; currently waiting for approval for a PR with a fix. |
@FumingZhang OK looks like the bug is finally fixed! Resulting PR, confirming the fix works Now I am going to look into #5788 I am closing this issue as resolved, but let me know if something is still not right. |
Cool, thanks @konrad-jamrozik. |
Relevant post on API Service Toolset Teams channel.
I had calls with Ray Chen about it. Recordings available on https://www.microsoft365.com/mycontent
Recording 1 - about ShiftLeft in general
Recording 2 - debugging this issue specifically
Urgency:
Tasks that didn't diff anything:
The text was updated successfully, but these errors were encountered: