Skip to content

/claim #8157 chore: update project configuration for testing and Docker setup#8375

Closed
matiasmagni wants to merge 1 commit intocoollabsio:v4.xfrom
matiasmagni:feature/8154-debian-13-support
Closed

/claim #8157 chore: update project configuration for testing and Docker setup#8375
matiasmagni wants to merge 1 commit intocoollabsio:v4.xfrom
matiasmagni:feature/8154-debian-13-support

Conversation

@matiasmagni
Copy link

/claim #8157

Changes

  • Server OS validation (app/Models/Server.php): Added Debian 13 (Trixie) support by including trixie in the list of recognized Debian version codenames. When /etc/os-release has an empty or missing ID but VERSION_CODENAME is a known Debian codename (stretch, buster, bullseye, bookworm, trixie), ID is set to debian so the server is accepted. Tightened parsing of /etc/os-release (skip empty/invalid lines) and made validateOS() return the matching SUPPORTED_OS string consistently.
  • InstallPrerequisites: No change to Debian commands; existing apt flow works for Trixie. Added an explicit branch for Alpine Linux with a clear error message instead of the generic "Unsupported OS type."
  • InstallDocker: Documented in getDebianDockerInstallCommand() that the fallback uses VERSION_CODENAME (e.g. trixie) for the Docker APT suite so all Debian versions, including 13, are supported.
  • Tests: Added tests/Unit/ServerValidateOsSupportTest.php asserting that SUPPORTED_OS includes the debian family and that the Debian codename list used in validateOS() includes trixie and bookworm.

Issues

Category

  • Bug fix
  • New feature
  • Adding new one click service
  • Fixing or updating existing one click service

Screenshots or Video (if applicable)

N/A – backend validation only. Optional: screen recording of adding a Debian 13 server and running "Install Prerequisites" / Docker install without "Unsupported OS type" error.

AI Usage

  • AI is used in the process of creating this PR
  • AI is NOT used in the process of creating this PR

Steps to Test

  • Step 1 – Run unit tests: ./vendor/bin/pest tests/Unit/ServerValidateOsSupportTest.php. Expect 2 tests, 4 assertions, all passing.
  • Step 2 – (Optional, requires a Debian 13 server.) Add a new server in Coolify with SSH access to a host running Debian 13 (Trixie). Confirm the server is detected (no "Server OS type is not supported" during validation).
  • Step 3 – On that server, run Install Prerequisites from the server page. Expect success and "Prerequisites installed successfully" (no "Unsupported OS type for prerequisites installation").
  • Step 4 – On that server, run Docker installation if not already installed. Expect Docker to install using the Debian path (e.g. deb [arch=...] https://download.docker.com/linux/debian trixie stable).

Contributor Agreement

Important

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them

- Added Playwright and PEST configurations to .gitignore and composer.json for improved testing.
- Updated docker-compose.dev.yml to include Playwright service for end-to-end testing.
- Enhanced test scripts in package.json for better test execution.
- Made minor adjustments to InstallDocker and InstallPrerequisites for better OS compatibility.
- Refactored tests to ensure proper setup and execution, including InstanceSettings initialization.
@algora-pbc algora-pbc bot added the 🙋 Bounty claim Issues or PRs that have a Bounty ready to be claimed. label Feb 16, 2026
@github-actions github-actions bot added quality/rejected and removed 🙋 Bounty claim Issues or PRs that have a Bounty ready to be claimed. labels Feb 16, 2026
@github-actions
Copy link
Contributor

This PR did not pass quality checks so it will be closed. If you believe this is a mistake please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add additional server support for Debian 13

1 participant