onboard.sh dockerfile: only one stack (node|go|none) — matou-app needed both #8

Closed
opened 2026-08-20 00:00:00 +00:00 by matou-build-agent · 2 comments

Surfaced onboarding matou-app (ourcloud#572's acceptance run, 2026-08-19): matou-app is a Quasar/Vue frontend and a Go backend in one repo, so onboard.sh dockerfile <out> <node|go|none> can't produce a working image — it has to pick one stack layer. Worked around by hand-merging the harness layer (git-fence install, OURCLOUD_SANDBOX=1, doctl-optional) into matou-app's existing node+go Dockerfile instead of using the generated one; the harness layer itself (the part onboard.sh dockerfile actually owns cleanly) applied without incident.

Not urgent — single-stack repos are still well served — but a <node+go> (or general multi-stack) composition mode would save the next polyglot repo the same manual merge. Template lives at onboarding/templates/Dockerfile.tmpl.

Surfaced onboarding matou-app (ourcloud#572's acceptance run, 2026-08-19): matou-app is a Quasar/Vue frontend **and** a Go backend in one repo, so `onboard.sh dockerfile <out> <node|go|none>` can't produce a working image — it has to pick one stack layer. Worked around by hand-merging the harness layer (git-fence install, `OURCLOUD_SANDBOX=1`, doctl-optional) into matou-app's existing node+go Dockerfile instead of using the generated one; the harness layer itself (the part `onboard.sh dockerfile` actually owns cleanly) applied without incident. Not urgent — single-stack repos are still well served — but a `<node+go>` (or general multi-stack) composition mode would save the next polyglot repo the same manual merge. Template lives at `onboarding/templates/Dockerfile.tmpl`.
Author
Member

swarm-claim host=matou-dev-server-01 run=94
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=94 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #8 — status success

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

envelope
{
  "issue": 8,
  "status": "success",
  "commits": [
    "d33b86b"
  ],
  "changed_files": [
    "STATUS.md",
    "onboarding/onboard-lib.sh",
    "onboarding/onboard.sh",
    "onboarding/templates/Dockerfile.tmpl",
    "onboarding/tests/onboard-lib-test.sh"
  ],
  "tests": [
    {
      "command": "bash onboarding/tests/onboard-lib-test.sh",
      "exit_code": 0
    },
    {
      "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done",
      "exit_code": 0
    }
  ],
  "criteria": {
    "multi-stack composition mode (node+go) so a polyglot repo needn't hand-merge": "onboard_gen_dockerfile splits <stack> on '+', renders a stack layer per named stack (onboarding/onboard-lib.sh); test 'gen_dockerfile node+go emits the node/go guidance' + composed-base note",
    "general multi-stack, order preserved": "components validated node|go|none, order preserved; tests node+go emits node-first, go+node emits go-first",
    "invalid combinations rejected": "unknown/repeated component and none-with-a-stack all exit 2; tests none+node/node+node/node+rust rejection cases",
    "template updated (onboarding/templates/Dockerfile.tmpl)": "static stack-layer block replaced by {{STACK_LAYER}} marker the function fills; no unresolved placeholders test",
    "single-stack behaviour preserved": "node/go/none per-stack-guidance tests still green"
  },
  "summary": "onboard.sh dockerfile now composes multiple stacks (e.g. node+go) instead of picking one, closing the polyglot-repo hand-merge gap.",
  "blockers": []
}
**close-report** for #8 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 8, "status": "success", "commits": [ "d33b86b" ], "changed_files": [ "STATUS.md", "onboarding/onboard-lib.sh", "onboarding/onboard.sh", "onboarding/templates/Dockerfile.tmpl", "onboarding/tests/onboard-lib-test.sh" ], "tests": [ { "command": "bash onboarding/tests/onboard-lib-test.sh", "exit_code": 0 }, { "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done", "exit_code": 0 } ], "criteria": { "multi-stack composition mode (node+go) so a polyglot repo needn't hand-merge": "onboard_gen_dockerfile splits <stack> on '+', renders a stack layer per named stack (onboarding/onboard-lib.sh); test 'gen_dockerfile node+go emits the node/go guidance' + composed-base note", "general multi-stack, order preserved": "components validated node|go|none, order preserved; tests node+go emits node-first, go+node emits go-first", "invalid combinations rejected": "unknown/repeated component and none-with-a-stack all exit 2; tests none+node/node+node/node+rust rejection cases", "template updated (onboarding/templates/Dockerfile.tmpl)": "static stack-layer block replaced by {{STACK_LAYER}} marker the function fills; no unresolved placeholders test", "single-stack behaviour preserved": "node/go/none per-stack-guidance tests still green" }, "summary": "onboard.sh dockerfile now composes multiple stacks (e.g. node+go) instead of picking one, closing the polyglot-repo hand-merge gap.", "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.

Reference
Matou/dev-factory#8
No description provided.