Skip to content

Conversation

@DiogoRibeiro7
Copy link
Owner

No description provided.

@DiogoRibeiro7 DiogoRibeiro7 requested a review from Copilot April 17, 2025 18:16
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 19 out of 20 changed files in this pull request and generated 1 comment.

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

src/generateChangelog.ts:3

  • There is an inconsistency in the import path for extractTodosFromDir compared to tests that now import it from '../src/parser/extractTodosFromDir'. Verify and update the import path so the module location is consistent across the project.
import { extractTodosFromDir } from './core/extractTodosFromDir';

@DiogoRibeiro7 DiogoRibeiro7 requested a review from Copilot April 17, 2025 18:38
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 updates import paths to reflect the new "src" directory structure and introduces new features for classifying TODOs and generating changelogs. Additionally, it upgrades workflow actions and adds new mocks and tests to support the added functionalities.

  • Updated import paths in tests and core modules.
  • Added semantic classification for TODOs with a new classifier and labelsFromTodo function.
  • Upgraded GitHub workflow actions and incorporated changelog generation steps.

Reviewed Changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/labelManager.test.ts Updated import path and added a custom beforeEach function.
tests/issueManager.test.ts Updated import paths and introduced a new mock for labelsFromTodo.
tests/extractTodosFromDir.test.ts Updated import path.
tests/extractTodosFromContent.test.ts Updated import path.
tests/extractTodos.test.ts Updated import paths.
tests/commentPatterns.test.ts Updated import path.
tests/classifier.test.ts Added tests to validate the new classifier functionality.
tests/applyTemplate.test.ts Updated import path.
src/core/labelManager.ts Integrated a new semantic labeling function and updated label definitions.
src/core/issueManager.ts Refactored to use the new labelsFromTodo for issue labeling.
src/core/classifier.ts Introduced a new function to classify TODO texts into semantic labels.
src/core/changelog.ts Added changelog generation logic and file writing for CHANGELOG.md.
scripts/generateChangelog.ts Introduced a script to generate a changelog from TODOs.
CHANGELOG.md Added an auto-generated changelog file.
.github/workflows/todo.yml Upgraded actions versions and updated steps to generate and commit both TODO report and changelog.
.github/workflows/run_tests.yml Minor spacing update in test workflow configuration.
Files not reviewed (1)
  • package.json: Language not supported

@DiogoRibeiro7 DiogoRibeiro7 merged commit bb5bfcb into main Apr 17, 2025
1 check passed
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