lwc
lwc copied to clipboard
Add CI check that all TODO are addressed by a PR
If a PR fixes an issue, then it would be nice if we could somehow catch all TODOs related to the fixed ticket, so that all the relevant changes can be made (or filed as a separate follow up).
As an example, #3988 fixed #3366, but there was follow up work that was not addressed: https://github.com/salesforce/lwc/blob/ac6514035a474e6bae90bb599f9a6508002cabf4/packages/%40lwc/engine-core/src/typings/weakref.d.ts#L7-L8
hi everyone, wanted to contribute to this issue, any help on how to get started with this?
You could probably use grep to parse the codebase for TODO [#0000] to get the list of issue IDs. I don't know if GitHub Actions has any built-in mechanism to look up issues, but the GitHub CLI does, so you may be able to use that.