Skip to content

Ignore mapping disables during non-recursive synchronization#4211

Merged
premun merged 2 commits into
dotnet:mainfrom
premun:prvysoky/better-exception
Dec 5, 2024
Merged

Ignore mapping disables during non-recursive synchronization#4211
premun merged 2 commits into
dotnet:mainfrom
premun:prvysoky/better-exception

Conversation

@premun

@premun premun commented Dec 4, 2024

Copy link
Copy Markdown
Member

#4159

This means that we will ignore the flag during forward codeflows which would not otherwise be possible because we want to disable the pipeline sync for a repo always first.
But it's okay to do this because when we want to synchronize a single repository, it doesn't make sense to just refuse to do it because it's toggled off. It does make sense to adhere to this flag during a recursive sync (which happens in the pipeline sync).

Also improves the exception when we can't create a PR.

@premun premun requested a review from Copilot December 4, 2024 16:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no suggestions.

@premun premun requested a review from dkurepa December 4, 2024 17:20
@premun premun merged commit 62f7ead into dotnet:main Dec 5, 2024
@premun premun deleted the prvysoky/better-exception branch December 5, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants