Skip to content

Conversation

@Rasaboun
Copy link

What is this PR about?

Update Plane template from v0.27.1 to v1.2.1

Changes:

  • Update image registry from makeplane/ to artifacts.plane.so/makeplane/
  • Update PostgreSQL from 17-alpine to 15.7-alpine
  • Update Valkey from 7.2.5-alpine to 7.2.11-alpine
  • Add LIVE_SERVER_SECRET_KEY environment variable (required for live service)
  • Add LISTEN_HTTP_PORT and LISTEN_HTTPS_PORT variables
  • Add proxy volumes (proxy_config, proxy_data)
  • Fix RabbitMQ user variable (was literal string instead of variable)
  • Add restart policies for all services

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

N/A

Screenshots or Videos

N/A - Template update based on Plane v1.2.1 Release

Copilot AI review requested due to automatic review settings December 24, 2025 19:23
@github-actions
Copy link

github-actions bot commented Dec 24, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview bdf1f04

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 updates the Plane project management template from v0.27.1 to v1.2.1, incorporating upstream changes from the official Plane release. The update includes a registry migration, dependency version updates, and new configuration requirements for the v1.2.1 release.

Key changes:

  • Migrated Docker image registry from makeplane/ to artifacts.plane.so/makeplane/ with version bump to v1.2.1
  • Added new environment variables (LIVE_SERVER_SECRET_KEY, LISTEN_HTTP_PORT, LISTEN_HTTPS_PORT) and proxy volumes required by the new version
  • Updated dependency versions (PostgreSQL 17→15.7, Valkey 7.2.5→7.2.11) and added restart policies across all services

Reviewed changes

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

File Description
meta.json Updates version metadata from v0.27.1 to v1.2.1
blueprints/plane/template.toml Adds new environment variables, fixes RabbitMQ user variable interpolation, and updates domain/URL configurations for v1.2.1
blueprints/plane/docker-compose.yml Updates all image references to new registry and version, downgrades PostgreSQL, updates Valkey version, adds restart policies, and includes new proxy volumes

"RABBITMQ_VHOST=plane",
"API_BASE_URL=http://api:8000",
"DEBUG=0",
"CORS_ALLOWED_ORIGINS=https://${main_domain}",
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

The CORS_ALLOWED_ORIGINS environment variable is using HTTPS by default. According to the project guidelines, URL variables should use HTTP by default unless HTTPS is explicitly required by the application or when using a reverse proxy with SSL termination. Consider changing this to http://${main_domain} unless Plane specifically requires HTTPS for CORS origins.

Copilot generated this review using guidance from repository custom instructions.
- .env

plane-minio:
image: minio/minio:latest
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

The MinIO image is using the latest tag, which violates the project convention. The latest tag can break templates when upstream images change unexpectedly. Pin this to a specific version (e.g., minio/minio:RELEASE.2024-12-13T22-19-12Z or another stable release) to ensure reproducible deployments.

Copilot generated this review using guidance from repository custom instructions.
"MINIO_ENDPOINT_SSL=0"
"APP_DOMAIN=${main_domain}",
"APP_RELEASE=v1.2.1",
"WEB_URL=https://${main_domain}",
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

The WEB_URL environment variable is using HTTPS by default. According to the project guidelines, URL variables should use HTTP by default unless HTTPS is explicitly required by the application or when using a reverse proxy with SSL termination. Consider changing this to http://${main_domain} unless Plane specifically requires HTTPS for its web URL.

Copilot generated this review using guidance from repository custom instructions.
- Update image registry from makeplane/ to artifacts.plane.so/makeplane/
- Update default version from v0.27.1 to v1.2.1
- Update PostgreSQL from 17-alpine to 15.7-alpine
- Update Valkey from 7.2.5-alpine to 7.2.11-alpine
- Add LIVE_SERVER_SECRET_KEY environment variable (required for live service)
- Add proxy volumes (proxy_config, proxy_data)
- Add LISTEN_HTTP_PORT and LISTEN_HTTPS_PORT variables
- Fix RabbitMQ user variable (was using literal string instead of variable)
- Add restart policies for all services
- Change WEB_URL from https to http (per project guidelines)
- Change CORS_ALLOWED_ORIGINS from https to http (per project guidelines)
- Pin MinIO to specific version RELEASE.2025-09-07T16-13-09Z (avoid latest tag)
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

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


plane-minio:
image: minio/minio:latest
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

The MinIO image tag references a release date of September 7, 2025 (RELEASE.2025-09-07T16-13-09Z). Since MinIO uses actual release dates in their tags, this appears to be a valid future release tag format. However, using "latest" or future-dated tags can cause issues if the image doesn't exist yet or changes unexpectedly. According to the project conventions, versions should be pinned to specific, verified versions and the "latest" tag should never be used. Before committing, verify this specific MinIO release exists using "docker manifest inspect minio/minio:RELEASE.2025-09-07T16-13-09Z".

Copilot generated this review using guidance from repository custom instructions.
Comment on lines +5 to +6
image: artifacts.plane.so/makeplane/plane-frontend:${APP_RELEASE:-v1.2.1}
restart: unless-stopped
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

The previous version had explicit "command" directives for the web, space, admin, and live services (e.g., "node web/server.js web"). These have been removed in v1.2.1. While this may be intentional if the new images have updated ENTRYPOINT/CMD defaults, it's worth verifying that these services still start correctly without explicit commands. Consider testing the deployment to ensure all frontend services initialize properly.

Copilot uses AI. Check for mistakes.
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

1 participant