deploy-surveys: the LimeSurvey console oneshots order only on limesurvey-init, which nixpkgs puts BEFORE the phpfpm ExecStartPre that writes the encryption key/nonce they read — first deploy is a race the admin bootstrap can lose (exit 4) #1333

Closed
opened 2026-09-09 00:58:42 +00:00 by matou-build-agent · 1 comment

The failure

Drive 20260909T000457Z (artifacts/verdict.json: 20 green, 1 red, firstRedLeg: deploy-surveys) died at deploy-surveys after 141s:

clan: masked_exit on gateway: … the remote switch died at exit 4
[gateway] Sep 09 00:49:40 gateway systemd[1]: Failed to start Bootstrap the LimeSurvey admin service identity from a clan var (surveys port, ADR 0062).

The box's own journal (logs/guest-system-journal.log:229-249) gives the whole story in one second:

00:49:40 systemd[1]: Finished limesurvey-init.service.
00:49:40 systemd[1]: Starting Bootstrap the LimeSurvey admin service identity … (ADR 0062)...
00:49:40 systemd[1]: Starting PHP FastCGI Process Manager service for pool limesurvey...
00:49:40 systemd[1]: Starting Land + register the community brand survey theme … (DDR 0225)...
00:49:40 limesurvey-admin-start[18693]: Warning: file_get_contents(/var/lib/limesurvey/credentials/encryption_nonce): Failed to open stream: No such file or directory in …-config.php on line 6
00:49:40 limesurvey-admin-start[18693]: Warning: file_get_contents(/var/lib/limesurvey/credentials/encryption_key): … line 7
00:49:40 systemd[1]: limesurvey-admin.service: Main process exited, code=exited, status=1/FAILURE
00:49:41 nixos[18087]: switching to system configuration …-nixos-system-gateway … failed (status 4)

All three units start in the same instant. limesurvey-admin reaches php first and dies; surveys-brand (…[18699]) survives the same instant and logs idsstheme: idss_brand installed and set as the default survey theme — it only won because its sed/install work bought phpfpm the time. On the retried switch at 00:49:43 the credentials dir was already populated and limesurvey-admin finished (Password for user admin was set.), which is the tell: the fault is ordering, not content.

The defect

internal/clan/surveys.go:673 (limesurvey-admin) and internal/clan/surveys.go:507 (surveys-brand) both declared:

b.WriteString("    after = [ \"limesurvey-init.service\" \"httpd.service\" ];\n")

Both units hand php CREDENTIALS_DIRECTORY=/var/lib/limesurvey/credentials (surveys.go:706 and surveys.go:607) — the value nixpkgs gives the limesurvey phpfpm pool. Against the pinned nixpkgs (/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix):

  • :55-56 — the packaged config.php file_get_contents()es encryption_nonce + encryption_key out of $CREDENTIALS_DIRECTORY on every console run, at require time, before any command dispatches. A missing file is a hard exit, not a degraded run.
  • :393-398 — systemd.services.phpfpm-limesurvey.serviceConfig.ExecStartPre is the one writer of those two files into ${stateDir}/credentials.
  • :437 — the tmpfiles rule creates that directory empty (d ${stateDir}/credentials 0700 …). Nothing else populates it.
  • :329 — limesurvey-init is declared before = [ "phpfpm-limesurvey.service" ]. So ordering on limesurvey-init puts the oneshots and phpfpm-limesurvey in the same runnable set, not one after the other.

httpd.service gates nothing either — it carries no ordering to the pool unit and had been up since 00:49:36 (guest-system-journal.log:211). So on a fresh box the declared ordering was a starting gun, not a readiness gate, and the race is systematic on first deploy; which oneshot loses it is luck.

Suspected layer

The clan render (internal/clan/surveys.go) — a missing systemd ordering edge between the port's two console oneshots and the nixpkgs unit that materialises the credentials they read.

The fix

