Skip to content

fix: cleanup mock#4266

Merged
ulemons merged 1 commit into
mainfrom
fix/mock-cleanup
Jun 25, 2026
Merged

fix: cleanup mock#4266
ulemons merged 1 commit into
mainfrom
fix/mock-cleanup

Conversation

@ulemons

@ulemons ulemons commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove unused mock

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Performance improvement
  • Chore / dependency update
  • Documentation

Note

Low Risk
Pure deletion of unreferenced mock data; no production logic or API behavior is modified.

Overview
Removes backend/src/api/public/v1/packages/mockData.ts, which defined static list/detail/metrics fixtures (MOCK_PACKAGES, MOCK_DETAILS, MOCK_METRICS) for the public packages API. Nothing in the backend still imports those symbols, so this is dead-code removal with no runtime behavior change.

Reviewed by Cursor Bugbot for commit 33016d1. Bugbot is set up for automated code reviews on this repo. Configure here.

Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
@ulemons ulemons self-assigned this Jun 25, 2026
Copilot AI review requested due to automatic review settings June 25, 2026 13:39
@ulemons ulemons added the Bug Created by Linear-GitHub Sync label Jun 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Jira Issue Key Missing

Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.

Example:

  • feat: add user authentication (CM-123)
  • feat: add user authentication (IN-123)

Projects:

  • CM: Community Data Platform
  • IN: Insights

Please add a Jira issue key to your PR title.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 removes a dead mock-data module from the public packages API area of the backend, reducing unused code without changing runtime behavior.

Changes:

  • Deleted backend/src/api/public/v1/packages/mockData.ts (static fixtures + related TS interfaces) that no longer has any in-repo references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ulemons ulemons merged commit c1ef5d3 into main Jun 25, 2026
19 checks passed
@ulemons ulemons deleted the fix/mock-cleanup branch June 25, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants