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

Resolve major warnings by GH actions compiler #163

Closed
Naamloos opened this issue Oct 28, 2021 · 11 comments
Closed

Resolve major warnings by GH actions compiler #163

Naamloos opened this issue Oct 28, 2021 · 11 comments
Assignees
Labels
code-style Relates to code formatting and conventions good first issue Good for newcomers hacktoberfest Issues for hacktoberfest people!

Comments

@Naamloos
Copy link
Member

Builds generated by GitHub produce some warnings. these need to be fixed. Check the actions tab for output. Any xmldoc issues that nag about non-existant docs can be ignored for now.

@Naamloos Naamloos added good first issue Good for newcomers code-style Relates to code formatting and conventions hacktoberfest Issues for hacktoberfest people! labels Oct 28, 2021
@HenryMigo
Copy link
Contributor

I can pick this one up

@HenryMigo
Copy link
Contributor

HenryMigo commented Oct 30, 2021

It seems a lot of the warnings could be solved with constructors within the models. Could take a while to implement these constructors.

EDIT: It also looks like the build only shows the top 10 warnings. If this is correct then you've got around 3791 warnings to resolve. What I suggest is we eliminate these warnings in small batches to avoid thousands of changes. @Seb-stian do you agree with this approach?

@Naamloos
Copy link
Member Author

Do note that I was referring to the warnings given by github. Warnings by vs/the compiler are of course still welcome to be resolved.

@HenryMigo
Copy link
Contributor

Do note that I was referring to the warnings given by github. Warnings by vs/the compiler are of course still welcome to be resolved.

It looks like it is the compilers warnings in VS but only the top 10 of these as if you drill into the build task in Actions it shows you all the warnings.

@Naamloos
Copy link
Member Author

Do note that I was referring to the warnings given by github. Warnings by vs/the compiler are of course still welcome to be resolved.

It looks like it is the compilers warnings in VS but only the top 10 of these as if you drill into the build task in Actions it shows you all the warnings.

Ahh, fair. I haven't looked into them that much yet 😅

@HenryMigo
Copy link
Contributor

HenryMigo commented Oct 30, 2021

I'll try and tackle as much as I can but don't want to touch too many files in one go.

@HenryMigo
Copy link
Contributor

HenryMigo commented Oct 30, 2021

Just a question, I am seeing async methods around the code that do not have awaitable code within them, do these need to be async and if so await Task.Run(() => OUR_CODE); will need to be used.

@Seb-stian
Copy link
Member

Yes, we do have fire-and-forget tasks here and there. The point is to have some code execute on a thread pool, while execution of the calling code continues.

@Seb-stian
Copy link
Member

Also sorry, didn't notice the edit before. That approach sounds reasonable.

@HenryMigo
Copy link
Contributor

I think I have managed to solve a few, most are XML warnings. 3692 relate to XML out of the 3708 while there are 16 other warnings. PR is #168

@Naamloos
Copy link
Member Author

I'll probably look into muting the "missing xmldoc" warnings project-wide sometime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-style Relates to code formatting and conventions good first issue Good for newcomers hacktoberfest Issues for hacktoberfest people!
Projects
None yet
Development

No branches or pull requests

3 participants