One shared derivation, surveysConsoleOneshotAfter, carrying after = [ "limesurvey-init.service" "phpfpm-limesurvey.service" "httpd.service" ], used by both render sites so the two cannot drift. No cycle is possible: both oneshots are ordering sinks (nothing upstream orders before them), and limesurvey-init → phpfpm-limesurvey → oneshots is a chain, not a loop.

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

Two-way door, mechanical repair, not a design decision.

Why mechanical. The oneshots already meant to run after LimeSurvey was ready to be consoled — the existing after list says so. They named the wrong unit for the precondition they actually have: nixpkgs writes the encryption key/nonce from phpfpm-limesurvey's ExecStartPre, not from limesurvey-init. Adding the missing edge makes the code do what it already meant. Nothing a community sees changes, no default, no message at a trust moment, no route, no secrets shape, no security posture — the same secrets, the same units, the same config.php, one added After= token. This is exactly rule 3's named 'missing await/readiness gate'.

Revertible how. The whole product-code change is 30 lines in one file: two render sites now emit surveysConsoleOneshotAfter instead of an inline string, plus that constant and its comment. Reverting is git revert 9889d49b — it restores two identical b.WriteString lines and deletes one unused constant. Nothing persists on a deployed box (systemd ordering is recomputed from the generated unit on every switch), no state migrates, no secret rotates, no schema moves.

Proven by which test. Two, at both altitudes:

  1. TestRenderSurveys_OneshotsWaitForTheCredentialsWriter (internal/clan/surveys_test.go) — the render seam. Requires the ordering line exactly twice (both oneshots, so a one-sided fix reds) and explicitly rejects the old after = [ "limesurvey-init.service" "httpd.service" ]; line. Written first, watched fail, then pass.
  2. TestSurveysCohost_EvalSmoke (internal/clan/surveys_eval_test.go) — a new guard reads the generated unit file out of a real nixpkgs eval (config.systemd.units."<unit>.service".text) and requires After= to carry phpfpm-limesurvey.service. This is the half a strings.Contains on the render cannot see: it proves the edge survives module merging and would red if a nixpkgs bump dropped it. Both units now report After=limesurvey-init.service phpfpm-limesurvey.service httpd.service.

Why not a filing. Rule 1 is untouched — the entire diff removes exactly two lines, both b.WriteString calls in product code; zero removed lines in any test file, no edited assertion, no deleted test or leg, no added skip. Rule 2 is untouched — 3 files, 30 changed non-test lines, one commit. Only rule 3's product-surface path applied, and this is the confident two-way case the #1270 fast lane exists for. Built on the workstation (never the drive host) and closed through the close-report gate — the same gate a swarm worker passes.

drive 20260909T000457Z red at deploy-surveys (sig 119db33993c0) — self-fixed on the fast lane, commit ae313728fa3b569c3ade8963e489722a617c4874; checks: targeted (red-first): go test ./internal/clan/ -run TestRenderSurveys_OneshotsWaitForTheCredentialsWriter → FAIL before the fix (both render sites still emitted after = [ "limesurvey-init.service" "httpd.service" ];), PASS after (0.004s). package: go test ./internal/clan/ → ok 18.9s. real-nixpkgs eval smoke: IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v → PASS (36.8s); gateway evaluated to a toplevel drv, and the new unit-file guard read the GENERATED units back: limesurvey-admin.service credentials-readiness gate present: After=limesurvey-init.service phpfpm-limesurvey.service httpd.service and the same for surveys-brand.service — so the edge survives module merging, not just the render. The pre-existing guards in that smoke all still pass: the #1329 PATH guard (PATH generated from path alone), the #1322 config.config merge guard (nixpkgs' uploaddir/tempdir/userquestionthemerootdir survive beside the port's RPCInterface/userthemerootdir/sitename/defaulttheme), and the teeth half still fails on the phantom uploadsDir as it should. root cause verified against the pinned nixpkgs source /nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix: :55-56 config.php file_get_contents the nonce+key from $CREDENTIALS_DIRECTORY; :393-398 phpfpm-limesurvey ExecStartPre is the sole writer into ${stateDir}/credentials; :437 the tmpfiles rule creates that dir empty; :329 limesurvey-init is before = [ "phpfpm-limesurvey.service" ]. 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, 30 changed non-test lines (internal/clan/surveys.go 28/2; surveys_eval_test.go 32/0 and surveys_test.go 27/0 are test files), one commit 9889d49b, not pushed, working tree clean. rails self-check: removed lines in the ENTIRE diff are exactly two — both the identical b.WriteString(" after = [ …limesurvey-init… httpd… ];\n") render calls in product code — so no removed assertion/expectation, no removed test or leg declaration, no added skip (t.Skip/.skip(), zero removed lines in any test file; no .sandcastle/rehearsal-* or .forgejo/workflows/ path in the diff.. evidence: /home/swarm/swarm/Matou/idss/test-results/private-path/20260909T000457Z on matou-workstation.

