Skip to content

Conversation

@admdly
Copy link
Contributor

@admdly admdly commented Dec 24, 2025

The legacy /releases/v1 service and all associated code, tests, and mocks have been removed. Documentation and type definitions were updated to reflect that only the versions and central-alerts services remain. This simplifies the codebase and test suite, as the releases service is no longer supported.

The legacy `/releases/v1` service and all associated code, tests, and mocks have been removed. Documentation and type definitions were updated to reflect that only the versions and central-alerts services remain. This simplifies the codebase and test suite, as the releases service is no longer supported.
Copilot AI review requested due to automatic review settings December 24, 2025 00:07
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
api-worker 8b15ac9 Commit Preview URL

Branch Preview URL
Dec 24 2025, 12:08 AM

Copy link
Contributor

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 removes the deprecated /releases/v1 service and all related code, tests, and documentation. The legacy service has been superseded by the more comprehensive /versions/v1 service. As a bonus, CORS middleware is added to the central-alerts service for consistency with the versions service.

  • Complete removal of the /releases/v1 service implementation and route registration
  • Deletion of all associated test files and mock data for the releases service
  • Updates to test files to remove all references to the deprecated service
  • Documentation updates reflecting that only two services (versions and central-alerts) remain active

Reviewed changes

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

Show a summary per file
File Description
src/app/index.ts Removed import and route registration for the deprecated releases service
src/services/releases/v1/index.ts Deleted entire releases service implementation
src/services/releases/v1/interfaces.ts Deleted releases service type definitions
src/services/releases/v1/README.md Deleted releases service documentation
src/services/central-alerts/v1/index.ts Added CORS middleware for consistency with versions service
test/services/releases/v1/index.test.ts Deleted comprehensive test suite for releases service
test/mocks/releases.ts Deleted mock data used for releases service testing
test/mocks/README.md Updated to remove reference to deleted releases mock file
test/utils/test-types.ts Removed ReleasesResponse and ReleaseVersion type definitions
test/integration/app.test.ts Updated integration tests to remove all releases service test cases and references
test/app/index.test.ts Updated app tests to remove releases service routing and communication tests
README.md Updated main documentation to reflect two services instead of three

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

@admdly admdly merged commit d1f91a7 into main Dec 24, 2025
10 checks passed
@admdly admdly deleted the chore/drop-releases-api branch December 24, 2025 00:11
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