Skip to content

Conversation

@akalipetis
Copy link
Member

  • feat(registry): update versions from the registry
  • feat(registry): automatically generate version file from registry

Fix CLI-24

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 service and runtime versions across the codebase to align with the latest versions available in the Platform.sh registry. The changes include introducing an automated version generation system that fetches current versions from the registry.

Key changes:

  • Added automated version generation tool that fetches versions from Platform.sh registry
  • Updated service and runtime versions to their latest supported versions (e.g., Redis 6.2→8.0, PostgreSQL 14→17, Python 3.9→3.13)
  • Updated test fixtures and templates to reflect new default versions

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
internal/question/models/generate_versions.go New generator tool that fetches and formats version data from registry
internal/question/models/version.go Updated version mappings with latest supported versions from registry
validator/validator_test.go Updated test fixtures to use Redis 8.0 instead of 6.2
platformifier/platformifier_test.go Updated test data with new version arrays and runtime versions
platformifier/templates/upsun/.upsun/config.yaml Updated commented example from PostgreSQL 14 to 17
platformifier/templates/generic/.platform/services.yaml Updated commented example from PostgreSQL 14 to 17

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@akalipetis akalipetis enabled auto-merge November 4, 2025 13:35
Copy link
Contributor

@spk spk left a comment

Choose a reason for hiding this comment

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

LGTM

@akalipetis akalipetis merged commit e504f9c into main Nov 17, 2025
3 checks passed
@akalipetis akalipetis deleted the cli-24-platformify-does-not-have-the-latest-runtime-versions branch November 17, 2025 11:36
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.

4 participants