Living list of known bugs, inconsistencies, and refactoring ideas found while working on this framework. Not prioritized against a roadmap — pick up whatever's relevant when touching that area.
make/qa.mk (lint, lint-php, lint-js, fix, test, test-phpunit,
test-phpunit-locally, the cs/test_result macros) needs a ground-up
rework — no detailed shape yet, flagging it so nobody invests in the current
structure. Related known issues to fold in when this starts: the lint-js
wrong-variable bug and test-phpunit-locally PHONY/help gaps listed below.
DOCKER_COMPOSE_YML_PATHoverride is dead.make/docker.mkdocker_composemacro does$(filter $(DOCKER_COMPOSE_YML_PATH),$(DOCKER_COMPOSE_YML_PATH))— filtering a value against itself always matches, so the-f <path>flag is never actually appended todocker compose. Setting a customDOCKER_COMPOSE_YML_PATHinoverride.mksilently does nothing. Should filter against the literal default (compose.yaml), same pattern already used correctly incomposer.mkforCOMPOSER_JSON_PATH.lint-jsprints the wrong variable.make/qa.mklint-jsechoes$(DRUPAL_LINT_PATHS)in its step message, but the actual eslint invocation usesLINT_PATHS_JS.DRUPAL_LINT_PATHSdoesn't exist anywhere — the printed path list is always blank. Cosmetic only, but confusing.test-phpunit-locallyhas noPHONYentry or##help text, so it's invisible tomake helpand not covered by thePHONYaccumulator convention documented in this repo'sCLAUDE.md. It also referencesDRUPAL_HOSTNAMEandDB_URL, which are not defined or documented anywhere in the framework — unclear if this target is still used by any project.kubectl.mkassumesdrushmacro exists. Its sync targets call$(call drush,...), but that macro is only defined indrupal.mk. If a non-Drupal project opts intokubectl.mk(seedocs/CONFIGURATION.md),kubectl-sync-dbbreaks with an undefined macro. Either guard it or document Drupal as a hard prerequisite.KUBECTL_CONTAINERhas no default.KUBECTL_EXEC_FLAGSreferences it (-c $(KUBECTL_CONTAINER)) but no?=default is set, unlikeKUBECTL_NAMESPACE/KUBECTL_POD_SELECTOR. An unset value produces-c ''on thekubectlcommand line.
set_lagoon_secretprints secret values in plaintext (make/lagoon.mk):printf "Setting secret on ${2}: %s = %s \n" "${1}" "${${1}}". Fine for a local terminal, but ifset-lagoon-secrets-*is ever run in CI, this leaks secrets straight into build logs. Should mask the value or drop it from the message.
kubectl.mkis downloaded bymake self-updatebut never auto-included bymake/include.mk, unlike every other feature file. This is documented now (seedocs/CONFIGURATION.md), but it's an easy trap: a project can end up with the file on disk and reasonably assume it's active. Consider either auto-including it behind its own detection variable (e.g. presence of ak8s/dir orKUBECTL_NAMESPACEin.env), or moving it out of the default download list entirely so "downloaded" and "active" mean the same thing everywhere else.- Placeholder defaults that look like real config.
SSH_TESTING,SSH_STAGING,SSH_PRODUCTIONdefault totesting.host/staging.host/production.host;KUBECTL_NAMESPACE/KUBECTL_POD_SELECTORdefault tofoobar-namespace/appName=foobar-app. None of these fail loudly if a project forgets to override them — adeploy-productionorkubectl-shelltypo'd into a real project could silently target nothing (or the wrong thing) with no error until the SSH/kubectl call itself fails. Worth a guard clause that errors out early ("SSH_PRODUCTIONlooks unset — check override.mk") when a variable is still equal to its placeholder default. update.sh'sVERSIONconstant is purely cosmetic. It's a hand-maintained timestamp string with no relationship to themainbranch it always pulls from, and no relationship to whatevermake releasebumps. Either wire it to the real release version or drop it from the banner to avoid implying pinned/versioned installs.- No guard against both
IS_DRUPALandIS_SYMFONYbeingyes. Detection is independent per flag; if a repo happens to have both marker files, bothdrupal.mkandsymfony.mkload and both define afreshtarget — last include wins silently. Not a realistic layout today, but worth an explicitdebugwarning if it ever happens. - Emoji/step-banner helpers (
step,sub_step,group_step,warn) are hardcoded strings inutils.mkwith no way to disable emoji/color for non-TTY or CI log consumers. Low priority, but noisy in CI output.
make ltdepends onCOMPOSE_PROJECT_NAMEbeing set (used as the localtunnel subdomain) but that variable isn't defined or documented anywhere in the framework — it must come from a project'scompose.yamlenv. Worth a line indocs/CONFIGURATION.md.- 1Password (
op run --env-file=...) and GitHub Actions build-label (gha.buildDocker label) conventions thatdruid_cloud.mkdepends on aren't documented anywhere — someone setting up Druid Cloud deploy for a new project has to reverse-engineer them from the Makefile. - No
CHANGELOG.md—make releasebumps a version and pushes, but there's no record of what changed between versions for consumers runningmake self-updateto check against.
- Test suite (
tests/tests.sh) only exercisesmake -ndry-run output againstmake/in isolation — it doesn't cover combined detection scenarios (e.g. Drupal + Ansible + Druid Cloud all present at once) or catch macro-expansion bugs like theDOCKER_COMPOSE_YML_PATHone above, since dry-run output for adefinemacro that always takes its "no flag" branch looks identical to one that's working as intended unless the test specifically sets a non-default path.