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

Log TODOs and LaunchDarkly flags #139889

Merged
merged 7 commits into from
Jan 22, 2025
Merged

Log TODOs and LaunchDarkly flags #139889

merged 7 commits into from
Jan 22, 2025

Conversation

bangbay-bluetiger
Copy link
Contributor

@bangbay-bluetiger bangbay-bluetiger commented Jan 22, 2025

Description

Add pre-commit scripts to generate logs of TODOs and LaunchDarkly flags used throughout the codebase. The logs will help surface tech debt.


How to test

  1. Update logs manually: yarn track-flags and yarn track-todos
  2. Edit a .jsx file and try to commit to trigger the yarn track-flags pre-commit hook
  3. Edit any file and try to commit to trigger the yarn track-todos pre-commit hook
  4. Check logs folder

Pre-review checklist

  • I have added thorough tests, if necessary
  • I have updated relevant documentation, if necessary
  • I have performed a self-review of my code
  • I have manually tested this PR in the deployed cloud environment

Copy link

codeclimate bot commented Jan 22, 2025

Code Climate has analyzed commit c95a036 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 81.3% (0.0% change).

View more on Code Climate.

@bangbay-bluetiger bangbay-bluetiger merged commit ae379d2 into main Jan 22, 2025
21 checks passed
@bangbay-bluetiger bangbay-bluetiger deleted the track-ld-flags branch January 22, 2025 18:02
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