## The failure Drive `20260909T000457Z` (`artifacts/verdict.json`: 20 green, 1 red, `firstRedLeg: deploy-surveys`) died at `deploy-surveys` after 141s: > `clan: masked_exit on gateway: … the remote switch died at exit 4` > `[gateway] Sep 09 00:49:40 gateway systemd[1]: Failed to start Bootstrap the LimeSurvey admin service identity from a clan var (surveys port, ADR 0062).` The box's own journal (`logs/guest-system-journal.log:229-249`) gives the whole story in one second: ``` 00:49:40 systemd[1]: Finished limesurvey-init.service. 00:49:40 systemd[1]: Starting Bootstrap the LimeSurvey admin service identity … (ADR 0062)... 00:49:40 systemd[1]: Starting PHP FastCGI Process Manager service for pool limesurvey... 00:49:40 systemd[1]: Starting Land + register the community brand survey theme … (DDR 0225)... 00:49:40 limesurvey-admin-start[18693]: Warning: file_get_contents(/var/lib/limesurvey/credentials/encryption_nonce): Failed to open stream: No such file or directory in …-config.php on line 6 00:49:40 limesurvey-admin-start[18693]: Warning: file_get_contents(/var/lib/limesurvey/credentials/encryption_key): … line 7 00:49:40 systemd[1]: limesurvey-admin.service: Main process exited, code=exited, status=1/FAILURE 00:49:41 nixos[18087]: switching to system configuration …-nixos-system-gateway … failed (status 4) ``` All three units start in the same instant. `limesurvey-admin` reaches php first and dies; `surveys-brand` (`…[18699]`) survives the same instant and logs `idsstheme: idss_brand installed and set as the default survey theme` — it only won because its sed/install work bought phpfpm the time. On the retried switch at `00:49:43` the credentials dir was already populated and `limesurvey-admin` finished (`Password for user admin was set.`), which is the tell: the fault is ordering, not content. ## The defect `internal/clan/surveys.go:673` (limesurvey-admin) and `internal/clan/surveys.go:507` (surveys-brand) both declared: ```go b.WriteString(" after = [ \"limesurvey-init.service\" \"httpd.service\" ];\n") ``` Both units hand php `CREDENTIALS_DIRECTORY=/var/lib/limesurvey/credentials` (`surveys.go:706` and `surveys.go:607`) — the value nixpkgs gives the limesurvey phpfpm pool. Against the pinned nixpkgs (`/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix`): - `:55-56` — the packaged config.php `file_get_contents()`es `encryption_nonce` + `encryption_key` out of `$CREDENTIALS_DIRECTORY` on **every** console run, at require time, before any command dispatches. A missing file is a hard exit, not a degraded run. - `:393-398` — `systemd.services.phpfpm-limesurvey.serviceConfig.ExecStartPre` is the **one** writer of those two files into `${stateDir}/credentials`. - `:437` — the tmpfiles rule creates that directory **empty** (`d ${stateDir}/credentials 0700 …`). Nothing else populates it. - `:329` — `limesurvey-init` is declared `before = [ "phpfpm-limesurvey.service" ]`. So ordering on `limesurvey-init` puts the oneshots and phpfpm-limesurvey in the **same runnable set**, not one after the other. `httpd.service` gates nothing either — it carries no ordering to the pool unit and had been up since `00:49:36` (`guest-system-journal.log:211`). So on a fresh box the declared ordering was a starting gun, not a readiness gate, and the race is systematic on first deploy; which oneshot loses it is luck. ## Suspected layer The clan render (`internal/clan/surveys.go`) — a missing systemd ordering edge between the port's two console oneshots and the nixpkgs unit that materialises the credentials they read. ## The fix One shared derivation, `surveysConsoleOneshotAfter`, carrying `after = [ "limesurvey-init.service" "phpfpm-limesurvey.service" "httpd.service" ]`, used by both render sites so the two cannot drift. No cycle is possible: both oneshots are ordering sinks (nothing upstream orders before them), and `limesurvey-init → phpfpm-limesurvey → oneshots` is a chain, not a loop. ## Proposed ruling (Ruled by the healer under ADR 0174 — veto anytime) Two-way door, mechanical repair, not a design decision. **Why mechanical.** The oneshots already *meant* to run after LimeSurvey was ready to be consoled — the existing `after` list says so. They named the wrong unit for the precondition they actually have: nixpkgs writes the encryption key/nonce from `phpfpm-limesurvey`'s ExecStartPre, not from `limesurvey-init`. Adding the missing edge makes the code do what it already meant. Nothing a community sees changes, no default, no message at a trust moment, no route, no secrets shape, no security posture — the same secrets, the same units, the same config.php, one added `After=` token. This is exactly rule 3's named 'missing await/readiness gate'. **Revertible how.** The whole product-code change is 30 lines in one file: two render sites now emit `surveysConsoleOneshotAfter` instead of an inline string, plus that constant and its comment. Reverting is `git revert 9889d49b` — it restores two identical `b.WriteString` lines and deletes one unused constant. Nothing persists on a deployed box (systemd ordering is recomputed from the generated unit on every switch), no state migrates, no secret rotates, no schema moves. **Proven by which test.** Two, at both altitudes: 1. `TestRenderSurveys_OneshotsWaitForTheCredentialsWriter` (`internal/clan/surveys_test.go`) — the render seam. Requires the ordering line **exactly twice** (both oneshots, so a one-sided fix reds) and explicitly rejects the old `after = [ "limesurvey-init.service" "httpd.service" ];` line. Written first, watched fail, then pass. 2. `TestSurveysCohost_EvalSmoke` (`internal/clan/surveys_eval_test.go`) — a new guard reads the **generated unit file** out of a real nixpkgs eval (`config.systemd.units."<unit>.service".text`) and requires `After=` to carry `phpfpm-limesurvey.service`. This is the half a `strings.Contains` on the render cannot see: it proves the edge survives module merging and would red if a nixpkgs bump dropped it. Both units now report `After=limesurvey-init.service phpfpm-limesurvey.service httpd.service`. **Why not a filing.** Rule 1 is untouched — the entire diff removes exactly two lines, both `b.WriteString` calls in product code; zero removed lines in any test file, no edited assertion, no deleted test or leg, no added skip. Rule 2 is untouched — 3 files, 30 changed non-test lines, one commit. Only rule 3's product-surface path applied, and this is the confident two-way case the #1270 fast lane exists for. Built on the workstation (never the drive host) and closed through the close-report gate — the same gate a swarm worker passes. drive `20260909T000457Z` red at `deploy-surveys` (sig 119db33993c0) — self-fixed on the fast lane, commit `ae313728fa3b569c3ade8963e489722a617c4874`; checks: targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_OneshotsWaitForTheCredentialsWriter` → FAIL before the fix (both render sites still emitted `after = [ "limesurvey-init.service" "httpd.service" ];`), PASS after (0.004s). package: `go test ./internal/clan/` → ok 18.9s. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (36.8s); gateway evaluated to a toplevel drv, and the new unit-file guard read the GENERATED units back: `limesurvey-admin.service credentials-readiness gate present: After=limesurvey-init.service phpfpm-limesurvey.service httpd.service` and the same for `surveys-brand.service` — so the edge survives module merging, not just the render. The pre-existing guards in that smoke all still pass: the #1329 PATH guard (`PATH generated from `path` alone`), the #1322 `config.config` merge guard (nixpkgs' `uploaddir`/`tempdir`/`userquestionthemerootdir` survive beside the port's `RPCInterface`/`userthemerootdir`/`sitename`/`defaulttheme`), and the teeth half still fails on the phantom `uploadsDir` as it should. root cause verified against the pinned nixpkgs source `/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix`: `:55-56` config.php file_get_contents the nonce+key from `$CREDENTIALS_DIRECTORY`; `:393-398` `phpfpm-limesurvey` ExecStartPre is the sole writer into `${stateDir}/credentials`; `:437` the tmpfiles rule creates that dir empty; `:329` `limesurvey-init` is `before = [ "phpfpm-limesurvey.service" ]`. 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, 30 changed non-test lines (`internal/clan/surveys.go` 28/2; `surveys_eval_test.go` 32/0 and `surveys_test.go` 27/0 are test files), one commit `9889d49b`, not pushed, working tree clean. rails self-check: removed lines in the ENTIRE diff are exactly two — both the identical `b.WriteString(" after = [ …limesurvey-init… httpd… ];\n")` render calls in product code — so no removed assertion/expectation, no removed test or leg declaration, no added skip (`t.Skip`/`.skip(`), zero removed lines in any test file; no `.sandcastle/rehearsal-*` or `.forgejo/workflows/` path in the diff.. evidence: `/home/swarm/swarm/Matou/idss/test-results/private-path/20260909T000457Z` on matou-workstation. <!-- rehearsal-sig: 119db33993c0 -->
Author
Member

