Skip to content

Conversation

@AlexSkrypnyk
Copy link
Member

@AlexSkrypnyk AlexSkrypnyk commented Oct 6, 2025

Closes #1967

Summary by CodeRabbit

  • New Features

    • Added a Hosting Project Name prompt for Acquia and Lagoon that auto-discovers values from environment/config, requires/validates input, trims input, and propagates the project name into environment and host configs. Installer progress and summary now include this prompt.
  • Tests

    • Added unit and functional tests covering validation, discovery paths, and end-to-end installer behavior for Acquia and Lagoon.

@coderabbitai
Copy link

coderabbitai bot commented Oct 6, 2025

Walkthrough

Adds a new HostingProjectName prompt handler and wires it into PromptManager (TOTAL_RESPONSES, hosting flow, processors, summary). The handler discovers project name from Acquia/Lagoon env and config files, validates/transforms input, and persists it to dotenv and config files. Unit and functional tests added/updated.

Changes

Cohort / File(s) Summary
New prompt handler
.vortex/installer/src/Prompts/Handlers/HostingProjectName.php
Adds HostingProjectName handler: label/hint/placeholder; required flag; shouldRun for Acquia/Lagoon; default from MachineName; discover via Acquia/Lagoon env or config files; validate with Converter::phpPackageName; transform trims; process writes dotenv entries and replaces placeholders in settings.acquia.php and lagoon.site.yml.
PromptManager integration
.vortex/installer/src/Prompts/PromptManager.php
Imports handler; increments TOTAL_RESPONSES 25→26; conditionally prompts for HostingProjectName after HostingProvider (gated by shouldRun); includes handler in processors execution order; extends hosting responses summary to include hosting project name for Acquia/Lagoon.
Functional tests
.vortex/installer/tests/Functional/Handlers/HostingProjectNameInstallTest.php
New functional tests for Acquia and Lagoon scenarios: set env prompts and assert generated files/content include the configured project name and expected replacements.
Unit test scaffold update
.vortex/installer/tests/Unit/Handlers/AbstractPromptManagerTestCase.php
Imports HostingProjectName and updates expected defaults to include HostingProjectName::id() with null.
Unit tests for handler flow
.vortex/installer/tests/Unit/Handlers/HostingProjectNamePromptManagerTest.php, .vortex/installer/tests/Unit/Handlers/HostingProviderPromptManagerTest.php
New unit tests covering valid/invalid inputs and discovery paths (env, settings.acquia.php, lagoon.site.yml) for Acquia and Lagoon; existing provider tests extended to include project-name default in scenarios.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant PM as PromptManager
  participant H as HostingProjectName
  participant E as Env (.env)
  participant F as ConfigFiles (settings.acquia.php / lagoon.site.yml)

  PM->>H: shouldRun(responses)
  alt Hosting = Acquia or Lagoon
    PM->>H: label/hint/placeholder/default
    par Discovery
      H->>E: read env vars (Acquia/Lagoon)
      H->>F: parse settings.acquia.php / lagoon.site.yml
    end
    User->>PM: provide project name
    PM->>H: validate(value)
    H-->>PM: transformed value
    PM->>H: process(value)
    H->>E: write/update dotenv entries
    H->>F: replace placeholders (your_site, domain variants)
  else
    PM-->>User: skip prompt
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~30 minutes

Possibly related PRs

Suggested labels

AUTOMERGE

Poem

I hop through envs and YAML lines,
I find a name where the sunlight shines.
I trim the spaces, place it right,
Dotenv set and configs bright. 🐇✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 76.47% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title clearly states that the pull request adds support for the hosting project name, which is the primary change implemented, and it remains concise and descriptive without including extraneous details or ambiguous phrasing.
Linked Issues Check ✅ Passed The pull request introduces a new prompt handler that surfaces the hosting project name, reads from the LAGOON_PROJECT environment variable as required, integrates this prompt into the installer flow, updates configuration files, and includes tests covering both Lagoon and Acquia scenarios, thereby fully satisfying the linked issue’s coding objective to expose the hosting project name.
Out of Scope Changes Check ✅ Passed All modifications in this pull request are focused on adding and integrating the hosting project name prompt and updating related tests without introducing any unrelated functionality or changes outside the scope of exposing the hosting project name.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/1967-installer-support-lagoon-project

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b3889af and a76570c.

