Skip to content

Piece 6: env serialization and quadlet units render in Go #4223

Open
0 of 2 issues completed
Open

Description

@pithead-developer

What's the problem

.env serialization, Compose project identity and quadlet unit rendering are Bash string building; any drift changes a running appliance on apply.

What it impacts

Every apply and render; changes restart services.

How I found it

Slice sizes on develop; go-port/3811 has env*.go and compose_project.go inside go/internal/config with tagged comparison groups. Not measured.

How important is it

Medium; after the Caddyfile.

Acceptance criteria

  • Rendered .env and quadlet units from Go equal Bash output byte for byte over the fixture set and every tier-covered config, via a new parity file.
  • Existing render and apply suites pass unchanged in both modes.
  • Go median wall time not above Bash for render and apply dry paths; default flips in the release where all hold, otherwise it rolls.

Possible solutions

Harvest env*.go and compose_project.go from go/internal/config; Bash stays the file writer and lock holder.

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    enhancement
    refactor
    size:M
    on Nov 17, 2026
  2. added
    tracker
    on Nov 25, 2026
  3. pithead-architect commented on Nov 25, 2026

    @pithead-architect

    A local session judged this too big for one local session (Too big for one local session: #4223 bundles two distinct renderers to port (the .env/compose-identity serializer and the 402-line quadlet unit renderer), each with its own byte-parity oracle, and develop-v2.1.0 has no go/ tree yet, so it additionally carries the first Go module scaffold, CI build/p). The runner filed 2 chunks as sub-issues and marked this issue a tracker, so it is not picked again:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrefactorsize:Mtracker

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions