fix: #3620725 Remove the Varbase API Base requirement
Problem / Motivation
composer.json requires drupal/varbase_api_base, but the recipes: list in recipe.yml never
includes it. The recipe is therefore never applied, so nothing it would configure is ever installed,
while its whole dependency tree is still pulled into every Horizon Aid install.
Verified on a fresh 1.0.x-dev install on a Varbase base: not one of the eleven modules the recipe would install is enabled, although the packages are present in the codebase. All eleven report "not enabled":
jsonapi, openapi, openapi_jsonapi, openapi_rest, openapi_ui_redoc, openapi_ui_swagger,
simple_oauth, restui, jsonapi_extras, jsonapi_defaults, consumers.
What the unused requirement drags into every install:
drupal/consumersdrupal/simple_oauth(~6)drupal/openapidrupal/openapi_jsonapidrupal/openapi_restdrupal/openapi_ui_redocdrupal/openapi_ui_swaggerdrupal/restuidrupal/jsonapi_extrasdrupal/schema_metatagvardot/swagger-ui
Worth stating plainly: this carries an API and authentication surface (simple_oauth, restui,
jsonapi) into a site template that never turns any of it on.
Proposed resolution
Remove the single drupal/varbase_api_base line from the require block in composer.json.
recipe.yml is deliberately not touched: it never references varbase_api_base, which is the whole
point of the issue.
Changes
One line removed:
"drupal/varbase_ai_base": "1.0.x-dev",
- "drupal/varbase_api_base": "1.0.x-dev",
"drupal/varbase_auth_base": "1.0.x-dev",composer.json still parses as valid JSON, and the surrounding commas remain correct.
Scope
This is the sibling of #3620330, which removed the Varbase Dev Base requirement for the same reason.
It covers varbase_api_base only. varbase_ai_base, varbase_auth_base and varbase_i18n_base
show the same pattern (required but not in recipes:) but are deliberately out of scope here, so
each change stays reviewable on its own.
Issue
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release