Skip to content

Conversation

@DiogoRibeiro7
Copy link
Owner

  • Implement TODO/FIXME/BUG parser with support for multiple languages
  • Extract metadata like priority and due date from comments
  • Add ActionMain.ts as entry point for GitHub Action
  • Configure action.yml and yarn build using ncc

@DiogoRibeiro7 DiogoRibeiro7 requested a review from Copilot April 15, 2025 20:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a parser to extract TODO, FIXME, and BUG comments with metadata from source files and integrates it as a GitHub Action. It also adds corresponding tests and supporting types to verify the parser functionality.

  • Implemented a parser capable of extracting tags and metadata from comments in multiple source languages.
  • Added tests to validate the extraction of tags, metadata, and comment texts.
  • Integrated the parser in ActionMain.ts for GitHub Action execution and updated action.yml accordingly.

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/parser.test.ts Added test cases verifying the extraction of TODO items
tests/example.ts Provided example file with sample TODO/FIXME/BUG comments
src/parser/types.ts Introduced the TodoItem type
src/parser/extractTodosFromDir.ts Implemented directory traversal to extract todos from supported files
src/parser/extractTodos.ts Developed the parser logic to match comments and extract metadata
src/ActionMain.ts Created the GitHub Action entry point that uses the parser
action.yml Configured GitHub Action inputs, runtime, and branding properties
Files not reviewed (1)
  • package.json: Language not supported

@DiogoRibeiro7 DiogoRibeiro7 requested a review from Copilot April 15, 2025 20:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • package.json: Language not supported
Comments suppressed due to low confidence (2)

action.yml:3

  • The author field currently contains a placeholder value. Consider updating it to reflect the actual author or organization before release.
author: 'teu-nome-ou-org'

tests/parser.test.ts:9

  • [nitpick] Test descriptions are written in Portuguese; if a consistent language standard across the codebase is preferred, consider standardizing the language for test messages.
it('deve encontrar 3 TODOs', () => {

@DiogoRibeiro7 DiogoRibeiro7 merged commit acf5d0f into main Apr 15, 2025
1 check passed
@DiogoRibeiro7 DiogoRibeiro7 deleted the feat/initial_commit branch June 5, 2025 07:20
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.

2 participants