Skip to content
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

Fix sort ordering and type alias resolution #8438

Merged
merged 4 commits into from
Jun 14, 2024

Conversation

jhendrixMSFT
Copy link
Member

@jhendrixMSFT jhendrixMSFT commented Jun 13, 2024

Sort diagnostics and navigation slices. This requires a custom JSON marshaler for Navigation as it contains a map and the default behavior is non-deterministic. Per the docs, maps are sorted by key so we're ok here.
Recursively resolve type aliases. This is to handle cases where a type alias is to another type alias.

Sort diagnostics and navigation slices. This requires a custom JSON
marshaler for Navigation as it contains a map and the default behavior
is non-deterministic.
Recursively resolve type aliases. This is to handle cases where a type
alias is to another type alias.
@jhendrixMSFT jhendrixMSFT requested a review from chlowell June 13, 2024 15:59
@jhendrixMSFT jhendrixMSFT requested a review from a team as a code owner June 13, 2024 15:59
according to the docs, the keys *are* sorted
@weshaggard
Copy link
Member

@jhendrixMSFT I will sign-off for the codeowners requirement but I suggest adding an entry in the CODEOWNERS file for this tool for future approvals.

@jhendrixMSFT
Copy link
Member Author

@weshaggard I added appropriate code owners but the CI is flagging Charles' alias. Seems weird considering he's a listed code owner in the azure-sdk-for-go repo.

@weshaggard
Copy link
Member

@chlowell can you make your membership in Azure public?
image

@jhendrixMSFT he is baselined in the go repo currently https://github.com/Azure/azure-sdk-for-go/blob/main/.github/CODEOWNERS_baseline_errors.txt#L1. Folks should be a public Azure member with write access.

@chlowell
Copy link
Member

👍 have done

@jhendrixMSFT
Copy link
Member Author

/azp run

Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@jhendrixMSFT
Copy link
Member Author

/azp run tools - codeowners-linter - ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jhendrixMSFT jhendrixMSFT merged commit 044a1fa into Azure:main Jun 14, 2024
8 checks passed
@jhendrixMSFT jhendrixMSFT deleted the recursive-type-alias branch June 14, 2024 14:16
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