⛔ Files ignored due to path filters (200)
  • .vortex/docs/static/img/installer.svg is excluded by !**/*.svg
  • .vortex/installer/tests/Fixtures/install/hosting_acquia/.env is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.docker/cli.dockerfile is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.docker/nginx-drupal.dockerfile is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.dockerignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.env is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.env.local is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.env.local.example is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.eslintignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.github/workflows/build-test-deploy.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.gitignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.gitignore.artifact is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.twig-cs-fixer.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/README.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/behat.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/composer.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docker-compose.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/.htaccess is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/autoload.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/index.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/css/sw_base.css is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/js/sw_base.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/src/Plugin/Block/CounterBlock.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.deploy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.module is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/templates/sw-base-counter-block.html.twig is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/SwBaseFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/SwBaseKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/ArrayTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/AssertTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/MockTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/ReflectionTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Unit/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Unit/SwBaseUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/config/install/search_api.index.content.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/config/install/search_api.server.solr.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/config/install/views.view.search.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/sw_search.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/sw_search.install is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/default.services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/default.settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/example.services.local.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/example.settings.local.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.automated_cron.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.clamav.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.config_split.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.environment_indicator.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.fast404.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.redis.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.robotstxt.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.seckit.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.shield.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.stage_file_proxy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.sw_base.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.system.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.trusted_hosts.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.acquia.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.container.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.gha.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.eslintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.gitignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.npmrc is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.stylelintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/Gruntfile.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/fonts/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/images/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/js/star_wars.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/logo.svg is excluded by !**/*.svg, !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/package.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/patches/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_components.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_fonts.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_mixins.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_rem.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_variables.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/components/_header.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/styles.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/star_wars.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/star_wars.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/star_wars.theme is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/StarWarsFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/StarWarsKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Unit/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Unit/StarWarsUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docs/deployment.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/README.txt is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-deploy is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-update/1.provision.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-update/2.purge-cache.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-update/3.notify-deployment.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-db-copy is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/copy-db.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/copy-files.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/domains.txt is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/notify-deployment.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/provision.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/purge-cache.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/prod/post-code-deploy/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/prod/post-code-update is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/package.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpcs.xml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpmd.xml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpstan.neon is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpunit.xml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/tests/phpunit/Drupal/EnvironmentSettingsTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/tests/phpunit/Drupal/SettingsTestCase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/-autoload.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/-index.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.deploy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.module is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/css/-sw_base.css is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/js/-sw_base.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/src/Plugin/Block/-CounterBlock.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/templates/-sw-base-counter-block.html.twig is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Functional/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Functional/-SwBaseFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Kernel/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Kernel/-SwBaseKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-ArrayTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-AssertTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-MockTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-ReflectionTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Unit/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Unit/-SwBaseUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/-sw_search.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/-sw_search.install is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/config/install/-search_api.index.content.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/config/install/-search_api.server.solr.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/config/install/-views.view.search.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-default.services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-default.settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-example.services.local.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-example.settings.local.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.automated_cron.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.clamav.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.config_split.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.environment_indicator.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.fast404.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.redis.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.robotstxt.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.seckit.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.shield.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.stage_file_proxy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.sw_base.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.system.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.trusted_hosts.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/providers/-settings.container.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/providers/-settings.gha.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.eslintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.gitignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.npmrc is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.stylelintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-Gruntfile.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-logo.svg is excluded by !**/*.svg, !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-package.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-star_wars.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-star_wars.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-star_wars.theme is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/fonts/-.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/images/-.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/js/-star_wars.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/patches/-.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_components.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_fonts.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_mixins.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_rem.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_variables.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-styles.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/components/-_header.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Functional/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Functional/-StarWarsFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Kernel/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Kernel/-StarWarsKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Unit/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Unit/-StarWarsUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.dockerignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.env is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.env.local is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.env.local.example is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.github/workflows/close-pull-request.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.lagoon.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/README.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/composer.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/docker-compose.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/docs/deployment.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/drush/sites/lagoon.site.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/tests/phpunit/Drupal/EnvironmentSettingsTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/web/sites/default/includes/providers/settings.lagoon.php is excluded by !.vortex/installer/tests/Fixtures/**
📒 Files selected for processing (6)
  • .vortex/installer/src/Prompts/Handlers/HostingProjectName.php (1 hunks)
  • .vortex/installer/src/Prompts/PromptManager.php (5 hunks)
  • .vortex/installer/tests/Functional/Handlers/HostingProjectNameInstallTest.php (1 hunks)
  • .vortex/installer/tests/Unit/Handlers/AbstractPromptManagerTestCase.php (2 hunks)
  • .vortex/installer/tests/Unit/Handlers/HostingProjectNamePromptManagerTest.php (1 hunks)
  • .vortex/installer/tests/Unit/Handlers/HostingProviderPromptManagerTest.php (4 hunks)
🧰 Additional context used
🧬 Code graph analysis (2)
.vortex/installer/src/Prompts/PromptManager.php (3)
.vortex/installer/src/Prompts/Handlers/HandlerInterface.php (2)
  • id (19-19)
  • shouldRun (87-87)
.vortex/installer/src/Prompts/Handlers/AbstractHandler.php (2)
  • id (52-62)
  • shouldRun (102-104)
.vortex/installer/src/Prompts/Handlers/HostingProvider.php (1)
  • HostingProvider (11-124)
.vortex/installer/tests/Unit/Handlers/AbstractPromptManagerTestCase.php (2)
.vortex/installer/src/Prompts/Handlers/HandlerInterface.php (1)
  • id (19-19)
.vortex/installer/src/Prompts/Handlers/AbstractHandler.php (1)
  • id (52-62)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
  • GitHub Check: build (1)
  • GitHub Check: build (0)
  • GitHub Check: vortex-test-deployment (1)
  • GitHub Check: vortex-test-workflow (2)
  • GitHub Check: vortex-test-workflow (4)
  • GitHub Check: vortex-test-workflow (1)
  • GitHub Check: vortex-test-workflow (0)
  • GitHub Check: vortex-test-workflow (3)
  • GitHub Check: vortex-test-common
  • GitHub Check: vortex-test-deployment (0)
  • GitHub Check: vortex-test-installer (8.3)
  • GitHub Check: vortex-test-installer (8.4)
  • GitHub Check: vortex-test-installer (8.2)
  • GitHub Check: vortex-test-docs
🔇 Additional comments (23)
.vortex/installer/src/Prompts/PromptManager.php (5)

66-66: LGTM!

The increment from 25 to 26 correctly reflects the addition of the HostingProjectName prompt.


19-19: LGTM!

The import follows the existing alphabetical ordering pattern and is correctly positioned.


162-166: LGTM!

The conditional prompt implementation is consistent with other conditionally-shown prompts (ProfileCustom, ThemeCustom, DatabaseImage). The positioning after HostingProvider is appropriate since shouldRun depends on the hosting provider selection.


287-287: LGTM!

The processor execution order places HostingProjectName after Domain and before ModulePrefix, which is a reasonable position for project-level configuration processing.


389-391: LGTM!

The conditional inclusion in the responses summary correctly mirrors the shouldRun logic, showing the hosting project name only when the provider is LAGOON or ACQUIA.

.vortex/installer/tests/Unit/Handlers/AbstractPromptManagerTestCase.php (2)

19-19: LGTM!

The import is correctly positioned in alphabetical order after HostingProvider.


134-134: LGTM!

Setting the default to NULL is correct since HostingProjectName is a conditional prompt that only runs for Lagoon or Acquia hosting providers.

.vortex/installer/tests/Unit/Handlers/HostingProviderPromptManagerTest.php (2)

9-9: LGTM!

The import is correctly positioned.


33-33: LGTM!

The addition of HostingProjectName::id() => 'myproject' to the discovery test scenarios is correct. The value 'myproject' aligns with the MachineName from the test setup, which matches the default() logic in the HostingProjectName handler.

Also applies to: 47-47, 61-61

.vortex/installer/tests/Functional/Handlers/HostingProjectNameInstallTest.php (2)

20-29: LGTM!

The Acquia functional test correctly sets up the hosting provider and project name, then asserts the expected configuration outputs including the VORTEX_ACQUIA_APP_NAME environment variable and the Acquia settings file path pattern.


32-43: LGTM!

The Lagoon functional test correctly sets up the hosting provider and project name, then asserts the expected configuration outputs including the LAGOON_PROJECT environment variable, drush site alias user pattern, and domain pattern.

.vortex/installer/tests/Unit/Handlers/HostingProjectNamePromptManagerTest.php (5)

23-23: LGTM!

The clear_keys variable is a standard pattern in the test suite for resetting default input values.


26-37: LGTM!

The prompt tests for both Acquia and Lagoon correctly simulate user input, clear default values, and verify the expected outcomes including hosting provider, project name, deploy type, database source, and webroot.

Also applies to: 81-91


39-42: LGTM!

The validation tests correctly verify that project names with spaces are rejected with an appropriate error message that explains the allowed character set.

Also applies to: 93-96


44-58: LGTM!

The environment-based discovery tests correctly stub dotenv values (VORTEX_ACQUIA_APP_NAME and LAGOON_PROJECT) and verify that these values are discovered and used as defaults.

Also applies to: 98-111


60-79: LGTM!

The file-based discovery tests correctly create fixture files (settings.acquia.php and lagoon.site.yml) with appropriate content patterns and verify that project names are discovered from these files.

Also applies to: 113-132

.vortex/installer/src/Prompts/Handlers/HostingProjectName.php (7)

16-18: LGTM!

The label, hint, and placeholder provide clear, helpful information to users about the hosting project name field.

Also applies to: 23-25, 30-32


37-39: LGTM!

Marking this field as required is appropriate since it's essential configuration for Acquia and Lagoon hosting.


44-50: LGTM!

The shouldRun logic correctly gates this prompt to only appear for Lagoon or Acquia hosting providers, which is consistent with the prompt flow in PromptManager.


55-61: LGTM!

Using MachineName as the default when available is a sensible choice since hosting project names typically match the site machine name.


104-106: LGTM!

The validation correctly uses Converter::phpPackageName() to enforce machine name format, and provides a clear error message explaining the allowed character set.


111-113: LGTM!

Simple trim transformation is appropriate for text input sanitization.


118-133: LGTM!

The process() method correctly:

  • Guards against non-Acquia/Lagoon providers
  • Updates .env with both VORTEX_ACQUIA_APP_NAME and LAGOON_PROJECT
  • Replaces placeholders in settings files and drush aliases for both providers

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot temporarily deployed to commit October 6, 2025 08:34 Inactive
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c99b335 and c34d01f.

⛔ Files ignored due to path filters (199)
  • .vortex/docs/static/img/installer.svg is excluded by !**/*.svg
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.docker/cli.dockerfile is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.docker/nginx-drupal.dockerfile is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.dockerignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.env is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.env.local is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.env.local.example is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.eslintignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.github/workflows/build-test-deploy.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.gitignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.gitignore.artifact is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/.twig-cs-fixer.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/README.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/behat.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/composer.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docker-compose.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/.htaccess is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/autoload.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/index.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/css/sw_base.css is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/js/sw_base.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/src/Plugin/Block/CounterBlock.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.deploy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/sw_base.module is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/templates/sw-base-counter-block.html.twig is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Functional/SwBaseFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Kernel/SwBaseKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/ArrayTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/AssertTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/MockTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Traits/ReflectionTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Unit/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_base/tests/src/Unit/SwBaseUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/config/install/search_api.index.content.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/config/install/search_api.server.solr.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/config/install/views.view.search.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/sw_search.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/modules/custom/sw_search/sw_search.install is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/default.services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/default.settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/example.services.local.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/example.settings.local.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.automated_cron.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.clamav.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.config_split.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.environment_indicator.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.fast404.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.redis.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.robotstxt.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.seckit.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.shield.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.stage_file_proxy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.sw_base.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.system.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/modules/settings.trusted_hosts.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.acquia.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.container.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.gha.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/sites/default/settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.eslintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.gitignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.npmrc is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/.stylelintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/Gruntfile.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/fonts/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/images/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/js/star_wars.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/logo.svg is excluded by !**/*.svg, !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/package.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/patches/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_components.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_fonts.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_mixins.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_rem.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/_variables.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/components/_header.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/scss/styles.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/star_wars.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/star_wars.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/star_wars.theme is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Functional/StarWarsFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Kernel/StarWarsKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Unit/ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docroot/themes/custom/star_wars/tests/src/Unit/StarWarsUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/docs/deployment.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/README.txt is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-deploy is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-update/1.provision.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-update/2.purge-cache.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-code-update/3.notify-deployment.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/common/post-db-copy is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/copy-db.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/copy-files.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/domains.txt is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/notify-deployment.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/provision.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/library/purge-cache.sh is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/prod/post-code-deploy/.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/hooks/prod/post-code-update is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/package.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpcs.xml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpmd.xml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpstan.neon is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/phpunit.xml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/tests/phpunit/Drupal/EnvironmentSettingsTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/tests/phpunit/Drupal/SettingsTestCase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/-autoload.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/-index.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.deploy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/-sw_base.module is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/css/-sw_base.css is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/js/-sw_base.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/src/Plugin/Block/-CounterBlock.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/templates/-sw-base-counter-block.html.twig is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Functional/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Functional/-SwBaseFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Kernel/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Kernel/-SwBaseKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-ArrayTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-AssertTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-MockTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Traits/-ReflectionTrait.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Unit/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_base/tests/src/Unit/-SwBaseUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/-sw_search.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/-sw_search.install is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/config/install/-search_api.index.content.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/config/install/-search_api.server.solr.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/modules/custom/sw_search/config/install/-views.view.search.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-default.services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-default.settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-example.services.local.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-example.settings.local.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-services.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/-settings.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.automated_cron.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.clamav.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.config_split.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.environment_indicator.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.fast404.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.redis.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.robotstxt.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.seckit.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.shield.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.stage_file_proxy.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.sw_base.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.system.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/modules/-settings.trusted_hosts.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/providers/-settings.container.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/sites/default/includes/providers/-settings.gha.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.eslintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.gitignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.npmrc is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-.stylelintrc.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-Gruntfile.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-logo.svg is excluded by !**/*.svg, !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-package.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-star_wars.info.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-star_wars.libraries.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/-star_wars.theme is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/fonts/-.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/images/-.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/js/-star_wars.js is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/patches/-.gitkeep is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_components.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_fonts.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_mixins.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_rem.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-_variables.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/-styles.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/scss/components/-_header.scss is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Functional/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Functional/-StarWarsFunctionalTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Kernel/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Kernel/-StarWarsKernelTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Unit/-ExampleTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___acquia/web/themes/custom/star_wars/tests/src/Unit/-StarWarsUnitTestBase.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.dockerignore is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.env is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.env.local is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.env.local.example is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.github/workflows/close-pull-request.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/.lagoon.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/README.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/composer.json is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/docker-compose.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/docs/deployment.md is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/drush/sites/lagoon.site.yml is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/tests/phpunit/Drupal/EnvironmentSettingsTest.php is excluded by !.vortex/installer/tests/Fixtures/**
  • .vortex/installer/tests/Fixtures/install/hosting_project_name___lagoon/web/sites/default/includes/providers/settings.lagoon.php is excluded by !.vortex/installer/tests/Fixtures/**
📒 Files selected for processing (5)
  • .vortex/installer/src/Prompts/Handlers/HostingProjectName.php (1 hunks)
  • .vortex/installer/src/Prompts/PromptManager.php (5 hunks)
  • .vortex/installer/tests/Functional/Handlers/HostingProjectNameInstallTest.php (1 hunks)
  • .vortex/installer/tests/Unit/Handlers/AbstractPromptManagerTestCase.php (2 hunks)
  • .vortex/installer/tests/Unit/Handlers/HostingProjectNamePromptManagerTest.php (1 hunks)
🧰 Additional context used
🧬 Code graph analysis (2)
.vortex/installer/tests/Unit/Handlers/AbstractPromptManagerTestCase.php (2)
.vortex/installer/src/Prompts/Handlers/AbstractHandler.php (1)
  • id (52-62)
.vortex/installer/src/Prompts/Handlers/HandlerInterface.php (1)
  • id (19-19)
.vortex/installer/src/Prompts/PromptManager.php (3)
.vortex/installer/src/Prompts/Handlers/AbstractHandler.php (2)
  • id (52-62)
  • shouldRun (102-104)
.vortex/installer/src/Prompts/Handlers/HandlerInterface.php (2)
  • id (19-19)
  • shouldRun (87-87)
.vortex/installer/src/Prompts/Handlers/HostingProvider.php (1)
  • HostingProvider (11-124)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: build (1)
  • GitHub Check: build (0)
  • GitHub Check: vortex-test-installer (8.2)
  • GitHub Check: vortex-test-installer (8.4)
  • GitHub Check: vortex-test-installer (8.3)
  • GitHub Check: vortex-test-common
  • GitHub Check: vortex-test-deployment (1)
  • GitHub Check: vortex-test-docs

@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 93.87755% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.05%. Comparing base (c99b335) to head (a76570c).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...taller/src/Prompts/Handlers/HostingProjectName.php 95.12% 2 Missing ⚠️
.vortex/installer/src/Prompts/PromptManager.php 87.50% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2045      +/-   ##
===========================================
+ Coverage    63.79%   64.05%   +0.25%     
===========================================
  Files           91       92       +1     
  Lines         5643     5692      +49     
  Branches        44       44              
===========================================
+ Hits          3600     3646      +46     
- Misses        2043     2046       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AlexSkrypnyk AlexSkrypnyk force-pushed the feature/1967-installer-support-lagoon-project branch from c34d01f to b3889af Compare October 6, 2025 09:22
@github-actions github-actions bot temporarily deployed to commit October 6, 2025 09:24 Inactive
@AlexSkrypnyk AlexSkrypnyk force-pushed the feature/1967-installer-support-lagoon-project branch from b3889af to a76570c Compare October 6, 2025 22:17
@github-actions github-actions bot temporarily deployed to commit October 6, 2025 22:19 Inactive
@AlexSkrypnyk AlexSkrypnyk merged commit 6219270 into develop Oct 6, 2025
31 checks passed
@AlexSkrypnyk AlexSkrypnyk deleted the feature/1967-installer-support-lagoon-project branch October 6, 2025 22:30
@github-project-automation github-project-automation bot moved this from BACKLOG to Release queue in Vortex Oct 6, 2025
@AlexSkrypnyk AlexSkrypnyk added this to the 25.10.0 milestone Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Released in 25.10.0

Development

Successfully merging this pull request may close these issues.

[INSTALLER] Expose hosting project name

2 participants