close-report for #1333 — status success

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

envelope
{
  "issue": 1333,
  "status": "success",
  "commits": [
    "ae313728fa3b569c3ade8963e489722a617c4874"
  ],
  "changed_files": [
    "internal/clan/surveys.go",
    "internal/clan/surveys_eval_test.go",
    "internal/clan/surveys_test.go"
  ],
  "tests": [
    {
      "command": "targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_OneshotsWaitForTheCredentialsWriter` → FAIL before the fix (both render sites still emitted `after = [ \"limesurvey-init.service\" \"httpd.service\" ];`), PASS after (0.004s). package: `go test ./internal/clan/` → ok 18.9s. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (36.8s); gateway evaluated to a toplevel drv, and the new unit-file guard read the GENERATED units back: `limesurvey-admin.service credentials-readiness gate present: After=limesurvey-init.service phpfpm-limesurvey.service httpd.service` and the same for `surveys-brand.service` — so the edge survives module merging, not just the render. The pre-existing guards in that smoke all still pass: the #1329 PATH guard (`PATH generated from `path` alone`), the #1322 `config.config` merge guard (nixpkgs' `uploaddir`/`tempdir`/`userquestionthemerootdir` survive beside the port's `RPCInterface`/`userthemerootdir`/`sitename`/`defaulttheme`), and the teeth half still fails on the phantom `uploadsDir` as it should. root cause verified against the pinned nixpkgs source `/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix`: `:55-56` config.php file_get_contents the nonce+key from `$CREDENTIALS_DIRECTORY`; `:393-398` `phpfpm-limesurvey` ExecStartPre is the sole writer into `${stateDir}/credentials`; `:437` the tmpfiles rule creates that dir empty; `:329` `limesurvey-init` is `before = [ \"phpfpm-limesurvey.service\" ]`. 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, 30 changed non-test lines (`internal/clan/surveys.go` 28/2; `surveys_eval_test.go` 32/0 and `surveys_test.go` 27/0 are test files), one commit `9889d49b`, not pushed, working tree clean. rails self-check: removed lines in the ENTIRE diff are exactly two — both the identical `b.WriteString(\"    after = [ …limesurvey-init… httpd… ];\\n\")` render calls in product code — so no removed assertion/expectation, no removed test or leg declaration, no added skip (`t.Skip`/`.skip(`), zero removed lines in any test file; 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 ae313728fa3b569c3ade8963e489722a617c4874"
  },
  "summary": "The surveys port's two LimeSurvey console oneshots read `encryption_key`/`encryption_nonce` from `/var/lib/limesurvey/credentials` but ordered only on `limesurvey-init` — which nixpkgs declares BEFORE `phpfpm-limesurvey`, the one unit whose ExecStartPre writes those files — so on a fresh box all three started together and `limesurvey-admin` raced php to an empty dir, exiting 1 and taking switch-to-configuration to exit 4; both units now order on `phpfpm-limesurvey.service` too, via one shared derivation.",
  "blockers": []
}
**close-report** for #1333 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1333, "status": "success", "commits": [ "ae313728fa3b569c3ade8963e489722a617c4874" ], "changed_files": [ "internal/clan/surveys.go", "internal/clan/surveys_eval_test.go", "internal/clan/surveys_test.go" ], "tests": [ { "command": "targeted (red-first): `go test ./internal/clan/ -run TestRenderSurveys_OneshotsWaitForTheCredentialsWriter` → FAIL before the fix (both render sites still emitted `after = [ \"limesurvey-init.service\" \"httpd.service\" ];`), PASS after (0.004s). package: `go test ./internal/clan/` → ok 18.9s. real-nixpkgs eval smoke: `IDSS_EVAL_SMOKE=1 go test ./internal/clan/ -run TestSurveysCohost_EvalSmoke -v` → PASS (36.8s); gateway evaluated to a toplevel drv, and the new unit-file guard read the GENERATED units back: `limesurvey-admin.service credentials-readiness gate present: After=limesurvey-init.service phpfpm-limesurvey.service httpd.service` and the same for `surveys-brand.service` — so the edge survives module merging, not just the render. The pre-existing guards in that smoke all still pass: the #1329 PATH guard (`PATH generated from `path` alone`), the #1322 `config.config` merge guard (nixpkgs' `uploaddir`/`tempdir`/`userquestionthemerootdir` survive beside the port's `RPCInterface`/`userthemerootdir`/`sitename`/`defaulttheme`), and the teeth half still fails on the phantom `uploadsDir` as it should. root cause verified against the pinned nixpkgs source `/nix/store/lr5ld8f0qbyhjx3nr9mxfvg4cndvpggp-source/nixos/modules/services/web-apps/limesurvey.nix`: `:55-56` config.php file_get_contents the nonce+key from `$CREDENTIALS_DIRECTORY`; `:393-398` `phpfpm-limesurvey` ExecStartPre is the sole writer into `${stateDir}/credentials`; `:437` the tmpfiles rule creates that dir empty; `:329` `limesurvey-init` is `before = [ \"phpfpm-limesurvey.service\" ]`. 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, 30 changed non-test lines (`internal/clan/surveys.go` 28/2; `surveys_eval_test.go` 32/0 and `surveys_test.go` 27/0 are test files), one commit `9889d49b`, not pushed, working tree clean. rails self-check: removed lines in the ENTIRE diff are exactly two — both the identical `b.WriteString(\" after = [ …limesurvey-init… httpd… ];\\n\")` render calls in product code — so no removed assertion/expectation, no removed test or leg declaration, no added skip (`t.Skip`/`.skip(`), zero removed lines in any test file; 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 ae313728fa3b569c3ade8963e489722a617c4874" }, "summary": "The surveys port's two LimeSurvey console oneshots read `encryption_key`/`encryption_nonce` from `/var/lib/limesurvey/credentials` but ordered only on `limesurvey-init` — which nixpkgs declares BEFORE `phpfpm-limesurvey`, the one unit whose ExecStartPre writes those files — so on a fresh box all three started together and `limesurvey-admin` raced php to an empty dir, exiting 1 and taking switch-to-configuration to exit 4; both units now order on `phpfpm-limesurvey.service` too, via one shared derivation.", "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#1333
No description provided.