Skip to content

Ai integration#134

Merged
snehal0904 merged 4 commits into
tekdi:AI-assessmentfrom
Shubham4026:AI_INTEGRATION
Jul 15, 2026
Merged

Ai integration#134
snehal0904 merged 4 commits into
tekdi:AI-assessmentfrom
Shubham4026:AI_INTEGRATION

Conversation

@Shubham4026

Copy link
Copy Markdown
Collaborator

No description provided.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 210b0b83-aaab-4b3f-abd1-2addeda40bfa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request deprecates telemetry ingestion in the TelemetryController by directly returning a 200 success response to maintain frontend compatibility without calling the service. The review comments correctly point out that the Request import and the @Req() request parameter are now unused and should be removed to clean up the method signature and imports.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

ApiBadRequestResponse,
} from '@nestjs/swagger';
import { Telemetry } from './entities/telemetry';
import { Request, Response } from 'express';

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Since the Request object is no longer used in the controller, its import from express can be removed, leaving only Response.

Suggested change
import { Request, Response } from 'express';
import { Response } from 'express';

Comment on lines 21 to 23
@Res() response: Response,
@Req() request: Request,
) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The request parameter is no longer used in this method since the telemetry ingestion has been deprecated. Removing the unused @Req() request: Request parameter simplifies the method signature and avoids unnecessary decorators.

    @Res() response: Response,
  ) {

@snehal0904
snehal0904 merged commit c886d77 into tekdi:AI-assessment Jul 15, 2026
3 checks 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.

3 participants