Skip to content

Fix sort ordering and type alias resolution#8438

Merged
jhendrixMSFT merged 4 commits intoAzure:mainfrom
jhendrixMSFT:recursive-type-alias
Jun 14, 2024
Merged

Fix sort ordering and type alias resolution#8438
jhendrixMSFT merged 4 commits intoAzure:mainfrom
jhendrixMSFT:recursive-type-alias

Conversation

@jhendrixMSFT
Copy link
Copy Markdown
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
Comment thread src/go/cmd/module.go
Comment thread src/go/cmd/api_view.go
Comment thread src/go/cmd/api_view_test.go
@weshaggard
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

👍 have done

@jhendrixMSFT
Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

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
Copy Markdown
Member Author

/azp run tools - codeowners-linter - ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@jhendrixMSFT jhendrixMSFT merged commit 044a1fa into Azure:main Jun 14, 2024
@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