chore: remove debug logs from issue validation

Remove console.log and logger.debug calls that were added during
development. Keep essential logger.info and logger.error calls.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Kacper
2025-12-28 22:48:32 +01:00
parent 6bdac230df
commit d028932dc8
3 changed files with 3 additions and 45 deletions

View File

@@ -216,14 +216,6 @@ export function useIssueValidation({
} = {}
) => {
const { forceRevalidate = false, comments, linkedPRs } = options;
console.log('[useIssueValidation] handleValidateIssue called with:', {
issueNumber: issue.number,
forceRevalidate,
commentsProvided: !!comments,
commentsCount: comments?.length ?? 0,
linkedPRsProvided: !!linkedPRs,
linkedPRsCount: linkedPRs?.length ?? 0,
});
if (!currentProject?.path) {
toast.error('No project selected');
@@ -261,12 +253,6 @@ export function useIssueValidation({
comments, // Include comments if provided
linkedPRs, // Include linked PRs if provided
};
console.log('[useIssueValidation] Sending validation request:', {
hasComments: !!validationInput.comments,
commentsCount: validationInput.comments?.length ?? 0,
hasLinkedPRs: !!validationInput.linkedPRs,
linkedPRsCount: validationInput.linkedPRs?.length ?? 0,
});
const result = await api.github.validateIssue(
currentProject.path,
validationInput,