surveys-wears-kit: the brand survey theme is landed in the state dir but LimeSurvey reads user themes from the read-only store — userthemerootdir is derived from the DEFAULT uploaddir before config.php is merged, and a theme it cannot see is sile… #1330

Closed
opened 2026-09-08 19:33:44 +00:00 by matou-build-agent · 1 comment

The failure

Drive 20260908T180009Z (drive 8, #1277, on f99c325e), signature 01a1c359036d: 22 legs green — deploy-surveys and surveys-healthy both held — red at surveys-wears-kit, the SECOND red at this leg with #1326's theme registration in place:

the live Surveys (https://surveys.e2e-drive.idss.internal:42557) is missing kit marks [accent; logo (no logo-named asset referenced by the page)] … title "E2E Drive", 12 stylesheets read

Name reached; colour and logo did not.

The evidence

  • artifacts/legs.json — 23 legs, 22 green, the single red as quoted; artifacts/verdict.json firstRedLeg: surveys-wears-kit.
  • logs/guest-failed-units.log — "0 loaded units listed": surveys-brand ran CLEAN. Its console command verifies both the templates row and the defaulttheme setting and returns 1 otherwise (internal/clan/surveys.go:399-411), so it believed it had registered the brand theme.
  • artifacts/brand/surveys.png — the public survey list (LimeSurvey's root controller: internal.php:36 defaultController => 'surveys' → SurveysController::actionPublicList, which renders layout_survey_list.twig under getGlobalSetting('defaulttheme')). It wears the sitename "E2E Drive" and otherwise stock Bootstrap 5: #0d6efd links, #f8f9fa/#dee2e6/#212529 chrome, the LimeSurvey survey_list_header.png, an EMPTY navbar-brand. Zero #619793 pixels.
  • state/clan-config/idss/brand/svc-surveys/survey-brand.conf — primaryColor=#619793, sitename=E2E Drive, logo=logo. The kit compiled correctly; it never reached the theme.

The defect

Read at source against the pinned LimeSurvey 6.15.14+250924 (/nix/store/inj1nizfn0jwpnlid0sfz3r360bp2khh-limesurvey-6.15.14+250924) and the pinned nixpkgs (/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source):

  1. application/config/config-defaults.php:746 derives userthemerootdir from $config['uploaddir'] — itself :738 off $config['rootdir'] = getcwd() (:43).
  2. Both applications merge config.php's config array AFTER that derivation and never recompute it: core/LSYii_Application.php:151-170 (web) and core/ConsoleApplication.php:52-86 (console, which additionally re-derives it off the store root in config/console.php:36,42).
  3. nixpkgs' module overrides uploaddir and userquestionthemerootdir and NOT userthemerootdir (nixos/modules/services/web-apps/limesurvey.nix:381-383), and internal/clan/surveys.go:327-340 never set it either.

So the user survey-theme root stayed <package>/share/limesurvey/upload/themes/survey — the read-only Nix store — while renderSurveysBrand (internal/clan/surveys.go:451) lands its theme at /var/lib/limesurvey/upload/themes/survey/idss_brand.

Both ends then fail silently, which is why every unit stayed green:

  • Registration. TemplateManifest::setPath (models/TemplateManifest.php:1076-1104) finds no dir under userthemerootdir, calls SettingGlobal::setSetting('defaulttheme', defaultfixedtheme) and re-points itself at the STOCK theme's manifest. TemplateManifest::importManifest (:706-751) therefore registered the name idss_brand carrying the stock theme's view_folder/files_css/options — no brandlogo=on, no brand variation — and the command's own row checks passed on a lie.
  • Render. Template::checkTemplateXML (models/Template.php:300) looks for config.xml under userthemerootdir then standardthemerootdir, finds neither, returns false; templateNameFilter (:158-219) falls back to the first installed row and PERSISTS that into settings_global, which LSYii_Application::setConfigs merges last, over config.php.

sitename still reached because it is a plain config key — which is exactly what made the red read as "the theme registered but the accent didn't take".

The suspected layer

The surveys port's render (internal/clan/surveys.go) — an upstream DERIVED-path contract, one layer below the four this drive has already found (options #191, unit environment #192, app feature switches #194, merge priority #195). Recorded as GOTCHAS #198.

Proposed ruling (Ruled by the healer under ADR 0174 — veto anytime)

This is a mechanical repair in product code, not a design decision, and it is a two-way door.

Why it is mechanical, not design. Nothing about what a community sees is being decided here. DDR 0225 already ruled that the Surveys surface carries name, logo and colours; #1326 already built the brand theme and its registration. The render already derives <stateDir>/upload/themes/survey as the theme's home — it simply never told LimeSurvey to read user themes from there, because LimeSurvey derives that path from a base the module overrides and nixpkgs forgot the derived key. Setting userthemerootdir beside nixpkgs' own userquestionthemerootdir makes the code do what it already meant. No new default, no changed message, no route or secrets shape, no security posture.

Why it is two-way. The whole change is one config key plus a guard in a console command. Reverting is git revert f67fe543 — the key disappears from the rendered config.php and the port returns exactly to f99c325e's behaviour. No migration, no infra state outside the checkout, no schema or dependency change, nothing one-way about it.

Proven by which test. TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome (internal/clan/surveys_test.go) was written FIRST and observed failing on the unfixed render, then passing: it pins the key, pins that the theme root and the landed theme dir come from ONE derivation (surveysUserThemeRootDir), and pins the console guard. TestSurveysCohost_EvalSmoke carries the artifact-level proof against real nixpkgs — the decoded services.limesurvey.config now reads "userthemerootdir":"/var/lib/limesurvey/upload/themes/survey" alongside nixpkgs' surviving uploaddir/tempdir/userquestionthemerootdir (the #1322 merge guard still holds), and nixpkgs serialises that attrset verbatim into the config.php LimeSurvey reads (limesurvey.nix:49-60).

Second half of the repair. The console command now refuses when the theme is not under Yii::app()->getConfig("userthemerootdir"), naming the root LimeSurvey actually read. That converts setPath's silent stock-theme substitution into a loud unit failure, so this class can never again pass its own verification on a lie. It adds a check; it removes none. Built on the workstation (never the drive host) and closed through the close-report gate — the same gate a swarm worker passes.

drive 20260908T180009Z red at surveys-wears-kit (sig 01a1c359036d) — self-fixed on the fast lane, commit db322c716178fd467a3c85ed3dc6b9fcdad59080; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome → FAIL before the fix (surveys_test.go:221: config.php must point LimeSurvey's user survey-theme root at the WRITABLE theme home … "(lib.mkDefault { userthemerootdir = \"/var/lib/limesurvey/upload/themes/survey\"; })" missing), PASS after. package: go test ./internal/clan/ → ok (18.2s), all 12 TestRenderSurveys_* PASS. real-nixpkgs eval smoke: IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → PASS (39.4s) — gateway evaluated to /nix/store/qpaky2b6cl5yvyyjl9ncg24jja6z8pxa-nixos-system-gateway-26.11.20260612.173d0ad.drv; the decoded services.limesurvey.config reads "config":{"RPCInterface":"json","config":{"defaultlang":"en"},"defaulttheme":"idss_brand","sitename":"E2E Drive","tempdir":"/var/lib/limesurvey/tmp","uploaddir":"/var/lib/limesurvey/upload","userquestionthemerootdir":"/var/lib/limesurvey/upload/themes/question","userthemerootdir":"/var/lib/limesurvey/upload/themes/survey"} — the new key lands beside nixpkgs' own and the #1322 merge guard still passes; the #1329 PATH guard still passes; the teeth half still fails on the phantom uploadsDir as it should. generated-PHP syntax (the new console guard rides inside a Nix indented string): dumped surveysThemeCommandPHP and ran nix shell nixpkgs#php83 --command php -l → "No syntax errors detected"; the Nix side is proven by the eval smoke itself, which resolved YII_CONSOLE_COMMANDS to a store path. trees: go test ./internal/... → no failures; go test ./control-plane/... → no failures. go build ./... → clean; gofmt -l internal/clan/ → clean; go vet ./internal/clan/ → clean. commit shape: 3 files, 45 changed non-test lines (internal/clan/surveys.go 34/3, docs/GOTCHAS.md 8/0; surveys_test.go 32/0 is a test file), one commit, not pushed. rails self-check: the ENTIRE diff removes exactly three lines, all in product code and all mechanical (renderLimeSurveyDaemon(&b, cfg, pkg) → …, store), its signature, and themeDir := store + "/upload/themes/survey/" + surveysBrandTheme → the shared derivation) — zero removed lines in any test file, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip; no .sandcastle/rehearsal-* or .forgejo/workflows/ path in the diff.. evidence: /home/swarm/swarm/Matou/idss/test-results/private-path/20260908T180009Z on matou-workstation.

## The failure Drive `20260908T180009Z` (drive 8, #1277, on `f99c325e`), signature `01a1c359036d`: 22 legs green — `deploy-surveys` and `surveys-healthy` both held — red at `surveys-wears-kit`, the SECOND red at this leg with #1326's theme registration in place: > the live Surveys (`https://surveys.e2e-drive.idss.internal:42557`) is missing kit marks [accent; logo (no logo-named asset referenced by the page)] … title "E2E Drive", 12 stylesheets read Name reached; colour and logo did not. ## The evidence - `artifacts/legs.json` — 23 legs, 22 green, the single red as quoted; `artifacts/verdict.json` `firstRedLeg: surveys-wears-kit`. - `logs/guest-failed-units.log` — "0 loaded units listed": `surveys-brand` ran CLEAN. Its console command verifies both the `templates` row and the `defaulttheme` setting and returns 1 otherwise (`internal/clan/surveys.go:399-411`), so it believed it had registered the brand theme. - `artifacts/brand/surveys.png` — the public survey list (LimeSurvey's root controller: `internal.php:36` `defaultController => 'surveys'` → `SurveysController::actionPublicList`, which renders `layout_survey_list.twig` under `getGlobalSetting('defaulttheme')`). It wears the sitename "E2E Drive" and otherwise stock Bootstrap 5: `#0d6efd` links, `#f8f9fa`/`#dee2e6`/`#212529` chrome, the LimeSurvey `survey_list_header.png`, an EMPTY `navbar-brand`. Zero `#619793` pixels. - `state/clan-config/idss/brand/svc-surveys/survey-brand.conf` — `primaryColor=#619793`, `sitename=E2E Drive`, `logo=logo`. The kit compiled correctly; it never reached the theme. ## The defect Read at source against the pinned LimeSurvey 6.15.14+250924 (`/nix/store/inj1nizfn0jwpnlid0sfz3r360bp2khh-limesurvey-6.15.14+250924`) and the pinned nixpkgs (`/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source`): 1. `application/config/config-defaults.php:746` derives `userthemerootdir` from `$config['uploaddir']` — itself `:738` off `$config['rootdir'] = getcwd()` (`:43`). 2. Both applications merge config.php's `config` array AFTER that derivation and never recompute it: `core/LSYii_Application.php:151-170` (web) and `core/ConsoleApplication.php:52-86` (console, which additionally re-derives it off the store root in `config/console.php:36,42`). 3. nixpkgs' module overrides `uploaddir` and `userquestionthemerootdir` and NOT `userthemerootdir` (`nixos/modules/services/web-apps/limesurvey.nix:381-383`), and `internal/clan/surveys.go:327-340` never set it either. So the user survey-theme root stayed `<package>/share/limesurvey/upload/themes/survey` — the read-only Nix store — while `renderSurveysBrand` (`internal/clan/surveys.go:451`) lands its theme at `/var/lib/limesurvey/upload/themes/survey/idss_brand`. Both ends then fail **silently**, which is why every unit stayed green: - **Registration.** `TemplateManifest::setPath` (`models/TemplateManifest.php:1076-1104`) finds no dir under `userthemerootdir`, calls `SettingGlobal::setSetting('defaulttheme', defaultfixedtheme)` and re-points itself at the STOCK theme's manifest. `TemplateManifest::importManifest` (`:706-751`) therefore registered the name `idss_brand` carrying the stock theme's `view_folder`/`files_css`/options — no `brandlogo=on`, no brand variation — and the command's own row checks passed on a lie. - **Render.** `Template::checkTemplateXML` (`models/Template.php:300`) looks for `config.xml` under `userthemerootdir` then `standardthemerootdir`, finds neither, returns false; `templateNameFilter` (`:158-219`) falls back to the first installed row and PERSISTS that into `settings_global`, which `LSYii_Application::setConfigs` merges last, over config.php. `sitename` still reached because it is a plain config key — which is exactly what made the red read as "the theme registered but the accent didn't take". ## The suspected layer The surveys port's render (`internal/clan/surveys.go`) — an upstream DERIVED-path contract, one layer below the four this drive has already found (options #191, unit environment #192, app feature switches #194, merge priority #195). Recorded as GOTCHAS #198. ## Proposed ruling (Ruled by the healer under ADR 0174 — veto anytime) This is a mechanical repair in product code, not a design decision, and it is a two-way door. **Why it is mechanical, not design.** Nothing about what a community sees is being decided here. DDR 0225 already ruled that the Surveys surface carries name, logo and colours; #1326 already built the brand theme and its registration. The render already derives `<stateDir>/upload/themes/survey` as the theme's home — it simply never told LimeSurvey to read user themes from there, because LimeSurvey derives that path from a base the module overrides and nixpkgs forgot the derived key. Setting `userthemerootdir` beside nixpkgs' own `userquestionthemerootdir` makes the code do what it already meant. No new default, no changed message, no route or secrets shape, no security posture. **Why it is two-way.** The whole change is one config key plus a guard in a console command. Reverting is `git revert f67fe543` — the key disappears from the rendered `config.php` and the port returns exactly to `f99c325e`'s behaviour. No migration, no infra state outside the checkout, no schema or dependency change, nothing one-way about it. **Proven by which test.** `TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome` (`internal/clan/surveys_test.go`) was written FIRST and observed failing on the unfixed render, then passing: it pins the key, pins that the theme root and the landed theme dir come from ONE derivation (`surveysUserThemeRootDir`), and pins the console guard. `TestSurveysCohost_EvalSmoke` carries the artifact-level proof against real nixpkgs — the decoded `services.limesurvey.config` now reads `"userthemerootdir":"/var/lib/limesurvey/upload/themes/survey"` alongside nixpkgs' surviving `uploaddir`/`tempdir`/`userquestionthemerootdir` (the #1322 merge guard still holds), and nixpkgs serialises that attrset verbatim into the `config.php` LimeSurvey reads (`limesurvey.nix:49-60`). **Second half of the repair.** The console command now refuses when the theme is not under `Yii::app()->getConfig("userthemerootdir")`, naming the root LimeSurvey actually read. That converts `setPath`'s silent stock-theme substitution into a loud unit failure, so this class can never again pass its own verification on a lie. It adds a check; it removes none. Built on the workstation (never the drive host) and closed through the close-report gate — the same gate a swarm worker passes. drive `20260908T180009Z` red at `surveys-wears-kit` (sig 01a1c359036d) — self-fixed on the fast lane, commit `db322c716178fd467a3c85ed3dc6b9fcdad59080`; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome` → FAIL before the fix (`surveys_test.go:221: config.php must point LimeSurvey's user survey-theme root at the WRITABLE theme home … "(lib.mkDefault { userthemerootdir = \"/var/lib/limesurvey/upload/themes/survey\"; })" missing`), PASS after. package: `go test ./internal/clan/` → ok (18.2s), all 12 `TestRenderSurveys_*` PASS. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (39.4s) — gateway evaluated to `/nix/store/qpaky2b6cl5yvyyjl9ncg24jja6z8pxa-nixos-system-gateway-26.11.20260612.173d0ad.drv`; the decoded `services.limesurvey.config` reads `"config":{"RPCInterface":"json","config":{"defaultlang":"en"},"defaulttheme":"idss_brand","sitename":"E2E Drive","tempdir":"/var/lib/limesurvey/tmp","uploaddir":"/var/lib/limesurvey/upload","userquestionthemerootdir":"/var/lib/limesurvey/upload/themes/question","userthemerootdir":"/var/lib/limesurvey/upload/themes/survey"}` — the new key lands beside nixpkgs' own and the #1322 merge guard still passes; the #1329 PATH guard still passes; the teeth half still fails on the phantom `uploadsDir` as it should. generated-PHP syntax (the new console guard rides inside a Nix indented string): dumped `surveysThemeCommandPHP` and ran `nix shell nixpkgs#php83 --command php -l` → "No syntax errors detected"; the Nix side is proven by the eval smoke itself, which resolved `YII_CONSOLE_COMMANDS` to a store path. trees: `go test ./internal/...` → no failures; `go test ./control-plane/...` → no failures. `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. commit shape: 3 files, 45 changed non-test lines (`internal/clan/surveys.go` 34/3, `docs/GOTCHAS.md` 8/0; `surveys_test.go` 32/0 is a test file), one commit, not pushed. rails self-check: the ENTIRE diff removes exactly three lines, all in product code and all mechanical (`renderLimeSurveyDaemon(&b, cfg, pkg)` → `…, store)`, its signature, and `themeDir := store + "/upload/themes/survey/" + surveysBrandTheme` → the shared derivation) — zero removed lines in any test file, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.. evidence: `/home/swarm/swarm/Matou/idss/test-results/private-path/20260908T180009Z` on matou-workstation. <!-- rehearsal-sig: 01a1c359036d -->
Author
Member

close-report for #1330 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1330,
  "status": "success",
  "commits": [
    "db322c716178fd467a3c85ed3dc6b9fcdad59080"
  ],
  "changed_files": [
    "docs/GOTCHAS.md",
    "internal/clan/surveys.go",
    "internal/clan/surveys_test.go"
  ],
  "tests": [
    {
      "command": "targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome` → FAIL before the fix (`surveys_test.go:221: config.php must point LimeSurvey's user survey-theme root at the WRITABLE theme home … \"(lib.mkDefault { userthemerootdir = \\\"/var/lib/limesurvey/upload/themes/survey\\\"; })\" missing`), PASS after. package: `go test ./internal/clan/` → ok (18.2s), all 12 `TestRenderSurveys_*` PASS. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (39.4s) — gateway evaluated to `/nix/store/qpaky2b6cl5yvyyjl9ncg24jja6z8pxa-nixos-system-gateway-26.11.20260612.173d0ad.drv`; the decoded `services.limesurvey.config` reads `\"config\":{\"RPCInterface\":\"json\",\"config\":{\"defaultlang\":\"en\"},\"defaulttheme\":\"idss_brand\",\"sitename\":\"E2E Drive\",\"tempdir\":\"/var/lib/limesurvey/tmp\",\"uploaddir\":\"/var/lib/limesurvey/upload\",\"userquestionthemerootdir\":\"/var/lib/limesurvey/upload/themes/question\",\"userthemerootdir\":\"/var/lib/limesurvey/upload/themes/survey\"}` — the new key lands beside nixpkgs' own and the #1322 merge guard still passes; the #1329 PATH guard still passes; the teeth half still fails on the phantom `uploadsDir` as it should. generated-PHP syntax (the new console guard rides inside a Nix indented string): dumped `surveysThemeCommandPHP` and ran `nix shell nixpkgs#php83 --command php -l` → \"No syntax errors detected\"; the Nix side is proven by the eval smoke itself, which resolved `YII_CONSOLE_COMMANDS` to a store path. trees: `go test ./internal/...` → no failures; `go test ./control-plane/...` → no failures. `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. commit shape: 3 files, 45 changed non-test lines (`internal/clan/surveys.go` 34/3, `docs/GOTCHAS.md` 8/0; `surveys_test.go` 32/0 is a test file), one commit, not pushed. rails self-check: the ENTIRE diff removes exactly three lines, all in product code and all mechanical (`renderLimeSurveyDaemon(&b, cfg, pkg)` → `…, store)`, its signature, and `themeDir := store + \"/upload/themes/survey/\" + surveysBrandTheme` → the shared derivation) — zero removed lines in any test file, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.",
      "exit_code": 0
    }
  ],
  "criteria": {
    "the red leg is now green": "healed on the fast lane, commit db322c716178fd467a3c85ed3dc6b9fcdad59080"
  },
  "summary": "LimeSurvey derives `userthemerootdir` from the DEFAULT `uploaddir` before config.php is merged and nixpkgs never overrides it, so the brand survey theme landed in /var/lib/limesurvey while LimeSurvey looked in the read-only store and silently registered/rendered the stock theme instead; the render now sets `config.config.userthemerootdir` from the same derivation the oneshot lands its theme beneath, and the console command fails loud when the theme is not under that root.",
  "blockers": []
}
**close-report** for #1330 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1330, "status": "success", "commits": [ "db322c716178fd467a3c85ed3dc6b9fcdad59080" ], "changed_files": [ "docs/GOTCHAS.md", "internal/clan/surveys.go", "internal/clan/surveys_test.go" ], "tests": [ { "command": "targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_UserThemeRootDirIsTheWritableThemeHome` → FAIL before the fix (`surveys_test.go:221: config.php must point LimeSurvey's user survey-theme root at the WRITABLE theme home … \"(lib.mkDefault { userthemerootdir = \\\"/var/lib/limesurvey/upload/themes/survey\\\"; })\" missing`), PASS after. package: `go test ./internal/clan/` → ok (18.2s), all 12 `TestRenderSurveys_*` PASS. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (39.4s) — gateway evaluated to `/nix/store/qpaky2b6cl5yvyyjl9ncg24jja6z8pxa-nixos-system-gateway-26.11.20260612.173d0ad.drv`; the decoded `services.limesurvey.config` reads `\"config\":{\"RPCInterface\":\"json\",\"config\":{\"defaultlang\":\"en\"},\"defaulttheme\":\"idss_brand\",\"sitename\":\"E2E Drive\",\"tempdir\":\"/var/lib/limesurvey/tmp\",\"uploaddir\":\"/var/lib/limesurvey/upload\",\"userquestionthemerootdir\":\"/var/lib/limesurvey/upload/themes/question\",\"userthemerootdir\":\"/var/lib/limesurvey/upload/themes/survey\"}` — the new key lands beside nixpkgs' own and the #1322 merge guard still passes; the #1329 PATH guard still passes; the teeth half still fails on the phantom `uploadsDir` as it should. generated-PHP syntax (the new console guard rides inside a Nix indented string): dumped `surveysThemeCommandPHP` and ran `nix shell nixpkgs#php83 --command php -l` → \"No syntax errors detected\"; the Nix side is proven by the eval smoke itself, which resolved `YII_CONSOLE_COMMANDS` to a store path. trees: `go test ./internal/...` → no failures; `go test ./control-plane/...` → no failures. `go build ./...` → clean; `gofmt -l internal/clan/` → clean; `go vet ./internal/clan/` → clean. commit shape: 3 files, 45 changed non-test lines (`internal/clan/surveys.go` 34/3, `docs/GOTCHAS.md` 8/0; `surveys_test.go` 32/0 is a test file), one commit, not pushed. rails self-check: the ENTIRE diff removes exactly three lines, all in product code and all mechanical (`renderLimeSurveyDaemon(&b, cfg, pkg)` → `…, store)`, its signature, and `themeDir := store + \"/upload/themes/survey/\" + surveysBrandTheme` → the shared derivation) — zero removed lines in any test file, no removed or edited assertion/expectation, no removed test or leg declaration, no added skip; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.", "exit_code": 0 } ], "criteria": { "the red leg is now green": "healed on the fast lane, commit db322c716178fd467a3c85ed3dc6b9fcdad59080" }, "summary": "LimeSurvey derives `userthemerootdir` from the DEFAULT `uploaddir` before config.php is merged and nixpkgs never overrides it, so the brand survey theme landed in /var/lib/limesurvey while LimeSurvey looked in the read-only store and silently registered/rendered the stock theme instead; the render now sets `config.config.userthemerootdir` from the same derivation the oneshot lands its theme beneath, and the console command fails loud when the theme is not under that root.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1330
No description provided.